Page 1 of 1

virtualbox, ubuntu and X

Posted: 14. Apr 2009, 17:26
by dscanlon
Hi all,

Running Ubuntu 8.10 on virtualbox 2.2.0, on a Dell D630 Latitude, host is Windows XP SP3.

Everything went well with the set-up, except my screen resolution: Ubuntu is offering me 800x600 or something even smaller.

Had a quick search, and it looked like adding "vboxvideo" to my xorg.conf would do the trick - that didn't work, and I saw a suggestion elsewhere that I could just add the required resolutions manually into the conf file.

Trouble is, my xorg.conf is looking a little bare...see below
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Everything seems to be running fine on the Guest machine, but I want to make sure X is set up correctly before I go hacking to my screen resolutions right

Appreciate any and all suggestions.

Dave

Re: virtualbox, ubuntu and X

Posted: 14. Apr 2009, 17:29
by destroyedlolo
Did you installed the VBox addition ?

Re: virtualbox, ubuntu and X

Posted: 14. Apr 2009, 17:37
by dscanlon
destroyedlolo wrote:Did you installed the VBox addition ?
I'm pretty sure I did :) The Guest automatically "sees" the mouse pointer when it moves across the screen, so I presume they're installed?

Re: virtualbox, ubuntu and X

Posted: 14. Apr 2009, 18:03
by Perryg
If you did not prep the Ubuntu Guest by installing the the necessary files before you installed the GA you will not get screen control. See the VBox users guide Chapter 4.3.1 and install what it tells you. Then install the Guest additions again.

Re: virtualbox, ubuntu and X

Posted: 14. Apr 2009, 20:10
by Sasquatch
I've made a howto for this. Check the Linux Guests forum.

Re: virtualbox, ubuntu and X

Posted: 16. Apr 2009, 21:17
by dscanlon
Sasquatch wrote:I've made a howto for this. Check the Linux Guests forum.
Thanks Sasquatch - followed the How-To, but it doesn't appear to have made any difference, my xorg.conf stayed the same.

When I boot up the Guest, the GA ISO is still mounted - should this not auto disappear when the GA have successfully installed?

Going to try hacking the xorg.conf as suggested, see if it makes any difference...

Thanks for all the replies :)

Re: virtualbox, ubuntu and X

Posted: 16. Apr 2009, 21:26
by dscanlon
No joy there I'm afraid.

Sasquatch - in your How-To, you mention manually adding a Resolution, do you have an example of the syntax for this?

Does this happen a lot? :( Tempted to just dual-boot at this stage...