Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-08-2008, 08:09 PM   #1
Registered: Jun 2008
Posts: 111

Rep: Reputation: 15

I'm running ubuntu 8.04 and x11vnc 0.9.3. I'm having trouble getting it running.

When I run "x11vnc" with no arguments, it tries to open :0 but fails:
08/12/2008 20:51:56 *** XOpenDisplay failed (:0)
*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
When I run "x11vnc -create" the server seems to start properly.
The VNC desktop is:      desktop:0
However, when I connect to it with the windows realvnc viewer I get this server error:
08/12/2008 20:54:22 Got connection from client
08/12/2008 20:54:22   other clients:
08/12/2008 20:54:22 wait_for_client: got client
08/12/2008 20:54:22 wait_for_client: running: env X11VNC_SKIP_DISPLAY='' /bin/sh /tmp/x11vnc-find_display.CgbF4Q
08/12/2008 20:54:23 wait_for_client: find display cmd failed
08/12/2008 20:54:23 wait_for_client: FINDCREATEDISPLAY cmd: /bin/sh /tmp/x11vnc-find_display.CgbF4Q Xvfb
trying N=20 ...
08/12/2008 20:54:23 wait_for_client: read failed: /bin/sh /tmp/x11vnc-find_display.CgbF4Q Xvfb
08/12/2008 20:54:23 fgets: Bad file descriptor
The viewer gives this error:
read: Connection reset by peer (10054)
Do you wish to attempt to reconnect to
I'm not sure why this happens. I also tried starting the server with sudo- it gives the same error.

I'm pleased that the -listen option works, that's why I switched to x11vnc in the first place. vnc4server doesn't have the ability to listen on a specific interface.
Old 12-09-2008, 09:56 AM   #2
Registered: Nov 2006
Distribution: Lots of Debian
Posts: 165

Rep: Reputation: 32
x11vnc is to attach a user's already running x session to a vnc server. Is the user currently logged into an X session?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot control x11vnc kornerr Slackware 5 07-22-2008 10:02 PM
x11vnc not working novell1 SUSE / openSUSE 1 03-01-2008 03:29 PM
help with x11vnc gtludwig Linux - Networking 5 10-08-2006 04:53 PM
Trying to use x11vnc? Snump Mandriva 12 04-12-2006 02:57 AM
x11vnc error mediaboy Linux - Software 1 06-24-2004 12:01 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration