VitrualBox - How to show OS window from headless ?
1 Attachment(s)
Hi All
I'm trying to bring virtual guest from headless mode to gui mode in VirtualBox. But I don't know how to do it. I really appreciate if someone help me on this. I usually run linux virtual machines in headless mode and connect to it through ssh. I have setup tigervnc-server on linux virtual machine, so that i can connect through vncviewer whenever i want to work on gui. But recently, one of my friend said, I can also start virtual machine in headless mode in VirtualBox window by holding <SHIFT> key and press Start. Sure it did, it started in headless mode. But, now I don't know how to bring back window again. Thanks you. |
If it's running in headless mode, there is no window, so I'm not sure I understand the question.
You can connect to VirtualBox via RDP (each VM should have its own unique port) to watch/interact with the boot process or the OS even if it doesn't have a network connection. That's a much better solution than installing a VNC server on the VM IMO. eg: Code:
/usr/bin/nohup /usr/bin/vboxheadless -e "TCP/Ports"=3389 -s "VM Name" &> $HOME/vm_name.log & |
Quote:
Start VirtualBox guest in terminal: Code:
$ VBoxManage startvm kali --type headless Code:
$ ssh root@kali Code:
$ VBoxManage controlvm kali poweroff Code:
$ vncviewer kali:1 Quote:
Thanks |
Quote:
|
@suicidaleggroll, thanks, appreciate it.
|
All times are GMT -5. The time now is 02:18 PM. |