LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   How can I start VirtualBox on a remote machine and log out from the terminal? (http://www.linuxquestions.org/questions/solaris-opensolaris-20/how-can-i-start-virtualbox-on-a-remote-machine-and-log-out-from-the-terminal-661461/)

crisostomo_enrico 08-08-2008 01:46 PM

How can I start VirtualBox on a remote machine and log out from the terminal?
 
Hi.

I'm trying to start a virtual machine on a remote machine and log out from the console. Using nohup with both VBoxHeadless and VBoxManage to start the virtual machine is useless because they spawn other processes and if I try to log out I'm still blocked. Do you know any way to accomplish this?

Thanks,
Enrico.

jlliagre 08-09-2008 02:30 AM

Can you post the whole nohup command line you try that fails ?

crisostomo_enrico 08-09-2008 03:02 AM

Of course jlliagre.

I first tried with
Code:

nohup VBoxHeadless -s winsrv2003 &
and when I exit the shell the shell waits for the VBox process to terminate. If, for example, I shutdown the VB from an RDP connexion, the shell finally exits. The same thing happens if I try with
Code:

nohup VBoxManage startvm winsrv2003 -type vrdp &
Thanks,
Enrico


All times are GMT -5. The time now is 09:45 AM.