VirtualBox

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#13845 closed defect (fixed)

Unable to hide second screen

Reported by: rschoon Owned by:
Component: other Version: VirtualBox 4.3.22
Keywords: Cc:
Guest type: other Host type: other

Description

In the latest version of VirtualBox (4.3.22), it seems that it is no longer to turn the second screen off from within the guest. In 4.3.20 and earlier it was possible to use xrandr (or the guest OS's display settings) to disable it.

Primarily I used two scripts, one to turn it off:

    xrandr --output VBOX-1 --off

and another to turn it back on:

    xrandr --output VBOX1 --auto 
    xrandr --output VBOX1 --right-of VBOX0

The name of the screens did change to VGA0/VGA1, but after fixing the names in the scripts, it only blanks that screen out (until the screen is interacted with)

This started occurring after updating the virtual machine to use the latest guest additions, and it works again after downgrading the guest additions back to the previous version.

Attachments (1)

adria64-2015-02-16-17-24-33.log (353.3 KB ) - added by rschoon 9 years ago.
vbox.log

Download all attachments as: .zip

Change History (7)

by rschoon, 9 years ago

vbox.log

comment:1 by rschoon, 9 years ago

In case it isn't obvious, the intent is to be able to add/remove the second monitor without restarting the virtual machine.

comment:2 by Michael Thayer, 9 years ago

I'm afraid this was a casualty of the fix to ticket #13287. For now I am not sure how best to handle this, as I don't really like monitors disappearing when they get power management events. The next major release should have an option to disable additional monitors at run-time from the host.

comment:3 by rschoon, 9 years ago

Cool, that would work fine for my purposes.

comment:4 by Michael Thayer, 9 years ago

Actually I forgot: this is not implemented in the graphical interface in 4.3, but it is available via the command line:

VBoxManage controlvm [...] setvideomodehint [...] enabled:no

4.3.22 has a bug in the Linux/Solaris Additions which sometimes prevents the screen from disappearing. I hope that this will be fixed in future releases.

comment:5 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

The fix is part of the VBox 4.3.24 release. Please don't forget to update the Guest Additions to 4.3.24.

comment:6 by Michael Thayer, 9 years ago

Bear in mind that this will usually work as described in comment:4 even with 4.3.22.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use