VirtualBox not work

I’m using OpenSuse 13.2 and KDE
I installed VirtualBox but when I try to run it not work

On command line I get these messages:

sergio@linux-qgry:~> vboxgtk
Traceback (most recent call last):
  File "/usr/bin/vboxgtk", line 94, in <module>
    vboxgtk.main()
  File "/usr/lib/python2.7/site-packages/vboxgtk/iface.py", line 47, in call_with_method
    return func(self,*args,**kwargs)
  File "/usr/lib/python2.7/site-packages/vboxgtk/iface.py", line 74, in main
    builder.add_from_file(os.path.join(paths.data_path, f))
GLib.Error: gtk-builder-error-quark: Invalid property: GtkGrid.n_rows on line 1564 (11)
sergio@linux-qgry:~> 

What should I do to solve this problem?

What should I do to solve this problem? 

vboxgtk is broken, delete it and install virtualbox-qt.

OK. the instalation VirtualBox qt, but now more problems

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

‘/etc/init.d/vboxdrv setup’

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

I follow the instructions, but I get new problems


sergio@linux-qgry:~> sudo /etc/init.d/vboxdrv setup
Recompiling VirtualBox kernel module, NOT. It has been packaged.     

And this is reult command line

x
sergio@linux-qgry:~> VirtualBox 
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile

Which instructions did you follow?
The ones here in this thread, i.e. to uninstall vboxgtk, or do you mean something else?

The message means that the kernel module cannot be loaded.
The virtualbox-host-kmp package must match your kernel, so please post the output of:

rpm -qa | egrep -i "kernel|virtualbox"

sergio@linux-qgry:~> sudo /etc/init.d/vboxdrv setup
Recompiling VirtualBox kernel module, NOT. It has been packaged.

Yes. The openSUSE packages contain a pre-compiled kernel module. You don’t have to build it yourself when using the openSUSE packages, and even cannot because the source code is not included.
There is a separate package with the source code if you wanted to built it yourself anyway, but normally that’s unneccesary.

And this is reult command line

x
sergio@linux-qgry:~> VirtualBox 
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile

That’s irrelevant, and not a problem.

On Sat, 23 May 2015 14:06:01 +0000, sergelli wrote:

> sergio@linux-qgry:~> vboxgtk

Do not use vboxgtk. Use VirtualBox.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Which instructions did you follow?
The instructions that I mentioned are those that appeared in a warning window that appeared when I called the newly installed VirtualBox QT
The message is in the beginning of the previous post.

But that does not matter anymore, because I turned off the PC and when I called again, VirtualBox worked OK.

Thank you for the help.

As indicated, this only applies if you install VirtualBox from http://virtualbox.org, but not for the openSUSE packages.
See also the second message you got when running “vboxdrv setup”.

But that does not matter anymore, because I turned off the PC and when I called again, VirtualBox worked OK.

So you didn’t reboot after installing it, and therefore the necessary kernel modules just weren’t loaded yet.
This is done during boot, but you could have loaded them manually with “/etc/init.d/vboxdrv start” (instead of “setup”, which compiles them) too.

But I used the openSUSE packages.
I never did VirtualBox installations from http://virtualbox.org,
It is probable that more people will have the same problem.

Thank you for explanations

You have not answered wolfi323`s Question about the installed Packages:

rpm -qa | egrep -i "kernel|virtualbox"

Yes, but that’s the error message VirtualBox displays when the kernel module is not loaded.
Again, just rebooting should “fix” that, because the kernel module will be loaded on boot.

And in openSUSE’s packages /etc/init.d/vboxdrv has been patched to display that error message, as it can’t build the kernel module (only a binary is included, no source).
Maybe that message could be worded better, but I suppose that would complicate the patch…

I don’t think that’s necessary any more.
It is working for him after a fresh boot, so the correct packages should be installed. :wink:

+1 Having just hit the same problem, I followed the instructions and have VirtualBox running.