[Pkg-virtualbox-devel] Starting a VM remotely
Cyril Brulebois
cyril.brulebois at enst-bretagne.fr
Thu Jan 31 13:37:36 UTC 2008
On 31/01/2008, Frank Mehnert wrote:
> But what about vnc/xvnc?
As Torsten pointed out already, a “nogui” option would really be
helpful. I'd like to post a tiny summary on how to remotely start
virtual machines using vnc, in case someone else reaches this
discussion.
Remote:
- log onto your remote box
- install tightvncserver
- launch it (you don't need a display), pick a password
- determine which port it is using, a way to do so:
netstat -tap | grep vnc
(there are probably other ways to do so, but that works)
Let's say it's 5901
- unlog from there since the server forked in the background
Local:
- install xtightvncviewer
- create a ssh tunnel to your box:
ssh -L 5901:localhost:5901 you at remote
- use it: (note there are two colons)
xtightvncviewer localhost::5901
- then VBoxManage startvm $yourvm &
- and start as many virtual machines as wanted.
As I understand it, those VMs would die if the server is shut down
(although I didn't test it).
Cheers,
--
Cyril Brulebois
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20080131/3acaad58/attachment.pgp
More information about the Pkg-virtualbox-devel
mailing list