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
upstart - HOME variable is not set - Ask Ubuntu Quote from POSIX specification: HOME The system shall initialize this variable at the time of login to be a pathname of the user's home directory See <pwd h> You can use little hack, to get home folder of user myuser in your script It is better to use script below, because usually there can be other HOME_* folders Such as JAVA_HOME etc