How do I start x11vnc via bash script on startup, not login?
9,584
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. runX11vnc.sh)
2. Copy the script to /etc/init.d
3. Run the following commands:
sudo update-rc.d runX11vnc.sh defaults
sudo chmod +x /etc/init.d/runX11vnc.sh
The script should now run on startup.
Related videos on Youtube
![Emil Avramov](https://i.stack.imgur.com/61buz.jpg?s=256&g=1)
Author by
Emil Avramov
Updated on September 18, 2022Comments
-
Emil Avramov almost 2 years
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.