VirtualBox wont start on Tumbleweed

I have installed VirtualBox 7.1.8-1.1 from the standard repos running TW/KDE on Wayland and when trying to start VirtualBox either from menu or konsole it says I am unable to start VirtualBox because I am not a member of vboxusers group but I am

cat /etc/group | grep vboxusers
vboxusers:x:454:stuart

anyone else seeing this?

Show

id -a

id -a
uid=1000(stuart) gid=1000(stuart) groups=1000(stuart),100(users) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

You see that there is no group vboxusers, do not you?

If I go into Yast listing the groups shows the vboxusers exists and displaying my user it shows I am a member of vboxusers group! So I dont understand why this anomaly? I have logged off and on after adding in Yast so it should work!

Try rebooting. Does it help?

Yes that’s fixed. I always understood that all that was needed was a logoff/login after adding the group but at least in this case the reboot did it. Any ideas why?

Stuart

Educated guess is that today desktop environments use systemd user instance to start programs and this instance is not terminated immediately (or not at all if session was not properly closed which is often the case). So, when you login again you continue to use the original systemd instance with old credentials.

Thanks, in future if logoff/on does not do the trick I’ll reboot!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.