Now that Systemd is the approved startup mechanism in 13.1, can anyone advise on (or point to) a sample script to place in /etc/systemd/user/?
I would like a VirtualBox VM to run without having to login to start it (either manually or via Autostart script folder)
Thank you for the pointer…
However, not being all that bright, I’m going to need some more help! For example, you say:
Does that mean that if I installed VirtualBox from openSUSE, there will be functions that are not included when I install from the Oracle site?
Secondly, I have downloaded (but not installed) your package as mentioned below:
You can also search for systemd-vboxinit in the repos.
And again, looking at the scripts and readme files, I recognise that I’m out of my depth! Do you have any step-by-step instructions?
I had hopped to learn gently by trying some of the given commands. For example the manual (./usr/share/man/man1/systemd-vboxinit.1.gz) says under the heading “USING VBOXMAGE”:
VBOXManage list vms
On my system (SUSE 13.1, VirtualBox 4.3.16) I get a null return? No error message but also no report of my functioning VM either?
I know that you were trying to be helpful, and now I am peppering you with more questions. But any advice will be most welcome.
Okay, Jason, I understan that. And I am sure that it is doing its stuff and starting the management infrastructure to enable a VM to run…
myNewRouter:~ # cat /var/log/boot.log | grep VirtualBox
Starting LSB: VirtualBox Linux kernel module...
OK ] Started LSB: VirtualBox Linux kernel module.
Starting LSB: VirtualBox watchdog daemon...
Starting LSB: VirtualBox autostart service...
Starting LSB: VirtualBox web service API...
OK ] Started LSB: VirtualBox watchdog daemon.
OK ] Started LSB: VirtualBox autostart service.
OK ] Started LSB: VirtualBox web service API.
But what I can’t understand is how do I flag/command my working VM to start before I log in?
For example, at the moment, I have the following script (which works) but of course I need to log in as “myUser” to invoke it.