Ask Your Question

Revision history [back]

Virtualbox error (Qt WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

When I attempt to run virtulbox on the terminal the error message below pops up, I've updated the Fedora and Virtualbox kernel so theyre up to date and have reisntalled both virtualbox and kernels to no avail.

I than read up a bti more on XDG_RUNTIME_DIR and found it to be a security setting for non essentil user installed programs that can only be accessed by that user.

I also added the line " Defaults env_keep += "XDG_RUNTIME_DIR" in etc/ sudoers in an attempt to divert the warning but to no avail, I am new to Fedora so would appricaite any help i can get.

Thanks!

WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.18.16-300.fc29.x86_64) or it failed to load. Please recompile the kernel module and install it by

       sudo /sbin/vboxconfig

     You will not be able to start VMs until this problem is fixed.

Qt WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' Qt WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'