Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server with Xubuntu 11.10 Desktop installed, and x11vnc. When on login screen I want x11vnc to start and to take some settings:

Automatically set defined password

Automatically accept conncetions, but ask for a password

Automatically start this script on loading the system, not the user profile.

How can I do this.

share|improve this question

Assuming that you can create a script that does the operations you would like to do at startup you can then:
1. Create the script (e.g.
2. Copy the script to /etc/init.d
3. Run the following commands:
sudo update-rc.d defaults
sudo chmod +x /etc/init.d/

The script should now run on startup.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.