Ask Your Question
0

help me fix the kernel module

asked 2016-12-06 07:34:39 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

i recently installed virtual box on my fedora 25 and when i'm launching it this is what i am getting

"The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.8.10-300.fc25.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.
No protocol specified
Qt FATAL: QXcbConnection: Could not connect to display :0
Aborted (core dumped)"

then i runned as root sudo /sbin/vboxconfig and this is what i am getting :

Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /usr/lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /usr/lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /usr/lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /usr/lib/systemd/system/vboxweb-service.service.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.

please help me

edit retag flag offensive close merge delete

Comments

[root@www elias]# sudo /sbin/vboxconfig

Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /usr/lib/systemd/system/vboxdrv.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /usr/lib/systemd/system/vboxballoonctrl-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /usr/lib/systemd/system/vboxautostart-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /usr/lib/systemd/system/vboxweb-service.service. vboxdrv

eliaspitsi gravatar imageeliaspitsi ( 2016-12-06 07:39:18 -0500 )edit

nvm... reread

randomuser gravatar imagerandomuser ( 2016-12-09 08:31:12 -0500 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2016-12-07 01:13:39 -0500

ssieb gravatar image

You can't run graphical applications as root on Wayland which is the default. When you are logging in, after you select your name, but before you type the password, click on the little gear icon and change the session to "Gnome on Xorg".

About the other problem, it does say to use dmesg to find out why. What info did you find there?

edit flag offensive delete link more
0

answered 2016-12-07 14:37:41 -0500

baoboa gravatar image

i suppose you did install virtualbox through an external repo , now you have updated your kernel but the virtualbox kernel module is not up to date at now.

reboot and at the grub menu, select a previous version of your kernel, hopefully you should have the module for the previous versions.

by using sudo command without knowing what going one will break your system for sure.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-12-06 07:34:39 -0500

Seen: 420 times

Last updated: Dec 08 '16