automatic desktop

B. Scott Smith scott "at" smithdomain.com
Wed Nov 1 14:34:00 2006


David DJOUBOUI wrote:
> Hi everybody there
>
> Im using vnc on a red hat enterprise Linux 4 but Im wondering if theres
> some mean to make a desktop automatically available after upon system
> restart, I administer my server from a remote location and will not like to
> be oblige to logon at server console to start a vnc server session whenever
> I restart my server
>
> Please I need a help from you
>   

Are you using the stock VNC package that came with Red Hat?
If so, you will find a file /etc/sysconfig/vncservers. Simply add the 
user and display you want to be started at boot-up.
Make sure you have enabled the /etc/init.d/vncserver script as a service:

    chkconfig --add vncserver
    chkconfig --level 35 vncserver on