Open guoguoguilai opened 3 years ago
Are you root? Do you have a desktop running?
I believe you're missing from the Docker group
Are you root? Do you have a desktop running?
I believe you're missing from the Docker group
Yes, I am root. But I don't have a desktop running. Should I install gnome in my DO?
After installing gnome, I still got no luck. I am running on a clean Digital Ocean Droplet. Is there any tutorial on How to Run Docker-OSX On Digital Ocean? Or could anyone share a Custom Images of Droplets?
This script is for Digital Ocean, CPU Optimized servers: https://github.com/sickcodes/Docker-OSX/blob/master/tests/test.sh
This script is for Digital Ocean, CPU Optimized servers: https://github.com/sickcodes/Docker-OSX/blob/master/tests/test.sh
Thank you. I will try it out. Can I use SHARED CPU server to run this script?
I don't think it works, but I know the CPU optimized servers do :)
I also got this error today, will figure out if I did anything wrong
I am getting this error as well running locally on my machine, Manjaro with KDE desktop.
In my case I was doing a silly mistake, I wasn't running the command as root, so just sudo su
fixed it. Just writing it in case somebody has the same problem.
I am running with sudo su
, but still I get gtk initialization failed
.
Using Debian 10 with OpenBox desktop.
It seems like it was the xhost +
problem after all. I have set it but apparently only after having fiddled too much with the DISPLAY
setting. My X11 was running on display :1
; so xhost +
then running the command with -e "DISPLAY=:1"
just works. What threw me off was that omitting the -e "DISPLAY=..."
silences the error Client cannot connect
, and does not issue an error about an unset DISPLAY
variable. But it does fail if it is not set.
Yeah I have it set so it will select :0 by default, if DISPLAY is unset.
Yeah I have it set so it will select :0 by default, if DISPLAY is unset.
Oh that does explain why there was no error for DISPLAY being missing. Dunno why there was no error about it trying to connect to a nonexistent display.
After doing the inital step and reboot, the output remains still the same.
I also tried other image, and got no luck.
OS related issued, please help us identify the issue by posting the output of this