I would like to run x11vnc (or another VNC server) on my desktop, but I'm unable to find a way to get it to start before any users log in. Back when I was using vanilla Ubuntu 10.10 Vino did this by default. However, I can't find a way to do it now in Xubuntu.
I usually suggest an alternate VNC server, x11vncserver or FreeNX.
This assumes that VNC is setup and run-able:
Copy the code block below into
Make the script executable with
Note: you may need to use
To start the server without rebooting, run
Finally, connect to your server with a VNC client on port 590X, where X is the value of "DISPLAY" in the vncserver script
What happens when you try: (?)
.. and add this in Autostarted Apps, to start vino server:
Start a VNC Server on Ubuntu on Boot
The vino server starts and you should be able to attach to it. You can use ssh to create a tunnel for VNC if you need to secure it (I used PUTTY and that worked very well). You can also enable the firewall and just allow traffic from a specific address. This solution has worked for me in over 20 Ubuntu boxes.