Installing and running VirtualBox 4.3.6-91406 on Slackware 14
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installing and running VirtualBox 4.3.6-91406 on Slackware 14
I've been trying to get VirtualBox installed through the CLI on my Slackware box. I ran the VirtualBox-4.3.6-91406-Linux_x86.run file and it successfully installed. Now when I try to run it, it gives me an error stating:
The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.10.17-smp) or it failed to load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
Failed to open the X11 display!
This is my first time doing anything like this. Is there anything I'm missing or something else that I need to install?
I think it is something like this:
cd /etc/rc.d
su (press enter and type the password for root)
./rc.vboxdrv setup (wait until the modules are built)
./rc.vboxdrv start
enjoy your VM =]
IIRC the Vboxmodule is compiled during installation. It should also load when you boot up your machine. The message about "failed to open display" refers to the graphical user interface which can be started using "startx" from Runlevel 3 (the default in Slackware 14).
I'm sorta doing this from memory, but I've done it umpteen times, so I shan't be leading you too far off path, but a reboot is required in order to load the kernel module, plus you'll have to edit /etc/group and add users to vboxusers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.