start vncserver during boot
Corne Beerse
cbeerse "at" gmail.com
Fri Mar 9 13:51:03 2007
john znuck wrote:
>I can start vncserver fr a shell without having to login. I thought this means I can start it from boot. However, when I try to do it fr a script in /etc/init.d, the system prompts for login and boot waits there. How to overcome this?
>
>
There are 2 different approaches to start vnc at unix boot.
The first one is to start one or more static vnc-sessions. You can do
this by hand but the better way to do this is to configure your desktop
environment in such a way that Xvnc (the binary started from vncserver)
as a X11-server, just like X.org or Xfree86. See your cde, kde, gnome or
other desktop environment configuration on how to do this. I've done it
in the past (a couple of years ago) for both HP-UX (cde) and Linux
(gnome and kde) and I've posted results on this list so check the archives.
The second one is to start vnc-sessions from inet (or xinet) at the
moment users connect to the machine. These sessions are closed after you
disconnect from them, so there are no stale vnc-sessions hanging around.
Recards
CBee