QstandardPaths XDG_RUNTIME_DIR, defaulting to /tmp/runtime-root. Can Only Run VBox w/ sudo

Discussions related to using VirtualBox on Linux hosts.
Post Reply
M-b-82
Posts: 1
Joined: 17. May 2023, 20:58

QstandardPaths XDG_RUNTIME_DIR, defaulting to /tmp/runtime-root. Can Only Run VBox w/ sudo

Post by M-b-82 »

Linux Mint 21, Vbox 6 and Vox 7.
I only have full functionality (on either version) if I run with sudo.
I tried sudo usermod -a -G vboxusers myname
Groups command confirms vboxusers in myname
When I run with sudo I get the error posted in subject.. however it does fully work.
When I run without sudo.. vbox 6 missing tools, vbox 7 freezes and crashes.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: QstandardPaths XDG_RUNTIME_DIR, defaulting to /tmp/runtime-root. Can Only Run VBox w/ sudo

Post by scottgus1 »

M-b-82 wrote:I only have full functionality (on either version) if I run with sudo.
Sounds like a permissions problem to my non-Linux-expert mind. There's some folders that Virtualbox gets installed in that require certain permissions, though I don't know which folders they are. Look at these and see if they apply:

viewtopic.php?f=7&t=109284#p535682
viewtopic.php?f=7&t=109284#p535702
Post Reply