startup - How to run scripts on start up? - Ask Ubuntu The upstart system will execute all scripts from which it finds a configuration in directory etc init These scripts will run during system startup (or in response to certain events, e g , a shutdown request) and so are the place to run commands that do not interact with the user; all servers are started using this mechanism
How to setup x11vnc to access with graphical login screen? Can anyone give me step-by-step instructions on how to configure x11vnc to start as a service (prior to user login) so that when connecting with VNC I will be presented with a graphical login screen?
upstart - How to start and stop a service? - Ask Ubuntu which service do you wish to start stop restart? there is at least a way to do it in several services but I think you should be more specific on your needs I don't think there is a way to start stop restart all the services at the same time
16. 04 - Start SSH automatically on boot - Ask Ubuntu +1 This is the correct answer Ubuntu 16 04 started using systemd The command in this answer is using systemd to start SSH on reboot The other threads the OP linked only applied to upstart and not systemd or didn't apply to their problem at all
How to set XDG_RUNTIME_DIR - Ask Ubuntu $XDG_RUNTIME_DIR is not well set on my computer and this causes upstart to write PID files to my home folder May I know what it should be and where to set it?