Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Discussions about using Linux guests in VirtualBox.

Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby kimec » 17. Mar 2009, 00:30

Hi guys, I tried to install Guest Additions in Ubuntu 9.04 alpha6 few minutes ago. After executing the installer:
Code: Select all   Expand viewCollapse view
sudo sh ./VBoxLinuxAdditions-x86.run x11

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

One possible explanation to this is that the 2.1.4 vbox video drivers do not yet support Xorg version which ships with Alpha 6. However, I found that according to this post viewtopic.php?f=3&t=12415&start=15 , 2.1.4 vbox video drivers should work with Xorg 1.6RC. Sadly it seems Alpha 6 ships with the final verison of Xserver 1.6 which was released on feb. 25., a week and two days after VBox 2.1.4 release.

Anybody experiencing the same issue? I may be mistaking.
kimec
 
Posts: 4
Joined: 24. Jul 2008, 16:59

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby nabamer. » 17. Mar 2009, 03:59

Yep, I have the same problem exactly, although I installed the additions through:

Code: Select all   Expand viewCollapse view
sudo ./VBoxLinuxAdditions-x86.run


i.e. no "x11" at the end...

Rebooted and xorg reverted to "low graphics mode" :( Can't get it to do anything with the virtualbox driver.

Guess we'll have to wait :wink: :o
nabamer.
 

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby Sasquatch » 17. Mar 2009, 20:15

Hmm, I have a fully updated Jaunty in a VM, no problems with the GA driver. I do have the GA from 2.1.2 installed there though, but that shouldn't matter all that much. I'll update them now to see how it goes.

I see the problem. It doesn't know the 1.6 version of xserver. The beta, which was version 1.5.99 was still working. It checks for a version and that doesn't match the installed version. You might want to edit the file yourself and change the version check. You have to unpack the run file first.

More info for how to install it properly. First you need to extract the installer. So run VBoxLinuxAdditions-x86/amd46.run --target ~/ga (you need the destination folder first of course). Then check the install.sh file, on line 415, you will see this:
15 1.5.99.* | 1.6 )

Now after the 1.6, add a .0. This is needed, because the version that is returned by X -version is 1.6.0, not 1.6.

After you've fixed the install script, run it like you would install the GA.run file. So sudo ./install.sh.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby mjulienw » 18. Mar 2009, 03:54

wow - i've been fighting with this issue for a while. This is the problem! Thanks!
mjulienw
 
Posts: 1
Joined: 18. Mar 2009, 03:52

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby The MAZZTer » 21. Mar 2009, 04:21

Thanks, I have this problem too.

However there is clearly another bug in the installer if it changes your xorg.conf WITHOUT actually installing the video drivers (explains why X has to start in safe mode to work).

[Edit: Actually it says 1.5.99.* | 1.6.* so it should work even without the .0?]

[Edit: Adding the .0 doesn't work, drivers still aren't installed]

[Edit: You might have to replace the * with a 0... /var/log/vboxadd-install.log will display the detected version of xorg. I just removed the case test entirely except for the branch I wanted to execute.]

[Edit: /etc/X11/xorg.conf isn't being updated so it still uses the vesa drivers.]

[Edit: Looks like installing the drivers doesn't change anything, display is still broken and ends up in safe mode.]
The MAZZTer
Volunteer
 
Posts: 129
Joined: 16. Sep 2008, 23:22
Location: Internet
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu, Chromium OS, Windows

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby Sasquatch » 21. Mar 2009, 12:54

Mazzter, if the GA installer already have that line (1.5.99 | 1.6.*), then you're probably using 2.2 beta, and not 2.1.4. Please report this error in the Beta forum, not here.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby dm6257 » 21. Mar 2009, 17:23

I followed the process above and everything appeared to work. During the restart I received the following error message:

"/etc/gdm/XSession
Setting IM through im-switch for locale = en_us

Start IM through

/etc/x11/xinit/Xinput.d/all_ALL linked to /etc/x11/xinit/xinput.d/default.mkdtemp private socket dir:permission denied"


Any suggestions?

Thanks,
Dale
dm6257
 
Posts: 15
Joined: 14. Nov 2007, 21:04

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby The MAZZTer » 21. Mar 2009, 19:14

Sasquatch: I figured an ubuntu alpha wouldn't exactly be supported so I was gonna wait until 9.04 final to actually report anything...

Anyways other than the 2.2.0b1 GA installer not matching 1.6.* with 1.6.0 (and I don't do bash scripts so I don't know why, could be a bash bug for all I know), something else is keeping the drivers from working and I have no clue what. Can't exactly file a good bug report.
The MAZZTer
Volunteer
 
Posts: 129
Joined: 16. Sep 2008, 23:22
Location: Internet
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu, Chromium OS, Windows

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby Sasquatch » 21. Mar 2009, 23:51

I will check this for my own VM. If I have no issues with it, there might be something broken on your Guest.

Edit:
There is definatly something wrong with the VboxVideo driver in 2.2 beta. Please report the errors in the beta forum, not here. For now, use the 2.1.4 GA.
Edit:
2.2 beta video discussion here: viewtopic.php?f=15&t=15712
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby Perryg » 22. Mar 2009, 17:55

Sasquatch

You are amazing!

I edited the install.sh and added the .0 to the end and reinstalled. Worked without a problem!
I have a 24" wide screen monitor set at 1920x1200 and working with Jaunty in 800x600 was like looking at a postage stamp.
Thank you my friend.
Perryg
Site Moderator
 
Posts: 32565
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby vbuser123 » 25. Mar 2009, 13:11

Thanks Sasquatch, your solution worked fine for me aswell!
/vbuser123
vbuser123
 
Posts: 9
Joined: 26. Nov 2008, 22:59

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby vaidyabala » 29. Mar 2009, 05:09

1.6.0. did not work. I added 1.6.*. Everything worked great. Thanks.

I ditched Opensuse 11.1 after several attempts to get GA working. Installed Ubuntu 9.0.4 beta. Installed GA. everything woks including SEAMLESS windows. AWESOME.

I am ditching Opensuse 11.1 kde forever and settling for Ubuntu GNOME. Very clean interface.

Thanks sasquatch.
vaidyabala
 
Posts: 29
Joined: 23. Oct 2007, 14:30
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Opensuse 11.1, FreeNas

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby x-Na » 30. Mar 2009, 12:08

Well, my experience with Jaunty Beta as guest is that the only resolutions it will give out are 640x480 and 800x600 with the VirtualBox GA installed.

EDIT: Well it seems that the display size is automatically resized when resizing the guest window, so it seems to work, I guess.
Last edited by x-Na on 30. Mar 2009, 17:03, edited 1 time in total.
x-Na
 
Posts: 19
Joined: 12. Mar 2009, 12:12

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby vaidyabala » 30. Mar 2009, 14:49

hm. interesting....

This is what i did.

- installed 9.0.4 beta
- booted the machine (guest OS VM)
- installed the OS updates, i forgot the option. it is in one of menu items.
- booted the machine (guest OS VM)
- used sasquatch's command to extract the GA into a directory. (this installs the GA as well). but do not reboot at this point.
- change the 1.6 to 1.6.*
- installed GA once again (make sure it does NOT display an error message about unrecongnized X or something)
- rebooted

All the options in the Main Menu, full screen, seamless, auto resize etc. were automatically enabled.

When I expand/contract the window, the resolution is automatically adjusted.

I did not have to monkey around with xorg. conf at all. Also I did not install any packages like dkms, kernel source. all of them were automatically made available somehow.
Last edited by vaidyabala on 30. Mar 2009, 14:51, edited 1 time in total.
vaidyabala
 
Posts: 29
Joined: 23. Oct 2007, 14:30
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Opensuse 11.1, FreeNas

Re: Ubuntu 9.04 alpha6 and Virtualbox video driver for X

Postby vaidyabala » 30. Mar 2009, 14:51

I am going to try kubuntu beta 9.0.4 as well. Will post if see anything different there.
vaidyabala
 
Posts: 29
Joined: 23. Oct 2007, 14:30
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Opensuse 11.1, FreeNas

Next

Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 11 guests