using xinetd to start Xvnc

William Hooper whooper@freeshell.org
Sat Apr 19 00:46:00 2003


Christian J. Miller said:
> Hi Bjvrn,
>
> Your idea to simply fire-up a vncserver from my desktop by running
> "vncserver :22" (for example) is a very good idea.  When I tried, I only
> got as far as X starting -- no desktop.  I investigated the log and I
> saw a line indicating that he thinks I already had a session started --
> gnome-session in this case, and therefore a desktop never got going.
> Mysteriously, there was no lock (/tmp/.X22-lock) and there was no socket
> for the display (/tmp/.X11-unix/X22) so, something is a bit out of
> sequence with this simple procedure -- I suspect that somehow the
> display number is getting lost.
>
> Chris.

Two different usages of the word "session".  The VNC server "session"
started, but the Gnome "session" didn't.  Gnome has issues with the same
user running multiple sessions.  There are some workarounds (in the list
archives) involving the session-manager (I think?).  Depending on your
setup you could start the first (xinetd initiated) VNC session with a
different WM, then start your second (vncserver initiated) with Gnome.  Or
use a different WM on your second session.
-- 
William Hooper