VirtualBox

10 年 前 建立

10 年 前 結束

10 年 前 更新

#13845 closed defect (fixed)

Unable to hide second screen

回報者: rschoon 負責人:
元件: other 版本: VirtualBox 4.3.22
關鍵字: 副本:
Guest type: other Host type: other

描述

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.

附加檔案 (1)

adria64-2015-02-16-17-24-33.log (353.3 KB ) - 10 年 前, 由 rschoon 新增
vbox.log

下載所有附檔: .zip

更動歷史 (7)

10 年 前rschoon 編輯

vbox.log

comment:1 10 年 前rschoon 編輯

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 10 年 前Michael Thayer 編輯

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 10 年 前rschoon 編輯

Cool, that would work fine for my purposes.

comment:4 10 年 前Michael Thayer 編輯

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 10 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

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 10 年 前Michael Thayer 編輯

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

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette