<?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>Hamstar &#187; Linux</title>
	<atom:link href="http://www.hamstar.co.nz/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hamstar.co.nz</link>
	<description>Another Metal Car Computer Geek blog</description>
	<lastBuildDate>Thu, 10 Jun 2010 20:05:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Migrating to a RAID1 array in RHEL5.4</title>
		<link>http://www.hamstar.co.nz/2009/11/29/migrating-to-a-raid1-array-in-rhel5-4/</link>
		<comments>http://www.hamstar.co.nz/2009/11/29/migrating-to-a-raid1-array-in-rhel5-4/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 10:35:29 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[mkinitrd]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rhel5]]></category>
		<category><![CDATA[scsi]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=355</guid>
		<description><![CDATA[OK, so I just had a bitch of a time migrating from a live single disk redhat enterprise linux 5.4 box to a booting dual disk RAID 1 setup&#8230; There is pretty much nothing on the net about this for redhat especially to do with making kernels which almost none of the debian guides seem [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so I just had a bitch of a time migrating from a live single disk redhat enterprise linux 5.4 box to a booting dual disk RAID 1 setup&#8230; There is pretty much nothing on the net about this for redhat especially to do with making kernels which almost none of the debian guides seem to care about.</p>
<p>So I played it by ear and I&#8217;m going to post how I did it so you won&#8217;t have to.  You&#8217;ll need to be using mdadm.  I&#8217;m going to assume the partitions you want raided are /dev/sda1 and /dev/sdb1 and that you are currently booted to /dev/sda1.  A rescue disk will also be helpful.</p>
<p>We are going to get a mirror going with just /dev/sdb1 (empty I hope) in it.  Then we&#8217;ll copy everything over to it so everything is the same after reboot when it does a resync.  Makes your data a bit safer.</p>
<h3>Here we go&#8230;</h3>
<p>Have you tried to setup raid before on these drives?  This checks them for superblocks.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --examine /dev/sda1<br />
mdadm --examine /dev/sda1</div></div>
<p>If it spat up lines like &#8220;ARRAY blah blah UUID=34cd3:etc&#8221;, zero them.  Don&#8217;t worry not dangerous to data.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --zero-superblock /dev/sda1<br />
mdadm --zero-superblock /dev/sdb1</div></div>
<p>OK now we want to copy the partition tables over:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sfdisk -d /dev/sda1 | sfdisk /dev/sdb</div></div>
<p>Now we create the raid array in a degraded mode with the master drive missing and format it to your filesystem.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --create /dev/md0 --level 1 --raid-devices=2 missing /dev/sdb1<br />
mkfs.ext3 /dev/md0</div></div>
<p>Have a look at your new RAID:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --detail /dev/md0<br />
cat /proc/mdstat</div></div>
<p>Now we need to make sure that the kernel modules for scsi and raid are built in to the kernel.  I am not actually sure if this step is needed but it worked on mine.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd /usr/src/kernels/2.6.18-lots-of-numbers/<br />
make menuconfig</div></div>
<p>Now you&#8217;ll be presented with the kernel modules config screen.  Find <strong>Device Drivers</strong> then in <strong>SCSI Device Support</strong>.  In this section we need to make sure a few things have the asterisk in the brackets (should mean built in on the legend).  These things for me were <strong>RAID Transport Class</strong>, <strong>SCSI device support</strong>, <strong>SCSI disk support</strong> and <strong>SCSI generic support</strong>.  Press spacebar on each of them to change the M or blank in the brackets to an asterisk.  Then exit out of it saving your config as you leave.</p>
<p>Now the important part &#8211; creating the kernel image.  This worked for me&#8230; at about the sixth time and exhaustive google searches:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mkinitrd --preload=raid1 --with=raid1 --builtin=raid1 --force-scsi-probe --force-raid-probe /boot/initrd-`uname -r`-raid.img `uname -r`</div></div>
<p>Now you want to modify /boot/grub/grub.conf and /boot/grub/device.map.</p>
<p>Need to make sure we have both devices in there<br />
/boot/grub/device.map:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">(hd0) &nbsp; &nbsp;/dev/sda<br />
(hd1) &nbsp; &nbsp;/dev/sdb</div></div>
<p>Need to make a backup bootloader entry and a raided one too<br />
/boot/grub/grub.conf:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">default=0<br />
fallback=1<br />
timeout=5<br />
splashimage=(hd1,0)/boot/grub/splash.xpm.gz<br />
hiddenmenu<br />
title RHEL RAID<br />
&nbsp; &nbsp; &nbsp; &nbsp; root (hd1,0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; kernel /boot/vmlinuz-2.6.23.1-42 root=/dev/md0 ro rhgb quiet<br />
&nbsp; &nbsp; &nbsp; &nbsp; initrd /boot/initrd-2.6.23.1-42-raid.img<br />
<br />
title RHEL Non-RAID<br />
&nbsp; &nbsp; &nbsp; &nbsp; root (hd0,0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; kernel /boot/vmlinuz-2.6.23.1-42 root=/dev/sda1 ro rhgb quiet<br />
&nbsp; &nbsp; &nbsp; &nbsp; initrd /boot/initrd-2.6.23.1-42.img</div></div>
<p>That boot list boots off /dev/sdb before and loads into the system with the raid array active.  This allows you to add /dev/sda1 into the array.  If it booted off /dev/sda1 (e.g. hd0) then /dev/sda1 would be locked and you would not be able to do the mdadm command.</p>
<p>It also allows you to boot without the raid array if your raid setup failed to boot (i.e. kernel panic).  The setting for root in fstab doesn&#8217;t matter if its set  to /dev/md0, /dev/sda1 still becomes the root drive.</p>
<p>Now install grub on /dev/sdb:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">grub<br />
root (hd1)<br />
setup (hd1)</div></div>
<p>Now change the root device in your fstab to be /dev/md0<br />
/etc/fstab:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/dev/md0 &nbsp; &nbsp;/ &nbsp; &nbsp;ext3 &nbsp; &nbsp;defaults &nbsp; &nbsp;1 &nbsp;1</div></div>
<p>Now we need to copy everything over to the raid array, however it will probably crash out copying with the running system like mine did, but not to worry we are pretty much ready to go here.</p>
<p>Shut down and boot into a linux rescue disk (the first cd of RHEL5.4 has it), and get to the command line, don&#8217;t bother mounting filesystems or anything.<br />
Try this:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --assemble --scan<br />
mdadm --assemble /dev/md0</div></div>
<p>If that doesn&#8217;t work then try this:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --create /dev/md0 --level 1 --raid-devices=2 missing /dev/sdb1 --assume-clean</div></div>
<p>and push y if it asks you to create over another array.</p>
<p>Create mountpoints and mount your drives:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd /mnt<br />
mkdir sda1 md0<br />
mount /dev/sda1 sda1<br />
mount /dev/md0 md0</div></div>
<p>Now copy everything over:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cp -dpRx /mnt/sda1/* /mnt/md0/</div></div>
<p>Wait a while till that is done then reboot.  Hopefully you don&#8217;t get a kernel panic, and it boots up on the degraded /dev/md0 array.  If it does then add your /dev/sda1 in like follows:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --add /dev/md0 /dev/sda1</div></div>
<p>Now you can watch the resync progress like this:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">watch -n 2 cat /proc/mdstat</div></div>
<p>mdadm is pretty smart.</p>
<p>Here&#8217;s some other links that may help you out if you&#8217;re stuck:<br />
<a href="http://wiki.clug.org.za/wiki/RAID-1_in_a_hurry_with_grub_and_mdadm">http://wiki.clug.org.za/wiki/RAID-1_in_a_hurry_with_grub_and_mdadm</a><br />
<a href="http://www.mail-archive.com/linux-raid@vger.kernel.org/msg09672.html">http://www.mail-archive.com/linux-raid@vger.kernel.org/msg09672.html</a><br />
<a href="http://www.debian-administration.org/articles/238">http://www.debian-administration.org/articles/238</a><br />
<a href="http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO-7.html">http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO-7.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2009/11/29/migrating-to-a-raid1-array-in-rhel5-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Process multiple items in command line</title>
		<link>http://www.hamstar.co.nz/2007/12/08/process-multiple-items-in-command-line/</link>
		<comments>http://www.hamstar.co.nz/2007/12/08/process-multiple-items-in-command-line/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 16:00:13 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=134</guid>
		<description><![CDATA[This is great, I saw it somewhere the other day but can&#8217;t remember where.  It is pretty simple too&#8230; sometimes when I do stuff on the command line with cut I try to run multiple commands on the output, but it never works cos I try to it with sed but with this method [...]]]></description>
			<content:encoded><![CDATA[<p>This is great, I saw it somewhere the other day but can&#8217;t remember where.  It is pretty simple too&#8230; sometimes when I do stuff on the command line with <strong>cut</strong> I try to run multiple commands on the output, but it never works cos I try to it with <strong>sed</strong> but with this method it works great.</p>
<p>Check it out:</p>
<blockquote><p>for i in <span style='color:red'>`ps auwx|grep hamstar|cut -f2 -d&#8217; &#8216;`</span>; do <span style='color:blue'>kill $i</span>; done</p></blockquote>
<p>That would kill all the processes that I have started under my username.  Notice the red part is where it takes all the entries (puts each one into $i as it uses it, and the blue part is where it does something with the entries ($i again)).  Adding kill to the start and ; to the end using sed would not work for this.</p>
<p>Ok that might a bit tricky for some of you, especially if you haven&#8217;t come across the miracle of piping yet, let me show you a simpler one.</p>
<blockquote><p>for i in *; do echo $i; done</p></blockquote>
<p>Basically another form of ls but thing of the things you can do with this.  Rename from lowercase to uppercase:</p>
<blockquote><p>for i in *; do mv $i `echo $i|tr [A-Z] [a-z]`; done</p></blockquote>
<p>So its basically limitless to what you can do with this cool thing.</p>
<p>I also found another cool thing while writing this.  Doing the following will covert all characters in a given file to lowercase or uppercase if you changed it:</p>
<blockquote><p>dd file.txt conv=lcase</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2007/12/08/process-multiple-items-in-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open a remote machines window on your desktop</title>
		<link>http://www.hamstar.co.nz/2007/08/21/open-a-remote-machines-window-on-your-desktop/</link>
		<comments>http://www.hamstar.co.nz/2007/08/21/open-a-remote-machines-window-on-your-desktop/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 16:01:53 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=136</guid>
		<description><![CDATA[So I found out a little while ago that the X server can do this thing where it outputs the window from the machine its running on, to a remote machine, also running an X server.  I did this a few times and its pretty damn cool.  Basically you simply open a console, [...]]]></description>
			<content:encoded><![CDATA[<p>So I found out a little while ago that the X server can do this thing where it outputs the window from the machine its running on, to a remote machine, also running an X server.  I did this a few times and its pretty damn cool.  Basically you simply open a console, set the DISPLAY variable to something like 10.0.0.2:0 and it will open on that IP and that display once you add your machine to that machines xhost list.  You follow me?  No?</p>
<p>Okay, here it is broken down.   Lets say, you have two linux boxes, both running GUI&#8217;s, and you want to open gedit on one machine (machine1), but display it on the other machine (machine2):</p>
<p><span id="more-136"></span></p>
<p>Getting the info:</p>
<p>On machine1, open a console and do:</p>
<blockquote><p>ifconfig eth0</p></blockquote>
<p>This should tell you your IP address (e.g. <strong>10.0.0.1</strong>).  Now go to the other machine and do following:</p>
<blockquote><p>xhost 10.0.0.1<br />
ifconfig eth0<br />
echo $DISPLAY</p></blockquote>
<p>OK, that has added machine1 to machine2s receiving trusted list.  Now grab your IP on that box (e.g. <strong>10.0.0.2</strong>) and the DISPLAY number (e.g. <strong>:0</strong>) and go back to machine1.  Do the following:</p>
<blockquote><p>DISPLAY=10.0.0.2:0<br />
export DISPLAY<br />
gedit</p></blockquote>
<p>Now with a bit a bit of luck, gedit should have opened on the other machine.</p>
<p><strong>Handy for:</strong></p>
<ul>
<li>Remote administration!  Put the box under the stairs without a screen or anything, ssh into it and open any windows on your own desktop.</li>
<li>Open stuff on other people desktops!  &#8220;I swear, that porn window came out of nowhere, I clicked nothing!&#8221;</li>
</ul>
<p><strong>Drawbacks:</strong></p>
<ul>
<li>The environment that the sent window runs in is still that of machine1.  So you can&#8217;t access machine2&#8217;s files even though you are using the window on machine2 (unless you set up a samba share or something)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2007/08/21/open-a-remote-machines-window-on-your-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open a program from one linux box on another boxes screen</title>
		<link>http://www.hamstar.co.nz/2007/04/07/open-a-program-from-one-linux-box-on-another-boxes-screen/</link>
		<comments>http://www.hamstar.co.nz/2007/04/07/open-a-program-from-one-linux-box-on-another-boxes-screen/#comments</comments>
		<pubDate>Sat, 07 Apr 2007 11:45:51 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[HOW TOs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[how-to]]></category>

		<guid isPermaLink="false">http://www.telescum.co.nz/hamstar/?p=9</guid>
		<description><![CDATA[How cool would it be to be able run a program from your main computer, but have the window for it come up on say, your laptop while you&#8217;re sitting on your bed?  Thats what I do.
My main problem is that I can&#8217;t get internet on my laptop at home.  I&#8217;m on dialup [...]]]></description>
			<content:encoded><![CDATA[<p>How cool would it be to be able run a program from your main computer, but have the window for it come up on say, your laptop while you&#8217;re sitting on your bed?  Thats what I do.</p>
<p>My main problem is that I can&#8217;t get internet on my laptop at home.  I&#8217;m on dialup and my external modem only connects by serial, which my laptop doesn&#8217;t have.  Problem.</p>
<p>Solution.  I can ssh into my main box which has the modem, connect it to the net and run firefox and it will open it on my laptop screen, using the network.  This is a built in feature of X, the display manager for linux.</p>
<p>This HOWTO assumes the following:</p>
<ol>
<li>You already have ssh setup on the main box</li>
<li>The main box is called serj with an IP of 10.0.0.1</li>
<li>The other box is called malakian with an IP of 10.0.0.4</li>
</ol>
<p>Here&#8217;s how ya do it:</p>
<ol>
<li>Open up a console window</li>
<li>Add the other box to your X &#8220;allow&#8221; list by typing the following:
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">xhost serj</div></div>
<p><br/></li>
<li>Find out your display number and remember it (lets say it is 1).  Type:
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">echo $DISPLAY</div></div>
<p><br/></li>
<li>SSH into your main box from the other box
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ssh serj -l &lt;em&gt;username&lt;/em&gt;</div></div>
<p><br/></li>
<li>Once you&#8217;ve logged in, you need to edit the DISPLAY variable to be the IP and display number (1) of the box you&#8217;re on and export it:
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">DISPLAY=10.0.0.4:1; export DISPLAY</div></div>
<p><br/></li>
<li>Once you&#8217;ve done that check that it is set properly by echo&#8217;ing the DISPLAY variable again.  It should show 10.0.0.4:1
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">echo $DISPLAY</div></div>
</li>
<li>Now simply run a program like firefox from the command line and the window will open on your box:
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">firefox</div></div>
</li>
</ol>
<p>When you run a program it will open with all the settings from your main box.  Unfortunately it won&#8217;t work with 3D games but there are a few things it could be useful for e.g.:</p>
<ol>
<li>Administering one of your screenless servers through an actual GUI (provided you installed with KDE/gnome/some other window manager)</li>
<li>Opening dirty sites on your friends/workmates PC.  Open a console, set your display to your workmates IP/display and run
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">firefox http://nastyjapanesegirls.com</div></div>
<p>.  Of course it will be running of your profile so he won&#8217;t get done for porn if you do this at work&#8230; you will.</li>
</ol>
<p>There is one draw back though, all sound will run on the main box.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2007/04/07/open-a-program-from-one-linux-box-on-another-boxes-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
