Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Installation problems with virtualbox

  1. #1

    Default Installation problems with virtualbox

    hi,
    I just tried to install virtual box by downloading the RPM from their website running it with yast. It said install succesful but I checked the install log and this is the result that I got. The program will not start. I want to run opensuse as my host and install Windows XP to run on top of it for my wife. I can provide any information just ask if it helps.
    My software is
    System
    Atom
    2GB of ram
    ION
    Linux 2.6.34.7-0.4-desktop x86_64
    openSUSE 11.3 (x86_64)
    4.5.2 (KDE 4.5.2) "release 10"
    NVIDIA 260.19.12

    VirtualBox Version is
    VirtualBox-3.2-3.2.10_66523_openSUSE113-1.x86_64.rpm




    WARNING: The vboxdrv kernel module is not loaded. Either there is no module
    available for the current kernel (2.6.34.7-0.4-desktop) 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!

    I did try to run sudo /etc/init.d/vboxdrv setup it failed I than ran
    vim /var/log/vbox-install.log and this information was in the file
    /usr/share/virtualbox/src/vboxhost/vboxdrv/build_in_tmp: line 55: make: command not found

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,680
    Blog Entries
    15

    Default Re: Installation problems with virtualbox

    Quote Originally Posted by mich04
    hi,
    I just tried to install virtual box by downloading the RPM from their
    website running it with yast. It said install succesful but I checked
    the install log and this is the result that I got. The program will not
    start. I want to run opensuse as my host and install Windows XP to run
    on top of it for my wife. I can provide any information just ask if it
    helps.
    My software is
    System
    Atom
    2GB of ram
    ION
    Linux 2.6.34.7-0.4-desktop x86_64
    openSUSE 11.3 (x86_64)
    4.5.2 (KDE 4.5.2) "release 10"
    NVIDIA 260.19.12

    VirtualBox Version is
    VirtualBox-3.2-3.2.10_66523_openSUSE113-1.x86_64.rpm




    WARNING: The vboxdrv kernel module is not loaded. Either there is no
    module
    available for the current kernel (2.6.34.7-0.4-desktop) 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!

    I did try to run sudo /etc/init.d/vboxdrv setup it failed I than ran
    vim /var/log/vbox-install.log and this information was in the file
    /usr/share/virtualbox/src/vboxhost/vboxdrv/build_in_tmp: line 55: make:
    command not found

    Hi you need to install make, gcc, kernel-source, kernel-syms and
    linux-glibc-devel then run the setup again.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.3 (x86_64) Kernel 2.6.34.7-0.4-default
    up 1 day 11:14, 2 users, load average: 0.00, 0.08, 0.07
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.12


  3. #3

    Default Re: Installation problems with virtualbox

    I installed the software, uninstalled, than reinstalled clicked on the icon would not start fired up terminal ran sudo VirtualBox here was the output


    Failed to open the X11 display!

    Am I supposed to setup my video somehow, or do I need to recompile my nvidia driver?

  4. #4

    Default Re: Installation problems with virtualbox

    you don't have to use 'sudo' to start VirtualBox. You just have to be member of the vboxusers group.
    If you start VirtualBox or any other GUI application with sudo, it will fail because nobody (even root) has access to your X display. So if you wanted to do that, you should first allow others to use your display, which can be done - as user, not root! - with the command:
    xhost + local:.
    But again, it is not needed here.

  5. #5

    Default Re: Installation problems with virtualbox

    Just do that :

    Code:
    sudo zypper in -t pattern devel_basis
    sudo zypper in kernel-devel kernel-desktop-devel kernel-source kernel-syms
    sudo service vboxdrv setup
    Then start VirtualBox as normal user.

  6. #6

    Default Re: Installation problems with virtualbox

    no I just want to run VirtualBox. I had gone under user group management in yast changed my default group to vboxusers. Here is what I did with your comment. if xhost + office was not a good command to use for my situation how can I change those settings back. the only reason I ask is because I am trying to keep my install as clean as I can, I hate having lose ends and such. After using you command I am getting the same outputs the only reason I tried to sudo was because of the "Permission denied" outputs

    office@Office:~> xhost + local
    xhost: bad hostname "local"
    office@Office:~> xhost + office
    office being added to access control list
    office@Office:~> VirtualBox
    /usr/bin/VirtualBox: line 72: /usr/lib/virtualbox/VirtualBox: Permission denied
    /usr/bin/VirtualBox: line 72: exec: /usr/lib/virtualbox/VirtualBox: cannot execute: Permission denied
    office@Office:~> sudo VirtualBox
    root's password:
    Failed to open the X11 display!
    office@Office:~>

  7. #7

    Default Re: Installation problems with virtualbox

    I will try those new commands, sorry I was typing my post and had not seen your new one.

  8. #8

    Default Re: Installation problems with virtualbox

    • This is not
      xhost + local
      but
      xhost + local:
      and nothing else!
    • I understand that you just want to run VirtualBox, but in order to do that with this version (the Oracle version), you have to compile the kernel module first, i.e. follow the steps I described in my previous post.

  9. #9
    Join Date
    Jun 2008
    Location
    Berlin
    Posts
    2,061

    Default Re: Installation problems with virtualbox

    Again: one does not start VirtualBox as root, but as a regular user. Also note what please_try_again wrote about 'xhost + local':

    But again, it is not needed here.
    Are you sure you are a member of the group 'vboxusers'? Please show the output of the command

    Code:
    groups
    [also called as regular user!] and do not forget you have to compile the respective VBox kernel module first.

    semi-OT: Guys (please_try_again & other members of this forum), please note that 'sudo' is *not* a proper replacement for 'su -' to become root. Read the manual of 'sudo' to find out why. The only system I know where 'sudo' makes sense per default is Ubuntu and its derivates.

  10. #10
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Installation problems with virtualbox

    Quote Originally Posted by please_try_again View Post
    So if you wanted to do that, you should first allow others to use your display, which can be done - as user, not root! - with the command:
    xhost + local:.
    But again, it is not needed here.
    So why mention it? OP shouldn't need to do it. Mixed messages.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •