x11vnc without X

Rashkae ubuntu at tigershaunt.com
Sat Jul 24 21:10:33 UTC 2010

Tim Henderson wrote:
> I have a workstation setup in a remote location.  I have it set to a 
> runlevel which does not start X or gdm (customization).  Keep in mind 
> this is not single user, this is multi-user.
> I am trying to vnc into the workstation while it is in non-X multi-user 
> mode, however the connection keep getting dropped.  The x11vncserver 
> command I am using is below:
> /usr/bin/x11vnc -usepw -display :0 -create
> (and other variants, this is basic)
> However when a connection comes in the errors are as follows:

I'm not really sure why you would want to run X on a local display and 
attach vnc to it if you don't need to run X display on the server at 
all.  If you are looking for a remote login, you could use something 
like tightvncserver.  The problem here, though, is you have to either 
run the server as the user you want to log in graphically, or run gdm 
and have tightvncserver 'query' the gdm server to for vnc clients to log 
in.  (Note that running gdm doesn't mean you have to run X server on the 
local display.)

More information about the ubuntu-users mailing list