Guest fat_larry Posted November 22, 2002 Report Share Posted November 22, 2002 OK so I've got the VNC service running on boot, but then I always have to type "vncserver" and enter a password. Is there any way I can automate this process? Quote Link to comment Share on other sites More sharing options...
MottS Posted November 25, 2002 Report Share Posted November 25, 2002 You have to edit /etc/sysconfig/vncserver, uncomment the last line and adjust it to your profile. For example, if your user account is XYZ and you automatically login to a graphical interface (therefore the :0), the last line of the file should look like that: VNCSERVERS="1:XYZ" Now you have to run 'vncpasswd' while being the XYZ user and type a password (this is the one you'll have to use when you'll remotly connect to your X session). Don't forget to open port 5801 and 5901 in your firewall if you use one and to turn the vncserver service on via the MCC. Now reboot and try to connect to your second X session (:1) with Konq or Mozilla using http://localhost:5801/ . Hope this help MOttS Quote Link to comment Share on other sites More sharing options...
Guest smsirag Posted February 11, 2003 Report Share Posted February 11, 2003 How do you get it to run at boot in the first place? Quote Link to comment Share on other sites More sharing options...
virtualspy Posted March 13, 2003 Report Share Posted March 13, 2003 Yes, how do you make it start on boot ...and especially how can it be sustained while a user logs off? I'm not sure it can be done because Linux supports multiple desktop environments. It would be invaluable once I start adding a bunch of Linux computers to the network. Quote Link to comment Share on other sites More sharing options...
Guest fubar::chi Posted September 20, 2003 Report Share Posted September 20, 2003 /etc/init.d/vncserver use drakxservices to make it start at boot time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.