Nice to find an article talking about how to deal with vnc4server on Xubuntu, especially for auto startup. With my imagination, now it's for Ubuntu use as well;>
Making vnc4server start automatically
You can make your vnc4server start automatically with a simple one-line script.
Paste the following into the script editing the resolution to your liking:
Now save the file and exit nano. You'll also need to make the file an executable, do so with the following command:
Finally, to have this script run automatically, simply add it to your startup group:
To remove it from your startup list, do this:
For Gnome user, better do this:
The above doesn't work on my Debian / Xfce system.
ReplyDeleteCan you suggest how I can get it to work on Debian?
The steps are quite straight forward. Can you describe what you have done on Debian? Try install Gnome first to see if problem is due to Xfce.
ReplyDeletewill this work on kde as well
ReplyDeleteNothing can explain until you try.
ReplyDeleteFor Kde, you may check if the folder /etc/init.d does exists and then add a new startup script file for vnc service like the one I mentioned in startvnc.
The most important thing is to update its runlevel so that the file will be run during bootup process.