Page 1 of 1

VB 2.1 screen resolution problem in lenny

Posted: 12. Jan 2009, 20:20
by websurfer
Hello.

I tried VirtualBox 2.1 in my host Debian Lenny AMD 64bits, all runs really well, except screen resolution.
My host is 1680*1050 and my virtualbox max resolution in WindowsXP SP3 as guest is 1152*864

I tried:

VBoxManage controlvm "Machine1" setvideomodehint 1680 1050 32

But nothing change, I have installed guest additions.

How can I do for have WindowsXP at 1680*1050? Looking in monitor properties and see a list of screen mode
supported the max screen resolution is 1152*864 at 32 bits (what is used)

Any help will be appreciated.

Websurfer

This is my xorg.conf

Code: Select all

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"es"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Option "UseDisplayDevice" "DFP"
	Identifier	"nVidia Corporation NV34 [GeForce FX 5200]"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"SyncMaster"
	Option		"DPMS"
	HorizSync	30-81
	VertRefresh	56-75
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia Corporation NV34 [GeForce FX 5200]"
	Monitor		"SyncMaster"
	Option "TwinView" "true"
#Option          "TwinView"
        Option          "TwinViewOrientation" "Clone"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection


Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
Modedit: Use code blocks next time.

Posted: 12. Jan 2009, 22:54
by Sasquatch
Did you actually install the GA on the Guest? Did you also enable dynamic resize of the Guest Window in the Machine menu? Then maximize the Guest window, or go to full screen, and it should resize. Only in fullscreen is it capable of your native resolution.

GA menu

Posted: 12. Jan 2009, 23:11
by websurfer
Hello.

I have GA installed, but...where is the option of "enable dynamic resize of the Guest Window "? I'm looking for this option and is impossible to found!

Is in the guest menu or inside? I was "googlishing" and was reading this, but I checked all several times without sucess:(

Thanks
Websurfer

Posted: 12. Jan 2009, 23:19
by Sasquatch
Start the VM, then in the Machine menu you see the option to resize the Guest Window Size. Make sure that is enabled. Shortcut is Host + G.