x0vncserver-problemForum: Networking Topic: x0vncserver-problem started by: ReTeP Posted by ReTeP on May 06 2005,12:16
I've the following problem:I make a connection through SSH and then I type x0vncserver -securitytypes=none& I get the following error: x0vncserver: unable to open display "" ~ImageCleanup called When I type it on the console I runs well. Furthermore, I want to autostart it but how and where can I do this? Posted by DeeJay on May 06 2005,21:08
"x0vncserver - inefficient VNC server which continuously polls an X display" OK. So x0vncserver is an X-Windows CLIENT program. Where is the X-Windows SERVER on which the display you want to poll is presented? Presumably defined by the DISPLAY environment variable. What output do you get from the ssh shell level if you enter $ echo $DISPLAY [return] I suspect it will be empty, so your X client (x0vncserver) won't know what to try to connect to. [Which is what it is telling you - unable to open display "" ] Either make the ssh connection set up a tunnel for the X-windows stuff [you'll need a manual for your ssh client to do that], or set the DISPLAY variable to point to the server. (Only you know where it is, but the command will be something like $ export DISPLAY 192.168.0.1) or run x0vncserver -h to see if there is a command line option to set the display as you start the program. Posted by ReTeP on May 11 2005,15:20
I typed echo $DISPLAY on the main-console and it echos :0.0And x0vncserver -securitytypes=none -display :0 did the trick for me in a SSH-window. PS I didn't tried it yet but i think this solves also the vncserver auto-start problem |