Announcement

Collapse
No announcement yet.

VirtualBox-3.1.4: no GUI anymore?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    VirtualBox-3.1.4: no GUI anymore?



    About a month ago everything worked ok with virtualbox-3.1.2 and 2.6.31-15-generic.
    Now for some reason the GUI of VirtualBox does not show up anymore.
    The icon shows up on the panel for a while and then disappears.

    No error messages from kernel logs or otherwise as i can see.
    Just one warning in /var/log/kern.log:

    Code:
    warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
    Following is running afterwards:

    Code:
    ps ax | grep Box
    12097 ?    Sl   0:00 /usr/lib/virtualbox/VirtualBox
    12111 ?    S   0:00 /usr/lib/virtualbox/VBoxXPCOMIPCD
    12120 ?    Sl   0:00 /usr/lib/virtualbox/VBoxSVC --pipe 8 --auto-shutdown
    I completely uninstalled virtualbox and reinstalled again without change.
    Is there someone running the same combo with experiences?
    Has anybody got an idea what is going on or how to approach this?
    Should i reinstall 3.1.2?

    thanks

    #2
    Re: VirtualBox-3.1.4: no GUI anymore?

    That is sometimes a problem when you install an alien deb package.

    I am running the 64bit Kubuntu Lucid Lynx and installed VirtualBox-ose and the extras from the repository. I have WinXP running as a guest OS and all is working perfectly.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Re: VirtualBox-3.1.4: no GUI anymore?

      Ok so i decided to run:

      Code:
      strace VirtualBox
      and then it said:

      Code:
      ... skipped ...
      write(2, "VirtualBox: Error -10 in SUPR3Ha"..., 44VirtualBox: Error -10 in SUPR3HardenedMain!
      ... skipped ...
      write(2, "Effective UID is not root (euid="..., 65Effective UID is not root (euid=1000 egid=1000 uid=1000 gid=1000)) = 65
      ... skipped ...
      Running 'sudo VirtualBox' showed the GUI again.
      Why do i have to run it as root?

      Comment


        #4
        Re: VirtualBox-3.1.4: no GUI anymore?

        I would suspect that one or more of the files in your home directory has the wrong permissions

        Comment


          #5
          Re: VirtualBox-3.1.4: no GUI anymore?

          Or you are not part of the vbox group, check /etc/group for that.
          Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

          Comment


            #6
            Re: VirtualBox-3.1.4: no GUI anymore?

            It looks like that package wasn't configured to install specifically on Kubuntu, so it didn't set permissions or groupings correctly. Did it install an icon in the menu?
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Re: VirtualBox-3.1.4: no GUI anymore?

              There is a build of VirtualBox explicitly for (K)Ununtu 9.10 available for download from this page
              http://www.virtualbox.org/wiki/Linux_Downloads
              You can even follow the instructions to add the repository so it will install directly from apt

              Comment


                #8
                Re: VirtualBox-3.1.4: no GUI anymore?

                @skunk:
                I use synaptic. Used the repository first for version 3.1.4 (see first post).
                Also tried the 3.1.2 version by downloading the .deb and install via synaptic and also tried apt directly.

                @GreyGeek:
                Yes the icon is installed in the start menu. I can start VirtualBox. Starting from the command shell with strace gives what i reported earlier.

                @toad:
                I am part of group vboxusers. See also below.
                --------------------------------------------------------------------------
                No succes yet so i wonder if it is possible at all. There must be someone having this running on the same kind of system as i have, no?

                Tried:
                1- chmod 4755 /usr/bin/V*
                (some files in /usr/lib/virtualbox already had this set)

                2- made sure my user-id was member of group vboxusers

                3- Initially :
                Code:
                sweatshirt@dharana:~$ ls -l /dev/vboxdrv                                                            
                crw------- 1 root vboxusers 10, 55 2010-02-25 16:48 /dev/vboxdrv
                Changed it to:
                Code:
                sweatshirt@dharana:~/tst$ ls -l /dev/vboxdrv                                                        
                crw-rw---- 1 root vboxusers 10, 55 2010-02-25 16:48 /dev/vboxdrv
                4- running:
                Code:
                sweatshirt@dharana:~$ VBoxManage list systemproperties 
                VirtualBox Command Line Management Interface Version 3.1.2
                (C) 2005-2009 Sun Microsystems, Inc.           
                All rights reserved.                   
                
                Minimum guest RAM size:     4 Megabytes
                Maximum guest RAM size:     2560 Megabytes
                Minimum video RAM size:     1 Megabytes  
                Maximum video RAM size:     128 Megabytes 
                Minimum guest CPU count:     1       
                Maximum guest CPU count:     32      
                Maximum VDI size:        2097151 Megabytes
                Maximum Network Adapter count:  8        
                Maximum Serial Port count:    2        
                Maximum Parallel Port count:   2        
                Maximum Boot Position:      4        
                Maximum IDE Controllers:     1        
                Maximum IDE Port count:     2        
                Maximum Devices per IDE Port:  2        
                Maximum SATA Controllers:    1        
                Maximum SATA Port count:     30        
                Maximum Devices per SATA Port:  1        
                Maximum SCSI Controllers:    1        
                Maximum SCSI Port count:     16        
                Maximum Devices per SCSI Port:  1        
                Maximum Floppy Controllers:   1        
                Maximum Floppy Port count:    1        
                Maximum Devices per Floppy Port: 2        
                Default machine folder:     /home/sweatshirt/.VirtualBox/Machines
                Default hard disk folder:    /home/sweatshirt/.VirtualBox/HardDisks
                VRDP authentication library:   VRDPAuth              
                Webservice auth. library:    VRDPAuth              
                Log history count:        3
                initially shows correct paths for harddisks and machines.

                5- running:
                Code:
                sweatshirt@dharana:~$ VBoxManage list vms
                VirtualBox Command Line Management Interface Version 3.1.2                                               
                (C) 2005-2009 Sun Microsystems, Inc.                                                          
                All rights reserved.                                                                  
                
                "ontwikkeling" {54e5d478-a29a-4413-b7d9-5acccb571fa1}
                This kept hanging instead of showing the second machine available.

                6- after this previous command the settings have changed to root .
                running:
                Code:
                sweatshirt@dharana:~$ sudo VBoxManage list systemproperties 
                VirtualBox Command Line Management Interface Version 3.1.2 
                (C) 2005-2009 Sun Microsystems, Inc.            
                All rights reserved.                    
                
                Minimum guest RAM size:     4 Megabytes
                Maximum guest RAM size:     2560 Megabytes
                Minimum video RAM size:     1 Megabytes  
                Maximum video RAM size:     128 Megabytes 
                Minimum guest CPU count:     1       
                Maximum guest CPU count:     32      
                Maximum VDI size:        2097151 Megabytes
                Maximum Network Adapter count:  8        
                Maximum Serial Port count:    2        
                Maximum Parallel Port count:   2        
                Maximum Boot Position:      4        
                Maximum IDE Controllers:     1        
                Maximum IDE Port count:     2        
                Maximum Devices per IDE Port:  2        
                Maximum SATA Controllers:    1        
                Maximum SATA Port count:     30        
                Maximum Devices per SATA Port:  1        
                Maximum SCSI Controllers:    1        
                Maximum SCSI Port count:     16        
                Maximum Devices per SCSI Port:  1        
                Maximum Floppy Controllers:   1        
                Maximum Floppy Port count:    1        
                Maximum Devices per Floppy Port: 2        
                Default machine folder:     /root/.VirtualBox/Machines
                Default hard disk folder:    /root/.VirtualBox/HardDisks
                VRDP authentication library:   VRDPAuth          
                Webservice auth. library:    VRDPAuth          
                Log history count:        3
                Now what to do? My machines were made with 3.1.2. Can they be read with the OSE version 3.0.8?

                Comment


                  #9
                  Re: VirtualBox-3.1.4: no GUI anymore?

                  fwiw this is what the perms on my machine look like
                  Code:
                  skunk@skunk-develop:~/$ ls -l /usr/bin/V*
                  -rwxr-xr-x 1 root root 2380 2010-02-12 14:44 /usr/bin/VBox
                  lrwxrwxrwx 1 root root   4 2010-02-25 15:28 /usr/bin/VBoxHeadless -> VBox
                  lrwxrwxrwx 1 root root   4 2010-02-25 15:28 /usr/bin/VBoxManage -> VBox
                  lrwxrwxrwx 1 root root   4 2010-02-25 15:28 /usr/bin/VBoxSDL -> VBox
                  -rwxr-xr-x 1 root root 10440 2010-02-12 14:44 /usr/bin/VBoxTunctl
                  lrwxrwxrwx 1 root root   4 2010-02-25 15:28 /usr/bin/VBoxVRDP -> VBox
                  lrwxrwxrwx 1 root root   4 2010-02-25 15:28 /usr/bin/VirtualBox -> VBox
                  Code:
                  skunk@skunk-develop:~/$ ls -l /dev/vbox*
                  crw------- 1 root vboxusers 10, 52 2010-02-25 15:29 /dev/vboxdrv
                  crw-rw---- 1 root root   10, 51 2010-02-25 15:29 /dev/vboxnetctl
                  Edit: reinstalled to make sure latest version

                  Comment


                    #10
                    Re: VirtualBox-3.1.4: no GUI anymore?

                    @skunk:

                    Do you use PUEL or OSE version of VirtualBox?
                    And which version of VirtualBox: 3.1.4 (PUEL) or 3.0.8 (OSE)?

                    Thanks for reporting.

                    Comment


                      #11
                      Re: VirtualBox-3.1.4: no GUI anymore?

                      3.1.4 PUEL

                      Comment


                        #12
                        Re: VirtualBox-3.1.4: no GUI anymore?

                        The "hang" when you run list vms may mean that the second vm is somehow corrupted -- although I have no idea what would be required to remove it from the list of known vms

                        Comment


                          #13
                          Re: VirtualBox-3.1.4: no GUI anymore?

                          Now I created another user account; member of group vboxusers.
                          From that account VirtualBox works ok.
                          So there must be some setting for the user account, that starts VirtualBox, that prohibits the change of uid to root.

                          What can that be?

                          Comment


                            #14
                            Re: VirtualBox-3.1.4: no GUI anymore?

                            From what i have now it seems to me a Kubuntu problem:
                            - removed virtualbox completely
                            - created a separate user account for system administration (install packs, user admin)
                            - installed virtualbox again from that account
                            - created a new user account; only member of vboxusers, no other groups
                            - reboot
                            - login on new user account; run VirtualBox

                            This works for now. There are some things happening that seem strange nonetheless.

                            Comment


                              #15
                              Re: VirtualBox-3.1.4: no GUI anymore?

                              May I suggest that you try VMware Player 3.0.1. I runs my XP at or close to native speed. It also has a neat feature called unity which opens you vm app in host, it looks like any other linux app running. I found I can drag images for host to guest with no issues. I've used VBox for the last couple or years and Player runs circle around VB. IMHO

                              Comment

                              Working...
                              X