Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

Can't start vncserver when system is rebooted


Can't start vncserver when system is rebooted


I am running Tru64 5.1B-4.
I can start vncserver manually at the ksh shell.
But when I reboot the server, the script /sbin/rc3.d/S98VNC isn't executed.

Here is the content of the script:
/usr/local/bin/vncserver :1

Then I changed the script to the following example, but not sure it will be ok this time.
export DISPLAY=dcsora01:1
xhost +
/usr/local/bin/vncserver :1 > /var/adm/vncserver.log 2>&1

The permission of the file is:
# pwd
# ls -l
-rwxr-xr-x 1 root system 107 Mar 14 10:33

# cd /sbin/rc3.d
# ls -l *vnc*
lrwxrwxrwx 1 root bin 22 Feb 26 09:10 S85vnc -> ../init.d/

Your suggestion is very much appreciated.