If it runs on VirtualBox (which a tramp usually uses):
foreword: you cannot (briefly) interrupt a virtual machine! Therefore, you cannot just open it to start an instance in VirtualBox.
You may find http://www.toptensoftware.com/VBoxHeadlessTray/ useful, it has small errors if you ask me, but it's nice that you need to save what you can do ..
... On the console: you can just do what @ terry-wang wrote:
- suspend
VBoxManage controlvm <NAME_OR_UUID> savestate - reboot with the gui option
VBoxManage startvm <NAME_OR_UUID> --type gui
alternative: run gui manager yourself since terry wrote
return / do headless from gui: VBoxManage startvm <NAME_OR_UUID> --type headless
Update on VirtualBox 5: the VirtualBox GUI has a function to run in the background, which is currently turned on, so the tool is still a shortcut, but not yet needed so as not to force the console to be used
childnoΝ‘.de Jun 18 '15 at 12:44 2015-06-18 12:44
source share