vncserver script does not work properly with boottime ONLY

Tony Leding tleding "at" cisco.com
Mon Aug 11 17:37:02 2008


Hello VNC Experts,

I have VNC running on a RHEL4 server as a service.  If I execute the /etc/init.d/vncserver command after boot time, then all is good.  However, if I try to have this work at boottime via the rc.d scripts, then VNC loads but all non-root user sessions do not display properly.  

This obviously feels like a permissions issue but if so, then I would expect it to have failure parity between boottime and runtime but this issue ONLY occurs with a boottime start of VNC.

I checked the ps -ef for both boottime and runtime events - the Xvnc processes are identical in terms of their load characteristics.  The only thing in the VNC session log is that the VNC server refused the connection due to the MAGIC-NUMBER being either incorrect or invalid.  I searched for a couple hours on the Net and found nothing useful.

My belief is that this is a combination of a permissions WITH what happens at boottime - I am wondering what is different between the bootime executon of the /etc/init.d/vncserver script and the runtime execution of the same script?

any help is greatly appreciated - thanks.



-- 

***********************************************************
*                      |                                  *
*                      | Tony Leding                      *
*     |         |      | Software Engineer, Cisco Systems *
*    :|:       :|:     | CMTS-BU / Cable System Test      *
*   :|||:     :|||:    | Office: 408-525-2995             *
* .:|||||:...:|||||:.  | Mobile: 925-708-9757             *
*                      | E-mail: tleding "at" cisco.com        *
*   Cisco Systems      |                                  *
***********************************************************