[Pkg-virtualbox-devel] Starting a VM remotely

Michael Meskes meskes at debian.org
Sat Feb 2 18:15:01 UTC 2008


> 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.

I added this to http://wiki.debian.org/VirtualBox, actually just
copy&paste. Feel free to expand this and claim this as your work as I
didn't want to put up your name name without asking.

Michael

-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes at jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!



More information about the Pkg-virtualbox-devel mailing list