pierlon / scrcpy-docker

Easily run scrcpy with Docker
MIT License
141 stars 33 forks source link

Could not initialize SDL: No available video device #10

Closed bluespacezero closed 6 years ago

bluespacezero commented 6 years ago

/ # scrcpy /usr/local/share/scrcpy/scrcpy-server....shed. 2.3 MB/s (18802 bytes in 0.008s) CRITICAL: Could not initialize SDL: No available video device

I did run xhost + local:docker before run the image...why still resulting like that?

bluespacezero commented 6 years ago

/ # env | grep DISPLAY DISPLAY=:0 / #

pierlon commented 6 years ago

Duplicate of #5.

Does the command xhost + local:docker return something similar to: non-network local connections being added to access control list?

Also, what OS are you using?

bluespacezero commented 6 years ago

just as you said, but now it works well on my ubuntu 18.10..but i still don't konw why