LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tightvnc boot load (https://www.linuxquestions.org/questions/linux-newbie-8/tightvnc-boot-load-524939/)

Seawolf1 02-02-2007 05:51 AM

tightvnc boot load
 
I recently posted to this site and had hardware issues to resolve with a lost hard drive and a corrupt boot loader. I'm back on line now. On the prior post I loaded realvnc, found some difficulties, removed it and have now loaded tightvnc. I must login to the redhat server to enable vnc access from my remote machine. I would like to have tightvnc start at boot.

I see all of the files installed thru rpm -ql tightvnc-server and all look good. I have changed the /etc/sysconfig/vncservers to include the line VNCSERVERS="1:myloginname". After a reboot, it still will not start automatically during boot.

I've also tried, after a login, to use the following commands:
chkconfig vncserver on
/etc/init.d/vncserver start
...and both start fine. After yet another reboot, the vnc service will not start.

From the server gui I can see the vncserver is started with Xvnc running on pid 4906.

I think I'm missing something minor, but have failed to put my fingers on it. Any help would be appreciated.

jsutton 02-02-2007 01:28 PM

Well, this is a total hack (not the right way to do it, but it should work), but you could simply add '/etc/init.d/vncserver start' to your rc.local file (it's the last startup script that runs after everything else has loaded).

Seawolf1 02-05-2007 05:26 AM

I tried that and ended up with the HAL daemon locking up on the initial load. I had to run a rescue and edit the file for it to work again. Any other ideas would be appreciated.

thank you


All times are GMT -5. The time now is 07:04 AM.