Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How could we close GUI session in virtual box without shutting down the virtual machine. I have a lot of Linux instances I only need to connect to one of them.

share|improve this question
    
Do you want to change to a different terminal? Ctrl-alt-F1 is your friend. –  Robert Jan 6 '12 at 8:07
    
No, I want to close the GUI session and the VM doesn't shut down. Like what we do in xen or kvm. –  Majid Azimi Jan 6 '12 at 8:10
add comment

2 Answers

This has already been answered already, but...

With Virtualbox 4.2 and later, there is a quiet little option to start the VM in headless mode. Simply select your VM, then while holding SHIFT down, click Start. This will run the VM in headless mode. Note that there is still no way to "detach" from the VM in GUI mode, but you can suspend the VM with Save State and restart in headless mode.

Better yet, only run in headless mode and use RDP/VNC to manage. phpVirtualBox is a decent web interface to remotely manage VirtualBox instances.

Source: https://blogs.oracle.com/fatbloke/entry/creating_and_using_vm_groups

share|improve this answer
add comment
up vote 1 down vote accepted

I asked this question in ask.fedora:

Don't open a GUI session in the first place, use the headless version of VirtualBox:

Otherwise, when you close your session, you close all the programs you were running inside, including the hypervisor.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.