You are not logged in.

#1 2016-06-28 19:59:47

Luglige
Member
Registered: 2016-06-26
Posts: 17

Can't get Virtual Box to work

Hello!

Ok so I have NO errors! I have the app installed and I have all the needed dependencies:

community/libvirt 1.3.5-1
    API for controlling virtualization engines
    (openvz,kvm,qemu,virtualbox,xen,etc)
community/phpvirtualbox 5.0_5-1
    PHP/AJAX web interface for VirtualBox 4.*
community/virtualbox 5.0.22-1 [installed]
    Powerful x86 virtualization for enterprise as well as home use
community/virtualbox-ext-vnc 5.0.22-1
    VirtualBox VNC extension pack
community/virtualbox-guest-dkms 5.0.22-1
    VirtualBox Guest kernel modules sources
community/virtualbox-guest-iso 5.0.22-1
    The official VirtualBox Guest Additions ISO image
community/virtualbox-guest-modules-arch 5.0.22-1
    Virtualbox guest kernel modules for Arch Kernel
community/virtualbox-guest-utils 5.0.22-1
    VirtualBox Guest userspace utilities
community/virtualbox-guest-utils-nox 5.0.22-1
    VirtualBox Guest userspace utilities without X support
community/virtualbox-host-dkms 5.0.22-1
    VirtualBox Host kernel modules sources
community/virtualbox-host-modules-arch 5.0.22-1 [installed]
    Virtualbox host kernel modules for Arch Kernel
community/virtualbox-sdk 5.0.22-1
    VirtualBox Software Developer Kit (SDK)

But when I touch Orcale in the application list (Vanilla GNOME) it doesn't boot. I added vboxdvr to /etc/modules-load.d/virtualbox.conf and added me to the "vboxusers" wheel:

sudo gpassw -a $USER vboxusers

and ofcoure added modprobe:

sudo modprobe -a vboxdrv

No errors. Just won't load. Reinstalled everything. Nope.


~ Luglige

Offline

#2 2016-06-28 20:07:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can't get Virtual Box to work

First, why do you have the guest stuff installed? 
What is it that will not load? 
The module?  How do you know the module did not load?
The GUI Won't load?
What is the output of uname -a
What is the output of find /var/lib/dkms/vboxhost

Edit:  Oh yeah, Welcome to Arch Linux smile

Last edited by ewaller (2016-06-28 20:07:45)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2016-06-28 20:19:05

Luglige
Member
Registered: 2016-06-26
Posts: 17

Re: Can't get Virtual Box to work

ewaller wrote:

First, why do you have the guest stuff installed? 
What is it that will not load? 
The module?  How do you know the module did not load?
The GUI Won't load?
What is the output of uname -a
What is the output of find /var/lib/dkms/vboxhost

Edit:  Oh yeah, Welcome to Arch Linux smile

ewaller wrote:

First, why do you have the guest stuff installed?

I don't that's the output of "sudo pacman -Ss virtualbox" My stuff is the ones with "[installed]" next to it.

ewaller wrote:

What is it that will not load?

The GUI

ewaller wrote:

How do you know the module did not load?

I don't, the GUI won'tload

ewaller wrote:

The GUI Won't load?

Yes

ewaller wrote:

What is the output of uname -a

"Linux Luglige 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:37:08 CEST 2016 i686 GNU/Linux"

ewaller wrote:

What is the output of find /var/lib/dkms/vboxhost

"find: ‘/var/lib/dkms/vboxhost’: No such file or directory"

ewaller wrote:

Edit:  Oh yeah, Welcome to Arch Linux smile[

Thx!


~ Luglige

Offline

#4 2016-06-28 20:30:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can't get Virtual Box to work

Well that was silly of me.  I missed that that was pacman -Ss .  BTW, it would be a lot easier to read if you were to use BBCode code tags around the program output.

Check that the kernel module is loaded with lsmod
Are you trying to launch the GUI from a launcher, or are you doing it from the command line in a terminal?  We want to do it from a terminal by running VirtualBox so we can see any messages that are sent to stdout or stderr


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2016-06-28 20:36:39

Luglige
Member
Registered: 2016-06-26
Posts: 17

Re: Can't get Virtual Box to work

ewaller wrote:

Well that was silly of me.  I missed that that was pacman -Ss .  BTW, it would be a lot easier to read if you were to use BBCode code tags around the program output.

Check that the kernel module is loaded with lsmod
Are you trying to launch the GUI from a launcher, or are you doing it from the command line in a terminal?  We want to do it from a terminal by running VirtualBox so we can see any messages that are sent to stdout or stderr

Ok

ewaller wrote:

Check that the kernel module is loaded with lsmod

Module                  Size  Used by
fuse                   86016  2
cfg80211              446464  0
rfkill                 20480  3 cfg80211
input_leds             16384  0
led_class              16384  1 input_leds
joydev                 20480  0
mousedev               20480  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
gpio_ich               16384  0
ppdev                  20480  0
evdev                  20480  12
mac_hid                16384  0
dcdbas                 16384  0
dell_smm_hwmon         16384  0
coretemp               16384  0
kvm_intel             184320  0
kvm                   438272  1 kvm_intel
irqbypass              16384  1 kvm
pcspkr                 16384  0
psmouse               126976  0
serio_raw              16384  0
i2c_i801               20480  0
i915                 1150976  6
video                  32768  1 i915
drm_kms_helper        110592  1 i915
lpc_ich                20480  0
drm                   249856  8 i915,drm_kms_helper
r8169                  73728  0
syscopyarea            16384  1 drm_kms_helper
mii                    16384  1 r8169
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
acpi_cpufreq           20480  0
fjes                   28672  0
ite_cir                24576  0
fb_sys_fops            16384  1 drm_kms_helper
i2c_algo_bit           16384  1 i915
rc_core                24576  1 ite_cir
parport_pc             28672  0
parport                36864  2 ppdev,parport_pc
intel_agp              20480  0
tpm_tis                20480  0
intel_gtt              20480  2 i915,intel_agp
tpm                    36864  1 tpm_tis
agpgart                32768  3 drm,intel_agp,intel_gtt
button                 16384  1 i915
shpchp                 32768  0
processor              32768  3 acpi_cpufreq
sch_fq_codel           20480  2
vboxnetflt             28672  0
vboxnetadp             28672  0
pci_stub               16384  1
vboxpci                24576  0
vboxdrv               290816  3 vboxnetadp,vboxnetflt,vboxpci
ip_tables              20480  0
x_tables               20480  1 ip_tables
ext4                  491520  2
crc16                  16384  1 ext4
jbd2                   81920  1 ext4
mbcache                16384  3 ext4
sr_mod                 24576  0
cdrom                  49152  1 sr_mod
sd_mod                 36864  4
hid_generic            16384  0
usbhid                 45056  0
hid                    94208  2 hid_generic,usbhid
atkbd                  24576  0
libps2                 16384  2 atkbd,psmouse
ahci                   36864  3
libahci                28672  1 ahci
libata                184320  2 ahci,libahci
scsi_mod              135168  3 libata,sd_mod,sr_mod
ehci_pci               16384  0
uhci_hcd               40960  0
ehci_hcd               65536  1 ehci_pci
usbcore               180224  4 uhci_hcd,ehci_hcd,ehci_pci,usbhid
usb_common             16384  1 usbcore
i8042                  20480  1 libps2
serio                  20480  6 serio_raw,atkbd,i8042,psmouse
ewaller wrote:

re you trying to launch the GUI from a launcher, or are you doing it from the command line in a terminal?

For general use yes, I want to use a GUI. But I can use command line

ewaller wrote:

We want to do it from a terminal by running VirtualBox so we can see any messages that are sent to stdout or stderr

Here:

VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQtCore.so.4: cannot open shared object file: No such file or directory

~ Luglige

Offline

#6 2016-06-28 20:44:26

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Can't get Virtual Box to work

looks like you're missing qt4. It is an optional dependency for virtualbox, but required for the GUI.

$ pacman -Si virtualbox
...
Optional Deps   : qt4: GUI support

Offline

#7 2016-06-28 20:46:14

Luglige
Member
Registered: 2016-06-26
Posts: 17

Re: Can't get Virtual Box to work

ooo wrote:

looks like you're missing qt4. It is an optional dependency for virtualbox, but required for the GUI.

$ pacman -Si virtualbox
...
Optional Deps   : qt4: GUI support

Thx! It Works!


~ Luglige

Offline

#8 2016-06-28 20:46:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can't get Virtual Box to work

This ^^^^

Edit:  too slow.  Those were pointing at the second post up smile    Glad it is working.

Last edited by ewaller (2016-06-28 20:47:02)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2016-06-28 20:50:22

Luglige
Member
Registered: 2016-06-26
Posts: 17

Re: Can't get Virtual Box to work

ewaller wrote:

This ^^^^

Edit:  too slow.  Those were pointing at the second post up smile    Glad it is working.

When I was debating to install Arch Linux I saw a point about how much it's community driven. That was my selling point! I'm happy that it's true.


~ Luglige

Offline

#10 2016-06-28 20:51:09

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can't get Virtual Box to work

One last parting comment.  I have had a lot less heartache using the DKMS version of the host kernel modules. When the kernel is updated, the precompiled version (which you've installed) might take a day or two to hit the repositories after the kernel.  As the DKMS version is 'roll your own', they are recompiled by the post processing hooks in Pacman when the kenrel is updated.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2016-06-28 20:53:08

Luglige
Member
Registered: 2016-06-26
Posts: 17

Re: Can't get Virtual Box to work

ewaller wrote:

One last parting comment.  I have had a lot less heartache using the DKMS version of the host kernel modules. When the kernel is updated, the precompiled version (which you've installed) might take a day or two to hit the repositories after the kernel.  As the DKMS version is 'roll your own', they are recompiled by the post processing hooks in Pacman when the kenrel is updated.

Good point. I'm only getting this to do some Malware Testing.


~ Luglige

Offline

#12 2016-06-29 00:04:52

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Can't get Virtual Box to work

ewaller wrote:

One last parting comment.  I have had a lot less heartache using the DKMS version of the host kernel modules. When the kernel is updated, the precompiled version (which you've installed) might take a day or two to hit the repositories after the kernel.  As the DKMS version is 'roll your own', they are recompiled by the post processing hooks in Pacman when the kenrel is updated.

DKMS is fouling up on one of my machines the last few times.  It has error messages when processing on removing dkms modules.

/usr/bin/dkms: line xxxx: echo: write error: Broken pipe

for several lines and line numbers.
Install DKMS modules seems to be working.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB