DeeJay
Group: Members
Posts: 24
Joined: April 2005 |
|
Posted: May 06 2005,21:08 |
|
Quote (ReTeP @ May 06 2005,08: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. |
"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.
|