Hi,
I'm going away for 8 days and need to ensure that if my computer reboots that Virtualbox restarts one of my VMs as it runs my OwnCloud server. The host is Ubuntu 15.04 and I need it start a vm running Ubuntu Server 14.04.
My initial thought was to use automatic login and then set the screen to lock automatically. As one of my startup applications I have my VM supposedly start at log in however that never starts. I got the command from right clicking on the VM on virtualbox and doing send to desktop then copying the start command into the command line in startup applications. The command looks like this:
If I run this code in a terminal it runs the VM so there isn't an issue with the command itself.
Also the screen lock doesn't work probably because it's now outdated. The command for it is:
All that happens when the computer starts is the computer logs in and throws up a dialog box asking for the password to unlock the login keyring. I can open applications such as chrome and run them and use the computer mostly for anything that doesn't require a password.
So all in all not at all a successful attempt.
Am I even going about this the right way and if so how do I resolve my existing issues and if I'm not then what is the best way to approach this.
I'm going away for 8 days and need to ensure that if my computer reboots that Virtualbox restarts one of my VMs as it runs my OwnCloud server. The host is Ubuntu 15.04 and I need it start a vm running Ubuntu Server 14.04.
My initial thought was to use automatic login and then set the screen to lock automatically. As one of my startup applications I have my VM supposedly start at log in however that never starts. I got the command from right clicking on the VM on virtualbox and doing send to desktop then copying the start command into the command line in startup applications. The command looks like this:
Code:
/usr/lib/virtualbox/VirtualBox --comment "Ubuntu Server 14.04" --startvm "9a2cf95e-0380-4283-a9b6-242xxxxxx"
Also the screen lock doesn't work probably because it's now outdated. The command for it is:
Code:
gnome-screensaver-command -l
So all in all not at all a successful attempt.
Am I even going about this the right way and if so how do I resolve my existing issues and if I'm not then what is the best way to approach this.