How do I start VNC Server on boot?
Posted
by
broiyan
on Ask Ubuntu
See other posts from Ask Ubuntu
or by broiyan
Published on 2012-04-11T09:56:29Z
Indexed on
2012/04/11
11:41 UTC
Read the original article
Hit count: 382
autostart
How do I create a system-wide autostart file? This would be on a cloud server running the desktop version of Maverick.
I logged in as root and created an autostart file using System/Preferences/StartupApplications
but it ended up in /root/.config/autostart
and did not execute (as far as I can tell) upon rebooting. The autostart file is to invoke a bash script that invokes the VNC server.
I copied the .desktop autostart file from /root/.config/autostart
to /etc/xdg/autostart
and rebooted. This did not seem to make a difference.
© Ask Ubuntu or respective owner