docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
No protocol specified
Unable to init server: Could not connect: Connection refused
Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize kvm: Permission denied
Originally created by @Cristuker on GitHub (Jun 6, 2020).
I run
```
sudo apt install x11-xserver-utils
```
and
```
sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager
```
```bash
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
No protocol specified
Unable to init server: Could not connect: Connection refused
Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize kvm: Permission denied
```
Sorry, i try other commands and read the readme whit attention this issue is unecessary, my mistake, sorry.
@Cristuker commented on GitHub (Jun 6, 2020):
Sorry, i try other commands and read the readme whit attention this issue is unecessary, my mistake, sorry.
@proequilibrium commented on GitHub (Jul 21, 2020):
I had same issue, after another which was solved by https://github.com/sickcodes/Docker-OSX troubleshoots.
Finaly I used the first docker command and it works. docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
@proequilibrium commented on GitHub (Jul 21, 2020):
I had same issue, after another which was solved by https://github.com/sickcodes/Docker-OSX troubleshoots.
Finaly I used the first docker command and it works.
`docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx`
Finaly I used the first docker command and it works.
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
Thanks for letting us know :)
@sickcodes commented on GitHub (Jul 25, 2020):
> I had same issue, after another which was solved by https://github.com/sickcodes/Docker-OSX troubleshoots.
>
> Finaly I used the first docker command and it works.
>
> `docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx`
Thanks for letting us know :)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Cristuker on GitHub (Jun 6, 2020).
I run
and
@sickcodes commented on GitHub (Jun 6, 2020):
Please post output:
Try this command:
docker run --privileged --net host --cap-add=ALL -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev:/dev -v /lib/modules:/lib/modules sickcodes/docker-osx@Cristuker commented on GitHub (Jun 6, 2020):
Sorry, i try other commands and read the readme whit attention this issue is unecessary, my mistake, sorry.
@sickcodes commented on GitHub (Jun 6, 2020):
Thanks mate :) which command worked for you?
@proequilibrium commented on GitHub (Jul 21, 2020):
I had same issue, after another which was solved by https://github.com/sickcodes/Docker-OSX troubleshoots.
Finaly I used the first docker command and it works.
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx@sickcodes commented on GitHub (Jul 25, 2020):
Thanks for letting us know :)