6

[ubuntu] x11vnc hangs

view full story
linux-howto

http://ubuntuforums.org – Hi, I have been using ssh to connect over to my home computer from a laptop. Recently, I started using x11vnc tunelled through my ssh connection in order to have a graphic display. Everything was working great, but yesterday x11vnc started hanging and refuses to start properly. Here is the output: Code: x11vnc -once -usepw 30/01/2010 12:59:51 -usepw: found /home/user/.vnc/passwd 30/01/2010 12:59:51 x11vnc version: 0.9.3 lastmod: 2007-09-30 30/01/2010 12:59:51 30/01/2010 12:59:51 *** XOpenDisplay failed. No -display or DISPLAY. 30/01/2010 12:59:51 *** Trying ":0" in 4 seconds.  Press Ctrl-C to abort. 30/01/2010 12:59:51 *** 1 2 3 4 After the line "30/01/2010 12:59:51 *** 1 2 3 4 " displays, the process stays like that with no further update. i have to exit it with CTRL + C. Whenever I add the -display :0 to the command, here is what I get: Code: $ sudo x11vnc -once -usepw -display :0 30/01/2010 13:01:24 -usepw: found /home/user/.vnc/passwd 30/01/2010 13:01:24 x11vnc version: 0.9.3 lastmod: 2007-09-30 Again, it just hangs there until I exit it with CTRL+C. Any hint about what might solve that? thanks a lot! (HowTos)