I have installed virtualbox from the community repository recently on my OpenSuSE 13.1 GNOME 64 bit home desktop. It worked very well on the first day. Subsequently I disabled the services from YAST->Services Manager. There were two services one for virtualbox and other for guest additions. After 3 days I tried enabling it again, and to my surprise I find both the services are missing from service manager.
When I try starting the virtualbox-qt application it fails to launch the appliance window and asks me to run vboxdrv setup. I tried reinstalling the application. But did not help. Kindly advise.
vboxdrv is an old style sysvinit script, and there was a bug in YaST’s Service Manager module that it didn’t show those unless they were already started.
But vbroxdrv is shown here with an updated system, so…
I have installed all the available updates. When I try running this service from command line as you indicated, I get the following message.
anuganesh-desktop1:/home/ganeshp # systemctl enable vboxdrv.service
vboxdrv.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig vboxdrv on
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
Following are the installed packages of virtualbox.
It has been enabled.
The rest you can ignore, that’s a “glitch” in systemd’s legacy sysvinit script support.
You can check if it really is enabled with “chkconfig vboxdrv” or YaST->System->Service Manager.
“systemctl status vboxdrv.service” should show if it is active, too.
Following are the installed packages of virtualbox.
You could uninstall those.
vboxgtk doesn’t work 100% anyway with recent VirtualBox versions, f.e. you can’t even create a VM.
And virtualbox-qt is the official GUI anyway.
Thanks a ton again for your detailed reply. I have uninstalled the unwanted packages as indicated. You were right. The service was indeed present internally and once the service started virtualbox started working fine. I still dont find this service in Yast->Service Manager though. Anyway, it does not matter anymore…