<?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>thinkMoult &#187; nx</title>
	<atom:link href="http://thinkmoult.com/tag/nx/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkmoult.com</link>
	<description>Seriously who ever reads this description.</description>
	<lastBuildDate>Sun, 08 Apr 2012 03:22:49 +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>Setting up FreeNX (nxserver-freenx) on Gentoo</title>
		<link>http://thinkmoult.com/2009/09/28/setting-up-freenx-nxserver-freenx-on-gentoo/</link>
		<comments>http://thinkmoult.com/2009/09/28/setting-up-freenx-nxserver-freenx-on-gentoo/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 02:48:34 +0000</pubDate>
		<dc:creator>Dion Moult</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[freeedition]]></category>
		<category><![CDATA[freenx]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[nx]]></category>
		<category><![CDATA[nxserver]]></category>
		<category><![CDATA[nxserver-freeedition]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://thinkmoult.com/?p=1041</guid>
		<description><![CDATA[NX is, in laymans&#8217; terms, some fancy technology that allows you to remote desktop control your computer. If you&#8217;ve used VNC before, where VNC simply works by sending screenshots over the internet, NX does cool stuff in between like compression that makes NX much faster and better. NX is a pain to set up. Maybe [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>NX is, in laymans&#8217; terms, some fancy technology that allows you to remote desktop control your computer. If you&#8217;ve used VNC before, where VNC simply works by sending screenshots over the internet, NX does cool stuff in between like compression that makes NX much faster and better.</p>
<p><strong>NX is a pain to set up.</strong> Maybe it&#8217;s just my bad luck that something goes wrong every time I try to set it up, or perhaps I&#8217;m just plain stupid but I find it a pain and it normally makes me feel like chewing my ethernet cable after a while. A long while back I managed to get nxserver-freeedition working fine, but recently it stopped and in the process I decided to switch over to using FreeNX &#8211; an open-source implementation of NX. Here is how I got it up finally, mainly for archival purposes.</p>
<p>Before starting, you may want to clean your system. <tt>unmerge nxclient nxnode nxserver-freeedition nxserver-freenx</tt>, etc, <tt>rm -r /usr/NX</tt> (if freeedition), <tt>rm -r /etc/nxserver</tt> (if FreeNX), remove the nx user and the nx group, <tt>rm -r ~/.nx/</tt> for all users.</p>
<ol>
<li><tt>emerge nxclient</tt></li>
<li><tt>emerge nxserver-freenx</tt></li>
<li><tt>nxsetup --install --setup-nomachine-key --clean --purge</tt> (the &#8211;setup-no-machine key option  means that you just need to use the default key that the nxclient comes with)</li>
<li> Try to connect via nxclient, <tt>tail -f /var/log/messages</tt>, if it complains about the user being locked, do <tt>usermod -p foo nx</tt>, where foo is a password you&#8217;ll use.</li>
<li> Start debugging why it doesn&#8217;t work.</li>
</ol>
<p>When debugging I normally:</p>
<ul>
<li>Make sure SSH works first. Refer to my <a href="http://thinkmoult.com/wp-content/uploads/2009/09/sshd_config.txt">sshd_config</a> (obviously this is specific to my setup, but notice that PasswordAuthentication is set to yes, as that&#8217;s how you&#8217;ll authenticate with NX with nxclient)</li>
<li>Make sure you own your own authorized_keys(2) file, after a while of mucking about you might&#8217;ve screwed the permissions (600).</li>
<li>Check that you&#8217;re pointing at the right authorized_keys(2) file, though I didn&#8217;t need to bother about this with FreeNX, I know that this is a common mistake with nxserver-freeedition</li>
<li>I like to run SSH on port 443, so change to port 443 in /etc/nxserver/node.conf for FreeNX, and if using freeedition in /usr/NX/etc/server.cfg, node.cfg, whatever is specific to your setup.</li>
</ul>
<p>As for my experience switching over to FreeNX from freeedition, honestly in terms of usability it&#8217;s no different at all, but personally in terms of installation procedure FreeNX wins by a mile. But for the moment I&#8217;m just happy <a href="http://thinkmoult.com/2009/05/21/setting-up-ssh-to-work-whilst-at-college/">I won&#8217;t be restricted</a> by my school&#8217;s web filtering system and glitchy, laggy, virus-filled OS. Perhaps when NeatX stabilises a little I might check it out.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://thinkmoult.com/2009/09/28/setting-up-freenx-nxserver-freenx-on-gentoo/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

