rss
twitter
    Find out what I'm doing on Twitter

Howto fix Virtualbox Guest Additions Error at Ubuntu Jaunty


I got a strange error while i try to install guest additions at Virtualbox on Ubuntu Jaunty alpha 6.

The error was :

Warning: unknown version of the X Window System installed. Not installing
X Window System drivers.


Since Ubuntu Jaunty uses xorg 1.6.0 and at guest additions installer there is not a defined 1.6.0 version (There is 1.6 not 1.6.0 ) we will extract the guest additions installer and fix this issue :

Mount guest additions at Virtual box via going to Devices > Install Guest Additions
Then open a terminal (Alt + F2 , then type gnome-terminal).And give this command :

$cd /media/cdrom/

You will change -x86 part with your architecture.I will give you an example (Also you will change the target part, i am using /home/MYUSERNAME/ as the output directory/target) :

$sudo ./VBoxLinuxAdditions-x86/amd46.run target /home/MYUSERNAME/

This will extract the install.sh file to my home directory.Now i am going to my home directory and edit the installer :

$cd
$gedit install.sh

Now find (line 415)

1.5.99.* | 1.6 )

And change it with :

1.5.99.* | 1.6.0 )

Save and exit.Run the installer :

sudo ./install.sh

PS : After everything is done, reboot your ubuntu box.

1 comments:

Anonymous said...

Note that "target" in sudo line above is actually "--target", e.g.,

sudo ./VBoxLinuxAdditions-x86.run --target /home/paul

Post a Comment