VirtualBox

Opened 15 years ago

Closed 9 years ago

Last modified 5 years ago

#2597 closed enhancement (fixed)

Hide Guest Window

Reported by: jdk Owned by:
Component: GUI Version: VirtualBox 2.0.4
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by Frank Mehnert)

It would be handy to have the possibility to hide/close the Guest OS Window, but keep the VM running.

I have a Linux Server OS setup in a VM to simulate my VPS server, to which I have SSH access. I do all operations on the VM in the same way: through SSH. So, I don't need the window of the VM to be visible. When closing the VM window 3 options are available:

Save the machine state
Send the shutdown signal
Power off the machine

A 4th option could be added:

Keep VM running

Change History (13)

comment:1 by Sander van Leeuwen, 15 years ago

You should use the headless frontend instead then. See the manual.

comment:2 by Grigory, 13 years ago

Of course headless is a workaround, but please note that all other virtual machines (microsoft virtual pc, vmware etc) allows to close the display window without stopping a guest. This is handy if you have multiple GUI guests running (windows or macos) and don't want a lot of windows to clutter your desktop. So if you need to see some VM you just start something like "virtual box manager" and just clicks a running guest to see it's window. This will be very handy for many users, i think. And it's not hard to implement due to a COM/XPCOM nature of guest-to-gui communication.

comment:3 by FogKnight, 9 years ago

Upvote. The new KVM mode available in the Windows version of Vmware is very handy in this regard.

comment:4 by Frank Mehnert, 9 years ago

Description: modified (diff)

Yes, and you can beta-test this feature by compiling VBox from trunk and start the VM with

VirtualBox --startvm VM_NAME --separate

Then (while the VM is running), try to terminate the VM. The dialog will contain an additional entry allowing to terminate the GUI why the VM is kept running. Starting the VM like above will attach the new GUI process to the VM.

comment:5 by Technologov, 9 years ago

FIXED in v5.0

comment:6 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

comment:7 by Ott, 7 years ago

Has this regressed? The option no longer appears in 5.1.26

comment:8 by Technologov, 6 years ago

It exists but in the "View" menu, not in "Close VM' button.

comment:9 by snips, 6 years ago

It's changed again to Machine -> Detach GUI

comment:10 by raarts, 6 years ago

and... it disappeared again (well at least on my OSX it's nowhere to be found). Version 5.2.16 r123759

Last edited 6 years ago by raarts (previous) (diff)

comment:11 by Socratis, 6 years ago

@raarts, it's there, I just saw it. "Machine" -> "Detach GUI". I'm on OSX too, 5.2.16...

comment:12 by ansisys, 5 years ago

And it's gone again. Linux virtualbox v.5.2.20 the option to re-detach (or hide/make it headless again) the running vm is just not there. Can anyone confirm?

comment:13 by vbflex, 5 years ago

this hide and seek game is unbelievable. It has prolonged for 10 year (and counting). Virtualbox Version 6.0.0 r127566 (Qt5.6.3) on MacOS (10.14) still lacks Detach option on normally started (I mean not headless) machines. tested with Ubuntu Xenial64, CentOS7.4, Vmware photon 2

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use