Opened 17 years ago

Closed 15 years ago

#72 closed defect (fixed)

Fails to resize X display in Linux guest

Reported by: Val Eckertson Owned by:
Component: other Version: VirtualBox 1.3.4
Keywords: Cc:
Guest type: other Host type: other


Slackware Linux 11 guest VirtualBox 1.3.4 (Windows XP host) fails to resize X display using standard X mechanisms (i.e. Ctrl+Alt+{+,-}). X server used there is X.Org 6.9.0. I haven't tested other distros/X servers.

Steps to reproduce:

  1. Start X server
  2. Press Ctrl-Alt-Gray- to reduce screen size

Expected results:

  • Screen resoultion and thus VirtualBox window is reduced

Actual results:

  • The resolution is changed, but the screen becomes black and

sometimes shows garbage. X hung and needs to be killed.

The problem occurs with or without Guest Additions installed.

If you need any further information, it will be provided upon request.

Attachments (1)

screen.PNG (292.4 KB ) - added by Blazeix 17 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Sander van Leeuwen, 17 years ago

Try again with 1.4.0 please.

comment:2 by Val Eckertson, 17 years ago

Good news are it does not hang anymore in 1.4.0 Bad news are it still doesn't resize properly - you get only randomly placed pieces of what was previously on the screen.

comment:3 by mikerobi, 17 years ago

I can confirm this behavior with Xubuntu 7.04 (same x server as ubuntu/kubuntu.) running with 1.4.0 on an XP host, and 1.3.99-beta1 OS/X host.

comment:4 by Frank Mehnert, 17 years ago

To make it clear: You are changing the resolution of the host and expect that the VirtualBox guest window changes the resolution as well? Because pressing <CTRL>+<ALT>+<->/<+> is not passed to the guest.

by Blazeix, 17 years ago

Attachment: screen.PNG added

comment:5 by Blazeix, 17 years ago

I have this same issue as well. VBox 1.5.2, Windows XP Pro SP2 host, Xubuntu 7.10 guest. @frank, not quite. The host screen resolution is not being changed at all. The guest OS resolution is being changed, and the guest display becomes garbled. Note that in the description of the ticket they are on a Windows XP host. So every reference to X is referencing the Linux guest.

I have found that if I edit the "screen" section in xorg.conf to contain the desired resolution, it works fine. If xorg.conf does not have an entry for the resolution, and you try to switch to using that resolution, then it fritzes out.

I've attached a screenshot of the issue.

in reply to:  5 comment:6 by Michael Thayer, 17 years ago

Replying to Blazeix: I'm afraid that I didn't quite follow you there - how did you set the resolution in the guest without setting it in xorg.conf?

comment:7 by Michal Suchanek, 16 years ago

Normally you do not set up any particular resolution or set up multiple resolutions in xorg.conf

Then it is possible to switch between the resolutions you set up (or 320x200 .. your maximum supported resolution) with Ctrl+Alt+Num+, Ctrl+Alt+Num-, or xrandr (a command line application)

comment:8 by Technologov, 15 years ago

Is this still relevant for VBox v3.x ?


comment:9 by Sander van Leeuwen, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use