<?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>Somewhere out there! &#187; NX</title>
	<atom:link href="http://stateless.geek.nz/category/tech/nx/feed/" rel="self" type="application/rss+xml" />
	<link>http://stateless.geek.nz</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 01:01:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Been busy</title>
		<link>http://stateless.geek.nz/2006/08/24/been-busy/</link>
		<comments>http://stateless.geek.nz/2006/08/24/been-busy/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 22:10:04 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[NX]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2006/08/24/been-busy/</guid>
		<description><![CDATA[I haven&#8217;t posted much recently as we&#8217;ve been busy with the sale of our house and the hunt for our new house. Our new home will be 600m from work, 500m from a nice park, swimming pool and gym, and 300m from the Onehunga cafe area. Even though I usually work from home, being able [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t posted much recently as we&#8217;ve been busy with the sale of our <a href="http://www.barfoot.co.nz/scripts/db.dll/details?sid=300.2&#038;ref=344979">house</a> and the hunt for our new <a href="http://www.remaxhome.co.nz/show?rd=1&#038;ref=HOME153">house</a>.  Our new home will be 600m from work, 500m from a nice park, swimming pool and gym, and 300m from the Onehunga cafe area.  Even though I usually work from home, being able to walk down to grab some paperwork is going to be much nicer than having to drive for 25 minutes.<br />
Yesterday, I got a good deal on an old Sun Ray 1 via <a href="http://www.trademe.co.nz/Browse/Listing.aspx?id=67008635">Trademe</a>. I&#8217;ll be doing some testing with these in the next couple months and will be comparing SRSS with NX.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2006/08/24/been-busy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thin Clients saving Sun money?</title>
		<link>http://stateless.geek.nz/2006/03/20/thin-clients-saving-sun-money/</link>
		<comments>http://stateless.geek.nz/2006/03/20/thin-clients-saving-sun-money/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 03:49:13 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[NX]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2006/03/20/thin-clients-saving-sun-money/</guid>
		<description><![CDATA[From Thick clients: Betting against the network?, an article from Computerworld: Sun CIO juggles tight budgets, IT integration. This comment particularly was interesting: (Bill) Vass (of Sun) expects to spend about $300 million this year on Sun’s IT needs, a figure that represents about 2% of the company’s expected revenue this year. The average company [...]]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://blogs.sun.com/roller/page/jclingan?entry=betting_against_the_network">Thick clients: Betting against the network?</a>, an article from Computerworld:<a href="http://www.computerworld.com/managementtopics/management/itspending/story/0,10801,109595,00.html?SKC=itspending-109595"> Sun CIO juggles tight budgets, IT integration</a>. This comment particularly was interesting:</p>
<blockquote><p>(Bill) Vass (of Sun) expects to spend about $300 million this year on Sun’s IT needs, a figure that represents about 2% of the company’s expected revenue this year. The average company spends between 3% and 4% of its revenue, most figures show &#8212; and most of Sun’s direct competitors spend far more.</p>
</blockquote>
<p><span id="more-283"></span></p>
<p>For a long time I&#8217;ve been working on building a thin client solution for my business to make life easier for me. I&#8217;ve blogged previously about NX and SRSS, although at that time I can out in favour of NX, I&#8217;m still interested in SRSS. Some trouble with FreeNX and the !machine client, plus lack of good Amd64 support and a seeming slow down in FreeNX development maybe be consider my options again recently. Plus the whole Java Card Sun Ray seems very useful. One of the things holding me back for deciding either way at the moment is a good analysis of the bandwidth requirements.</p>
<p>The spec is complicated by our situation with two main offices and five staff in each office. My original plan was to run a v20z in the colo I&#8217;ve set up and centralise both offices to this server. One office has a 3Mbit wireless link, the other office a 1Mb/386Kb frame link. Its the second link I&#8217;m not sure can handle the bandwidth requirements which has slowed my planning up.</p>
<p>The main reason I&#8217;ve planned to use one core server at a colo is power security, secondly one server makes for easier maintenance. Given bandwidth issues, I might consider setting up a server at the slower office just for those desktops.</p>
<p>However numbers like the above make me realise I&#8217;m on the right track. They also provide me with a good benchmark to consider the cost of these options and how they compare to standard business practice.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/nx" rel="tag"> nx</a>, <a href="http://technorati.com/tag/thinclient" rel="tag"> thinclient</a>, <a href="http://technorati.com/tag/srss" rel="tag"> srss </a></p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2006/03/20/thin-clients-saving-sun-money/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NX and Alt-TAB on Windows</title>
		<link>http://stateless.geek.nz/2005/08/30/nx-and-alt-tab-on-windows/</link>
		<comments>http://stateless.geek.nz/2005/08/30/nx-and-alt-tab-on-windows/#comments</comments>
		<pubDate>Tue, 30 Aug 2005 05:04:56 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[NX]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2005/08/30/nx-and-alt-tab-on-windows/</guid>
		<description><![CDATA[I&#8217;ve been using nxat to redirect ALT-TAB when running the NX Client on Windows. However the latest 1.5 client broke nxat. Today another developer, Srini, has released nxutility which does work with the 1.5 client and is even better than nxat as it runs in the systray. Good job!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://majuric.org/software/nxat/">nxat</a> <a href="http://www.nomachine.com/ar/view.php?ar_id=AR04C00174">to</a> redirect ALT-TAB when running the NX Client on Windows. However the latest 1.5 client broke nxat.  Today another developer, Srini, has released <a href="http://ssrini.netfirms.com/">nxutility</a> which does work with the 1.5 client and is even better than nxat as it runs in the systray. <strong>Good job!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2005/08/30/nx-and-alt-tab-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Xen disk performance</title>
		<link>http://stateless.geek.nz/2005/08/29/xen-disk-performance/</link>
		<comments>http://stateless.geek.nz/2005/08/29/xen-disk-performance/#comments</comments>
		<pubDate>Mon, 29 Aug 2005 08:57:45 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[NX]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2005/08/29/xen-disk-performance/</guid>
		<description><![CDATA[On Friday my NX desktop started playing up a little. So I rebooted. Kernel root VFS mount error! Very nice. After some testing, it was the first time I&#8217;d seen a faulty HDD bring down the Linux kernel even when booting from a Live CD rescue disk. Damn! Luckily, I was using NFS home directories [...]]]></description>
			<content:encoded><![CDATA[<p>On Friday my NX desktop started playing up a little.  So I rebooted.  Kernel root VFS mount error! Very nice. After some testing, it was the first time I&#8217;d seen a faulty HDD bring down the Linux kernel even when booting from a Live CD rescue disk.  <strong>Damn! </strong></p>
<p>Luckily, I was using NFS home directories and avoided  &#8220;where is that month old backup&#8221; mode.<br />
<span id="more-217"></span></p>
<p>When I first started using Xen, I thought I&#8217;d be clever and devolve all services from dom0 to the domUs.  This included the NFS file service running in a Base domU.  Centralising the mail spool, various web roots and databases instances to this Base, making backups and other management easier.  By moving everything including NFS services from the dom0 I  intended to improve the security profile, restricting dom0 to purely domU guest management and dns caching. All the other external services would then run in separate domUs as appropriate to the desired security envelop.</p>
<p>On this colo machine for instance, I have a Base domU providing NFS to a mail domU running smtp and imap.  Then for personal mail use I run mutt on a shell domU. The Base also provides web roots to other domUs and runs mysql instances. All this is being driven by a single 2.8GHz Xeon. I&#8217;m not running a high load desktop domU and not  pushing the hardware.</p>
<p>One of the first problems I noticed was periodically mutt would stall.  Locking up, the interface acting like it was connected via an old 2400 baud link. The stalled session could be restarted quickly by suspending, killing and restarting mutt. It was <em>annoying</em> but I lived with it.  </p>
<p>Later in June I started working on my first NX desktop experiment.  Great I thought,  Xen makes it easy to built a domU snapshot, break my desktop, and then revert without touching the bare metal. Plus I can have one physical machine and not mess up my desktop OS with databases and random libraries to get some interesting application running. </p>
<p>I pulled out an old P4 1.8GHz, added 2Gb of memory and installed with Xen using the same basic template from the colo above.  A Base domU providing NFS, particularily a NFS home directory to the desktop domU. As <a href="http://stateless.geek.nz/2005/06/27/building-freenx-04-on-ubuntu-hoary/">indicated</a> elsewhere in this blog, the FreeNX installation from source was flawlessly. During the following week I experienced a similar annoyance, this time with the whole desktop stalling.  Firefox would periodically act like Netscape waiting for a dns request.  Occasionally the whole NX desktop would halt and I&#8217;d have to wait for a few moments before it started operating again.</p>
<p>As I was busy and didn&#8217;t have time to investigate it much, my initially  thoughts were it was a  single processor contention problem. So I pull out my old desktop machine installed a bare-metal, without Xen, Ubuntu and FreeNX. Then pointing the home directory via NFS back over the network to the initial Base domU.   This time there were less problems.  So for the following two months I was happily working on Ubuntu via NX.  Running large OpenOffice 2.0 and Firefox processes.  Suspending my laptop in the evening, then restarting in the morning right back were I was the prior evening via NX resume.  Almost productivity heaven. </p>
<p>In the meantime a few weeks ago, I pulled the HDD from the P4 1.8GHz which was now purely a server and put it into a spare 2.4GHz Xeon SMP machine. I had the intention of finding a free weekend and testing SMP as a solution to the performance issues. Of course, being Linux I didn&#8217;t even have to bother recompiling the kernel.  </p>
<p>Then of course on Friday the HDD failed on my desktop machine.  I guess this was meant to be this weekend.  Nothing like a hardware fault to kill your fun.</p>
<p>I quickly resurrected the desktop LVM image I&#8217;d  first used. Did a quick apt-get dist-upgrade. Pointed the NFS home directory back at the base domU on the same machine and started trying out &#8216;xm pincpu&#8217; in the host dom0. Same desktop stalling. Even with base and desktop domUs on completely different CPUs.  <strong>Double Damn! </strong></p>
<p>Instead I spent Saturday getting the <a href="http://ulimate.ii.net.nz/">photo</a> <a href="http://gallery.ii.net.nz">gallery</a> imported into <a href="http://www.flickr.com/photos/stateless/">flickr</a> with <a href="http://search.cpan.org/~cpb/Flickr-Upload/Upload.pm">Flick::Upload</a>.</p>
<p>Later in that day while thinking about something else, I had a &#8220;I am stupid brainwave&#8221; moment.  Realising I had been silly in continuing to force over-optimising in the security envelop. NFS Net I/O was stalling when the base domU guest ran out of CPU slice time while requesting LVM Disk I/O via the dom0 block device.</p>
<p>So I moved the <em>NFS files service into the dom0 host.  </em></p>
<p>Without much issue I shutdown all the domains dependent on the NFS service plus the base domU guest. Removed the LVM home and export slices from the base domU guest. Edited all the fstab entries and restarted.  The work of 10 minutes, including the time debugging a typo. Linux/Xen is great.</p>
<p><strong>Pow!</strong> Things started work as they should. The domU based desktop started working flawless, backed by NFS home directories on the xen0 NFS host. For the last couple day I&#8217;ve been back in NX thin client heaven.</p>
<p>Moral of this story. NFS home directories <strong>are good, but not</strong> from a domU.  </p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2005/08/29/xen-disk-performance/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>On desktops. OSX and NX. Thinkpads vs iBooks.</title>
		<link>http://stateless.geek.nz/2005/08/29/on-desktops-osx-and-nx-thinkpads-vs-ibooks/</link>
		<comments>http://stateless.geek.nz/2005/08/29/on-desktops-osx-and-nx-thinkpads-vs-ibooks/#comments</comments>
		<pubDate>Mon, 29 Aug 2005 05:19:04 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[NX]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2005/08/29/on-desktops-osx-and-nx-thinkpads-vs-ibooks/</guid>
		<description><![CDATA[Back in June I decided I&#8217;d try out NX and my MiniMac as a possible active working desktop solution. The genesis for this was mainly based on my decision back in March that iBooks were the best portable solution. Reasonable battery live, hardware/software combination that just works, together. Turns out, working together or only working [...]]]></description>
			<content:encoded><![CDATA[<p>Back in June I decided I&#8217;d try out NX and my MiniMac as a possible active working desktop solution.  The genesis for this was mainly based on my decision back in March that iBooks were the best portable solution.  Reasonable battery live, hardware/software combination that just works, together.<br />
<span id="more-216"></span></p>
<p>Turns out, working together or only working together, was the main issue I keep hitting into.  OSX is just not flexible.  Mac keyboard and mouse, just don&#8217;t work well in any form with X11, Linux consoles or much else other than OSX. After about three weeks of progressively moving applications from the thin client desktop back to the fat OSX client, dealing with Fink, struggling with being forced to copying files back and forth over the network and not wanting to face figuring out how to change all the local OSX uids to match my Linux uids for decent NFS without reinstalling OSX and setting up NIS, I gave up.</p>
<p>So I started using the spare R40 WinXP laptop I had which was in-between jobs.  Within days I was back up to speed.  OpenOffice 2, firefox and mutt. No problems.  Everything just worked again.  Plus with Ubuntu install the desktop and applications became a breeze, apt-get just works. This month at least. <img src='http://stateless.geek.nz/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  With the advent of klik on ubuntu, sanding boxing bleeding edge software just became easier.</p>
<p>The MiniMac is sitting there somewhat lonely now.  Mainly being used for playing iTunes and doing the odd Photoshop job.  As much as I want to like OSX, it is just not flexible enough for a good business desktop.  Too much under the hood that is not quite Unix and requires an Apple degree.  Now my desktop focus is firmly on thin client technology.  I&#8217;ll planning to have move primary work environment into a colo. Then combined with openvpn I&#8217;ll be able to securely access it transparently. The network truly does become my machine. </p>
<p>That said, I still like OSX very much. Its the perfect companion for the non-tech family member.  Web, mail and iTunes. That pretty much covers 90% of primary usage. There are many SIP softphone clients and Skype works very well. I&#8217;ll probably continue to evolve usage patterns for myself on the MiniMac. Mostly these will be play things, and not works. </p>
<p>So the short term plan is a new T52 Thinkpad. 2.0GHz P-M with up to 9 hours of battery life and a 15&#8243; screen. For the same price as a iBook.</p>
<p>Of course next year, when Apple release a x86 based Powerbook, I&#8217;ll probably rethink the above. Dual booting OSX, WinXP and Ubuntu will allow me to have the best of all worlds any time. Plus the P-M based tech will improve the Powerbook battery life sufficiently and making it into a decent mobile workstation and some not glorified portable desktop.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2005/08/29/on-desktops-osx-and-nx-thinkpads-vs-ibooks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sun Rays the Ideal Desktop Hardware? NX vs SRSS.</title>
		<link>http://stateless.geek.nz/2005/08/29/sun-rays-the-ideal-desktop-hardware-nx-vs-srss/</link>
		<comments>http://stateless.geek.nz/2005/08/29/sun-rays-the-ideal-desktop-hardware-nx-vs-srss/#comments</comments>
		<pubDate>Mon, 29 Aug 2005 03:56:40 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[NX]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2005/08/29/sun-rays-the-ideal-desktop-hardware-nx-vs-srss/</guid>
		<description><![CDATA[One of my goals with NX and Xen is to achieve Thin Guy&#8216;s level of desktop support. Zero! Sun Ray = Office Supplies. You can&#8217;t &#8220;Fix&#8221; a Sun Ray. Out of the 33,000 Sun Ray desktops inside of Sun, how many &#8220;desktop&#8221; techs do you think are required to manage that install base? How does [...]]]></description>
			<content:encoded><![CDATA[<p>One of my goals with NX and Xen is to achieve <a href="http://blogs.sun.com/roller/comments/ThinGuy/Weblog/there_is_no_spoon">Thin Guy</a>&#8216;s level of desktop support. <strong>Zero!</strong></p>
<blockquote><p>
Sun Ray = Office Supplies.  You can&#8217;t &#8220;Fix&#8221; a Sun Ray.  Out of the 33,000 Sun Ray desktops inside of Sun, how many &#8220;desktop&#8221; techs do you think are required to manage that install base?  How does the number zero grab you?  On the ultra rare occasion that something happens to your Sun Ray (let&#8217;s say a power supply failure), you replace it and send it back for a warranty replacement (5 years on the SR1g).  In the meantime you walk to the closet, grab a spare and plug it in and pick up exactly where you left off.  Anyone who can replace staples in a stapler or replenish their supply of post-it notes can replace a Sun Ray
</p></blockquote>
<p><span id="more-215"></span><br />
Some people would this say I should just consider using SunRays, but that would force a vendor lock. I&#8217;d have to spend a whole pile of cash now, replacing all my current desktop hardware.  Instead using NX and PXES I can save this whole of cash, spending it later.   Furthermore, it is probably possible to consider a staged migration to a complete SunRay solution, by mixing NX and <a href="http://www.sun.com/software/sunray/">SRSS</a>.  Run SRSS on one Xen domU and NX on another.  NFS home-dir and things are going to work reasonably well. </p>
<p>SunRay/SRSS  vendor lock is a big issue even for those with lots of cash to spend.  Deciding to change and being forced to replace all your very workable SunRays with, say, new HP thin clients is defeating the thin client purpose.  Kinda like paying for a new Windows client license.   Five years is not an unreasonable amount of time for thin client hardware to last, as Suns states with their warranty. However, many software and server system choices will be made over this period  to meet changing an organisations needs, goals and environments. Using SRSS is going to cut down the choices.</p>
<p>That&#8217;s the nice thing about NX, its vendor neutral and pretty much runs everywhere. Even on Solarias.  </p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2005/08/29/sun-rays-the-ideal-desktop-hardware-nx-vs-srss/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remote desktop faster than Local</title>
		<link>http://stateless.geek.nz/2005/07/18/remote-desktop-faster-than-local/</link>
		<comments>http://stateless.geek.nz/2005/07/18/remote-desktop-faster-than-local/#comments</comments>
		<pubDate>Mon, 18 Jul 2005 11:47:20 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[NX]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2005/07/18/remote-desktop-faster-than-local/</guid>
		<description><![CDATA[I happened to have two IBM WinXP laptops on my desktop tonight as I was installing the NX client on one of these machine before my brother goes to China at the end of the week. Anyway, I had a remote NX desktop running on his machine to my colo Xen machine about 256kbps (50ms) [...]]]></description>
			<content:encoded><![CDATA[<p>I happened to have two IBM WinXP laptops on my desktop tonight as I was installing the NX client on one of these machine before my brother goes to China at the end of the week.  </p>
<p>Anyway, I had a remote NX desktop running on his machine to my colo Xen machine about 256kbps (50ms) DSL away and on mine I had the local NX desktop which I&#8217;ve been using as a test install for the past two weeks. Compression was set at modem speeds for the remote and LAN speeds for the local desktops.  I decided I need a test to show off NX off to him and figured a quick look at my <a href="http://gallery.ii.net.nz/">gallery</a> would be good.  And <strong>it was</strong>. It <em>surprised even myself</em>.</p>
<p>The remote desktop loaded this <a href="http://gallery.ii.net.nz/la-sainte-chapelle?page=3">page</a> faster than the local desktop. There was a definitely noticeable difference in page display speed in Firefox.  The quality of the remote desktop on the two screens was hardily different. The thumbnails on the remote were slightly blurry, but not by much.</p>
<p>The remote machine is sitting next (Xen-wise) to the gallery web server and obviously my local desktop load the thumbnails over the DSL link. So this is a certain testament to NX&#8217;s performance given that same page and images were rendered and presented faster from the remote location.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2005/07/18/remote-desktop-faster-than-local/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

