Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: x0vncserver-problem< Next Oldest | Next Newest >
ReTeP Offline





Group: Members
Posts: 38
Joined: April 2005
Posted: May 06 2005,12:16 QUOTE

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?


--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using a native installed xDSL V0.5 on a modified xbox
   => xDSL is an DSL-clone and it's tweaked for a modified xbox.              
         xDSL is based on Damn Small Linux 2.1RC2
Back to top
Profile PM 
DeeJay Offline





Group: Members
Posts: 24
Joined: April 2005
Posted: May 06 2005,21:08 QUOTE

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.
Back to top
Profile PM 
ReTeP Offline





Group: Members
Posts: 38
Joined: April 2005
Posted: May 11 2005,15:20 QUOTE

I typed echo $DISPLAY on the main-console and it echos :0.0
And 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


--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using a native installed xDSL V0.5 on a modified xbox
   => xDSL is an DSL-clone and it's tweaked for a modified xbox.              
         xDSL is based on Damn Small Linux 2.1RC2
Back to top
Profile PM 
2 replies since May 06 2005,12:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: x0vncserver-problem

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code