Hi
I set up vnc on a pc under mandrake 8.2
my /etc/rc.d/rc.local file contains the following
(1 2 3 and 4 are just line numbers. they are not present in the file)
#
# to start and stop vncserver
#
case "$1" in
start )
#clean lock files
rm -f -r /tmp/.X*
#start vncserver
echo -n "Starting vnc: "
su - root -c "vncserver :1"
echo
sleep 5
su - philippe -c "vncserver :2"
echo
sleep 5
su - rasika -c "vncserver :3"
echo
sleep 5
1 su - testtest -c "vncserver :4"
2 echo
3 sleep 5
touch /var/lock/subsys/vncserver
;;
stop )
# stop vncserver
echo -n "Shutting down vnc: "
su - root -c "vncserver -kill :1"
su - philippe -c "vncserver -kill :2"
su - rasika -c "vncserver -kill :3"
4 su - testtest -c "vncserver -kill :4"
echo "done"
rm -f /var/lock/subsys/vncserver
;;
*)
echo "Usage: named {start|stop}"
exit 1
esac
exit 0
when the lines 1 to 4 are removed everything is fine I can reach runlevel 5
and I can reach the first 3 accounts using vnc from another machine
when I add the llines 1 to 4 I cannot reach runlevel 5, I stay at run
level 3
all four instances of vnc server are created ( I do not have problem
accessing them from another machine with vnc)
but I get the following message
INIT: switching to runlevel 3
INIT: sending processes the TERM signal
starting hpoj: [OK]
if i press return I get the prompt to enter login.
I can log in with no problem but I cannot reach level 5
Can anyone tell me what is wrong?
Thanks in advance
Philippe Rousselot
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------