<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lyle Backenroth &#187; Virtualbox</title>
	<atom:link href="http://www.lylebackenroth.com/blog/tag/virtualbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lylebackenroth.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 23 Jul 2010 01:07:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Run VirtualBox headless over an SSH session</title>
		<link>http://www.lylebackenroth.com/blog/2009/04/09/run-virtualbox-headless-over-an-ssh-session/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=run-virtualbox-headless-over-an-ssh-session</link>
		<comments>http://www.lylebackenroth.com/blog/2009/04/09/run-virtualbox-headless-over-an-ssh-session/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 00:29:19 +0000</pubDate>
		<dc:creator>lyle</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualbox]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.lylebackenroth.com/blog/?p=351</guid>
		<description><![CDATA[When SSH&#8217;ing into a linux box, you may want to run a VM headless (that is, not dependent on the console X session). TO RDP into your windows box (assuming you are running a Windows VM over Linux), you&#8217;ll want to be sure to engage your -L port:ip-address-of-VirtualBoxHost:port, port forwarding.
Assuming you have VirtualBox remote port [...]]]></description>
			<content:encoded><![CDATA[<p>When SSH&#8217;ing into a linux box, you may want to run a VM headless (that is, not dependent on the console X session). TO RDP into your windows box (assuming you are running a Windows VM over Linux), you&#8217;ll want to be sure to engage your <strong>-L <em>port</em>:ip-address-of-VirtualBoxHost:<em>port</em></strong>, port forwarding.</p>
<blockquote><p>Assuming you have VirtualBox remote port forwarding engaged (which will forward ports into the VM, for example if you&#8217;re running Windows XP as a VirtuaBox VM and you want to RDP into it on port 3389), <a href="http://www.lylebackenroth.com/blog/2008/10/17/virtualbox-port-forwarding-on-a-linux-host/" target="_blank">I discuss port forwarding on VirtualBox hosts, here.</a> Though VirtualBox supports a quick and easy VRDP option to enable for easy RDPing into a box without having to do any of the complex port forwarding, my port-forwarding post explains how to forward <strong><em>other ports</em></strong> to your VM for any other applications or if you want to RDP into your Windows VM on a port other than 3389.</p></blockquote>
<p>To engage the VM over an SSH session, simply type:</p>
<p><code>VBoxHeadless -startvm "Name of VM Here"</code></p>
<p>You can also force VirtualBox&#8217;s VRDP (virtual RDP) via command line by adding the switch &#8220;&#8211;vrdp on&#8221;, though it&#8217;s usually on by default.</p>
<p>If you&#8217;re not sure of the name of the VM, simply type</p>
<p><code>VBoxManage list vms</code></p>
<p>Once running, you can simply run &#8230;</p>
<p><code>rdesktop localhost:3389</code></p>
<p>Assuming you have a -L 3389:ip-address-of-VirtualBox-host:3389 in your original SSH command, and you can now RDP into your Windows XP box which would be running in a VM over Linux.</p>
<p><strong>Source: <a href="http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-2.0-on-a-headless-ubuntu-8.04-server" target="_blank">HowToForge</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lylebackenroth.com/blog/2009/04/09/run-virtualbox-headless-over-an-ssh-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtualbox port forwarding on a Linux Host</title>
		<link>http://www.lylebackenroth.com/blog/2008/10/17/virtualbox-port-forwarding-on-a-linux-host/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=virtualbox-port-forwarding-on-a-linux-host</link>
		<comments>http://www.lylebackenroth.com/blog/2008/10/17/virtualbox-port-forwarding-on-a-linux-host/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 20:50:25 +0000</pubDate>
		<dc:creator>lyle</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualbox]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.lylebackenroth.com/blog/?p=199</guid>
		<description><![CDATA[An excellent article on the subject: Source.
Run these 3 commands from shell. SUDO not required.
VBoxManage setextradata &#8220;name of vm&#8221; &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort&#8221; 2222
VBoxManage setextradata &#8220;name of vm&#8221; &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort&#8221; 22
VBoxManage setextradata &#8220;name of vm&#8221; &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol&#8221; TCP
Where&#8230;


&#8220;name of vm&#8221; is your virtual machine name
ssh is the name of the service. This is _required_ to be unique among the three [...]]]></description>
			<content:encoded><![CDATA[<p>An excellent article on the subject: <a href="http://sk.c-wd.net/wp/2008/01/05/virtualbox-port-forwarding-with-linux-host/" target="_blank">Source.</a></p>
<p>Run these 3 commands from shell. SUDO not required.</p>
<blockquote><p>VBoxManage setextradata &#8220;<strong>name of vm</strong>&#8221; &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/<strong>ssh</strong>/HostPort&#8221; <strong>2222</strong></p>
<p>VBoxManage setextradata &#8220;<strong>name of vm</strong>&#8221; &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/<strong>ssh</strong>/GuestPort&#8221; <strong>22</strong></p>
<p>VBoxManage setextradata &#8220;<strong>name of vm</strong>&#8221; &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/<strong>ssh</strong>/Protocol&#8221; <strong>TCP</strong></p></blockquote>
<p>Where&#8230;</p>
<blockquote>
<ul>
<li>&#8220;<strong>name of vm</strong>&#8221; is your virtual machine name</li>
<li><strong>ssh</strong> is the name of the service. This is _required_ to be <strong>unique</strong> among the three commands.</li>
<li>Ports <strong>2222</strong>, <strong>22</strong>, <strong>TCP</strong> respectively with your desired host port, guest port, and protocol.</li>
</ul>
</blockquote>
<p>&#8230;then shutdown your VM and Virtualbox host application, and restart them.</p>
<p>To Confirm the above settings are in place:</p>
<blockquote><p>VBoxManage getextradata &#8220;<strong>name of vm</strong>&#8221; enumerate</p></blockquote>
<p>To remove the settings made above from the VM: (again substituting the variables as appropriate).</p>
<blockquote>
<blockquote><p>VBoxManage setextradata &#8220;<strong>name of vm</strong>&#8221; &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/<strong>ssh</strong>/HostPort&#8221;</p>
<p>VBoxManage setextradata &#8220;<strong>name of vm</strong>&#8221; &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/<strong>ssh</strong>/GuestPort&#8221;</p>
<p>VBoxManage setextradata &#8220;<strong>name of vm</strong>&#8221; &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/<strong>ssh</strong>/Protocol&#8221;</p></blockquote>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.lylebackenroth.com/blog/2008/10/17/virtualbox-port-forwarding-on-a-linux-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: lylebackenroth.com @ 2010-09-08 00:53:05 -->