Unable to auto start VNC server on reboot
I have red hat 5.9. I have VNC server working fine, however I'm unable to automate its start upon reboot.
I've followed the steps in this link: https://access.redhat.com/site/solutions/7238 . I can manually start the server using the command below, but can't get it to autostart upon reboot. #vncserver or #service vncserver start (vncserver is name of script in /etc/init.d/) Any advice greatly appreciated! -Richard |
So, the simple question is:
Do you mean that you tried the command Code:
chkconfig vncserver on Could you then run: Code:
chkconfig --list |
Yes, "chkconfig vncserver on" did not work.
Code:
#chkconfig --list vncserver |
Ok, all is as it should be.
Could you check your boot log (/var/log/boot.log) And see if that reports anything about your vncserver. And again, post it here ;) |
Thank you for your help on this matter.
the boot.log file is completely empty (size=0 bytes), is that normal? Anything else I can try? |
No worries about the help mate, thats what im here for ;)
About the empty file, it could be that if your system is on long enough it renamed the file to boot.log.* (* representing a number). If there are other files look inside them. But i've never experienced a RedHat system doing this. You could also check the /var/log/messages But those can be a pain to read, easiest is to restart and then look inside the latest edited messages file for a line with vnc in it :P A Second idea: Is your SELinux security on? Run (from command line/terminal) Code:
selinuxenabled && echo enabled || echo disabled To disable SELinux allowing a reboot: In the file /etc/selinux/config Replace: Code:
SELINUX=enforcing Code:
SELINUX=permissive |
All times are GMT -5. The time now is 08:41 AM. |