Results 1 to 7 of 7

Thread: VBox guest additions not working on Backtrack 4 R2

Hybrid View

  1. #1
    Junior Member
    Join Date
    Aug 2010
    Posts
    34

    Default VBox guest additions not working on Backtrack 4 R2

    I'm running Backtrack 4 R1 in Virtual Box. When I try to upgrade to the new kernel, my guest additions are disabled. I tried the following fix, posted in another thread, and it did not work:

    Quote Originally Posted by x90opcode View Post
    Remove VMWare software prior to install Virtualbox Guest Additions

    Code:
    aptitude purge xserver-xorg-video-vmware
    vmware-uninstall-tools.pl
    reboot
    Install lastest dkms package from BT repository

    Code:
    dragon
    repositories
    quit
    apt-get update
    apt-get upgrade
    apt-get install dkms
    Install Vbox Guest Additions..

    Code:
    mount /dev/hdX /mnt/cdrom
    cd /mnt/cdrom
    ./VBoxLinuxAdditions-x86.run
    reboot
    Then check if vbox modules are loaded on boot and vbox guest services are running...

    Code:
    dmesg |grep vbox
    /etc/init.d/vboxadd status && /etc/init.d/vboxadd-service status
    Check /var/log/Xorg.0.log in order to verify vbox xorg modules are loaded successfully. Here a xorg.conf example :
    Code:
    Section "InputDevice"
            Identifier      "VirtualBox Mouse"
            Driver          "vboxmouse"
            Option          "CorePointer"
    EndSection
    
    Section "Device"
            Identifier      "VirtualBox Video Card"
            Driver          "vboxvideo"
            BusID           "PCI:0:2:0"
    EndSection
    
    Section "Monitor"
            Identifier      "Configured Monitor"
            Option          "DPMS"
    EndSection
    
    Section "Screen"
            Identifier      "Default Screen"
            Monitor         "Configured Monitor"
            Device          "VirtualBox Video Card"
            DefaultDepth    24
            SubSection      "Display"
              Depth         24
              Modes         "1152x864" "1024x768" "800x600" "640x480"
            EndSubSection
    EndSection
    And finally ensure you have /usr/bin/VBoxClient-all added in your .xinitrc
    I did this and it still said the guest additions could not start.

    Is there a solution for this?

  2. #2
    Member
    Join Date
    Jun 2009
    Posts
    74

    Default Re: VBox guest additions not working on Backtrack 4 R2

    How about some more info...like an error message?

    What are the commands you're running, the process you're following and what's happening when you do so? Where is failure encountered? If you want help you need to give exact step by step details.

    I am running BT4 R2 in virtualbox w/ guest additions installed and it works great.

  3. #3
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: VBox guest additions not working on Backtrack 4 R2

    I have both an R2 iso that I have made a vbox install with and only the screen auto resize does not work.
    My R1 vbox that I upgraded to R2 however does work. All features of guest additions that is.
    Both of these are running within the latest versions of virtualbox. This however is likely a vbox issue.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  4. #4
    Member
    Join Date
    Jun 2009
    Posts
    74

    Default Re: VBox guest additions not working on Backtrack 4 R2

    Quote Originally Posted by Archangel-Amael View Post
    I have both an R2 iso that I have made a vbox install with and only the screen auto resize does not work.
    My R1 vbox that I upgraded to R2 however does work. All features of guest additions that is.
    Both of these are running within the latest versions of virtualbox. This however is likely a vbox issue.
    Autoresize doesn't work for me either under OSX. I haven't played with the mode but I suspect that if I add in 800x600 to my /etc/X11/xorg.conf it may allow it to resize automatically. I manually wrote xorg so I only put the one res mode in that I cared about. Fullscreen works great and I can just tap the host key to escape and then alt+tab (well, Apple+tab ) to switch to other VMs or use the hot corners of my mac to flip flop back and forth. It's very user friendly and works like a charm
    cd ~
    cd ./fridge
    rm beer
    cd ../bedroom
    more beer

  5. #5
    Just burned their ISO alexmrtrip's Avatar
    Join Date
    Aug 2009
    Posts
    3

    Default Riferimento: VBox guest additions not working on Backtrack 4 R2

    Vbox addition not autostart when system boot.

    Start it manually and look all will work fine

    Code:
    root@bt:~# /usr/bin/VBoxClient-all
    The find the way to add it in autostart.

  6. #6
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: Riferimento: VBox guest additions not working on Backtrack 4 R2

    Quote Originally Posted by alexmrtrip View Post
    Vbox addition not autostart when system boot.
    Start it manually and look all will work fine
    Code:
    root@bt:~# /usr/bin/VBoxClient-all
    The find the way to add it in autostart.
    Actually when you boot BT on VBox after having installed guest additions you will see that it starts guest additions during boot up. Otherwise you will see in read a "failed" message.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  7. #7
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    2

    Default Respuesta: VBox guest additions not working on Backtrack 4 R2

    Quote Originally Posted by falseteeth View Post
    I'm running Backtrack 4 R1 in Virtual Box. When I try to upgrade to the new kernel, my guest additions are disabled. I tried the following fix, posted in another thread, and it did not work:



    I did this and it still said the guest additions could not start.

    Is there a solution for this?
    Are you sure modules are running? open Konsole and post here lsmod output in order to check if it's ok.

    Try to run /usr/bin/VBoxClient-all in Konsole, Is it working then? If not, follow the guide I wrote, it works for sure, I see most ppl forget to run VBoxClient-all, it MUST run in order to enable vbox additions features, dunno why it isn't loaded by default once you install the package, however you can add it manually in your .xinitrc before startkde, fluxbox or whatever you use as window manager.

    basic .xinitrc example
    Code:
    root@bt# cat /root/.xinitrc
    exec /usr/bin/VBoxClient-all &
    exec /usr/bin/startkde
    Ciao
    Last edited by x90opcode; 12-13-2010 at 07:11 PM. Reason: bad vboxclient-all path

Similar Threads

  1. Backtrack 4r2 and Virtualbox Guest Additions
    By ghee22 in forum Beginners Forum
    Replies: 13
    Last Post: 12-11-2010, 11:31 AM
  2. How do I get Guest Additions installed on Back Track?
    By montycv63 in forum Beginners Forum
    Replies: 1
    Last Post: 09-16-2010, 08:13 AM
  3. Replies: 0
    Last Post: 08-15-2010, 11:42 AM
  4. Installing BackTrack 4 as a VMware Guest
    By muts in forum OLD BackTrack News
    Replies: 4
    Last Post: 03-03-2010, 08:26 PM
  5. BT4 Pre-Final - Cannot Install VirtualBox Guest Additions
    By squeege in forum OLD BT4beta Software Related Issues
    Replies: 1
    Last Post: 06-04-2009, 02:28 AM

Posting Permissions

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