VNC start on SOLARIS
El Manu
linux.mandrake "at" laposte.net
Thu Nov 16 17:10:00 2006
Hello everybody,
I installed several years ago VNC on a SUN SOLARIS 5.6, and manage to
start 10 vnc session automatically on boot.
To do this, I don't remember why, but I did the following :
I just added the following lines at the end of
the /usr/dt/config/Xservers file :
:1 Local local_uid "at" console root /usr/local/vnc/Xvnc :1 -geometry
1024x768 -depth 8 -rfbwait 120000 -rfbport 5901 -fp /
usr/openwin/lib/X11/fonts/misc/,/usr/openwin/lib/X11/fonts/75dpi/ -cc 3
-co /usr/openwin/lib/X11/rgb
:2 Local local_uid "at" console root /usr/local/vnc/Xvnc :2 -geometry
1024x768 -depth 8 -rfbwait 120000 -rfbport 5902 -fp /
usr/openwin/lib/X11/fonts/misc/,/usr/openwin/lib/X11/fonts/75dpi/,/usr/openwin/lib/X11/fonts/100dpi -cc 3 -co /usr/openwin/
lib/X11/rgb
:3 Local local_uid "at" console ....bla bla bla
My problem is sometimes, one process dies, and I don't know how to
restart it without rebooting.
my questions about that :
-do you know the way to kill/restart only ONE display with this method ?
-what is the reasons for a vnc process to die ?
many thanks for your answers
I'm preparing myself to use another method : write an /etc/init.d/rc.vnc
script, that maybe will allow me to use "vncserver -kill :1" command to
kill one server (with my solution, it doesn't work)
Manuel