2.2.0 beta2 - Remove Modes line from X conf file

Postings relating to old VirtualBox pre-releases
Post Reply
abcuser
Volunteer
Posts: 590
Joined: 10. May 2007, 20:03
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu, Windows XP

2.2.0 beta2 - Remove Modes line from X conf file

Post by abcuser »

Hi,
using VirtualBox 2.2.0 beta 2 for Windows XP host and Ubuntu 8.10 guest during install of guest additions I got message to disable Modes option is Screen section. I commented Modes line and pressed <ctrl>+<alt>+<backspace> to restart X server. My screen resolution after login has dropped from 1024x768 to 800x600. So it looks like this is not working properly. I have removed commend at Modes and restart X server and now my 1024x768 screen resolution is back.

Why should I remove Modes from Screen section?
Regards

Guest Additions install info:

Code: Select all

$ sudo ./VBoxLinuxAdditions-x86.run 

Verifying archive integrity... All good.
Uncompressing VirtualBox 2.2.0_BETA2 Guest Additions for Linux installation.........................................................................................................................................................................................................................
VirtualBox 2.2.0_BETA2 Guest Additions installation
Building the VirtualBox Guest Additions kernel module...
Building the shared folder support kernel module...
Building the drm support kernel module...
Installing the VirtualBox Guest Additions...

[Disabling dynamic resizing as the X server is configured to only use static
resolutions.  To fix this, edit the server configuration file, remove all
"Modes" lines from the "Screen" section and any Option "PreferredMode"
lines from "Monitor" sections and restart the server.

Successfully installed the VirtualBox Guest Additions.
You must restart your guest system in order to complete the installation.
My /etc/X11/xorg.conf file:

Code: Select all

Section "Device"
	Identifier	"Configured Video Device"
        Driver		"vboxvideo"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier		"Default Screen"
	Device			"VirtualBox graphics card"
	Monitor			"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: 2.2.0 beta2 - Remove Modes line from X conf file

Post by Sasquatch »

Check my howto in Linux Guests.
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.
Post Reply