<?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>barns.blog &#187; Linux</title>
	<atom:link href="http://www.barns.co.za/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.barns.co.za</link>
	<description>Richard Barnett's thoughts on Computing, Culture and Life</description>
	<lastBuildDate>Tue, 15 Sep 2009 17:56:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu Netbook Remix and VMware</title>
		<link>http://www.barns.co.za/linux/ubuntu-netbook-remix-and-vmware</link>
		<comments>http://www.barns.co.za/linux/ubuntu-netbook-remix-and-vmware#comments</comments>
		<pubDate>Fri, 11 Sep 2009 14:38:04 +0000</pubDate>
		<dc:creator>Barns</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[a110]]></category>
		<category><![CDATA[Linpus]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.barns.co.za/?p=190</guid>
		<description><![CDATA[With the imminent arrival of my Acer Aspire One A110, I have been preparing myself for setting it up to my satisfaction. The A110 comes with Linpus Linux Lite, which isn&#8217;t really a product for power users. However, the debate is what, if anything, is better, and what will the A110 run.
I am told that [...]]]></description>
			<content:encoded><![CDATA[<p>With the imminent arrival of my Acer Aspire One A110, I have been preparing myself for setting it up to my satisfaction. The A110 comes with Linpus Linux Lite, which isn&#8217;t really a product for power users. However, the debate is what, if anything, is better, and what will the A110 run.</p>
<p>I am told that Ubuntu Netbook Remix works well on the A110 and that it has a fairly decent user interface. With this in mind, I set myself to obtaining a copy. Just under 1GB later, I had the USB image and wanted to try it out. Problem is, VMware Workstation can&#8217;t boot from USB devices and I was too lazy to make a USB device anyway. With a little help from Google, and http://shadow-file.blogspot.com/2009/08/ubuntu-netbook-remix-in-vmware.html, I set about turning the USB image into an ISO. This is fairly easy and is detailed below.</p>
<p>Firstly, the USB .img file is just a file system dump, so it can be mounted fairly easily:</p>
<pre># mount -o loop -t vfat ubuntu-9.04-netbook-remix-i386.img \
/some/mount/point/</pre>
<p>Then, it was a simple case of copying and editing the files. The image is almost suitable for CD, except that it needs isolinux rather than syslinux. This I knew from installing Ubuntu server on a machine without a CD drive last year, then I was going the other way. So:</p>
<pre>$ mv syslinux isolinux
$ mv isolinux/syslinux.cfg isolinux/isolinux.cfg</pre>
<p>Simple as can be. The final stage is just bundling it all up into a CD image:</p>
<pre>$ mkisofs -o ubuntu-9.04-netbook-remix-i386.iso -r -J -l \
-V "Ubuntu-Netbook-Remix 9.04 i386" -b isolinux/isolinux.bin \
-c isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
-boot-info-table /path/to/unr/files/</pre>
<p>And we are done. UNR itself worked fairly well under Workstation and has a good user interface. I am definitely planning on installing it onto my netbook when it arrives!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.barns.co.za/linux/ubuntu-netbook-remix-and-vmware/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First thoughts on (X&#124;K) Ubuntu 8.10 (also, converting between Xubuntu, Kubuntu and Ubuntu)</title>
		<link>http://www.barns.co.za/linux/first-thoughts-on-xk-ubuntu-810-also-converting-between-xubuntu-kubuntu-and-ubuntu</link>
		<comments>http://www.barns.co.za/linux/first-thoughts-on-xk-ubuntu-810-also-converting-between-xubuntu-kubuntu-and-ubuntu#comments</comments>
		<pubDate>Sun, 02 Nov 2008 09:19:16 +0000</pubDate>
		<dc:creator>Barns</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[nvidia drivers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[xubuntu]]></category>

		<guid isPermaLink="false">http://www.barns.co.za/?p=148</guid>
		<description><![CDATA[Well, The Intrepid Ibex has been with us for a few days now and the update of my Xubuntu 8.04 to 8.10 went as smoothly as could be expected. As always, the only thing to break was Xorg, this time because the nvidia-glx-new package has gone. A simple install of the new Nvidia drivers package [...]]]></description>
			<content:encoded><![CDATA[<p>Well, The Intrepid Ibex has been with us for a few days now and the update of my Xubuntu 8.04 to 8.10 went as smoothly as could be expected. As always, the only thing to break was Xorg, this time because the nvidia-glx-new package has gone. A simple install of the new Nvidia drivers package and an execution of nvidia-xconfig and nvidia-settings and we were on our way again.</p>
<p>However, despite the fact that Xubuntu had numerous new features &#8211; most of which can be found in other versions of Ubuntu, I have really grown tired of the minimalist look. Having seen KDE 4 in action on another Kubuntu 8.10 installation, I thought that I would migrate. Now they say that this should be as simple as installing the kubuntu-desktop package, but I disagree. What follows is a guide to switching between the ubuntu-desktop, kubuntu-desktop and xubuntu-desktop packages (and any others such as Gobuntu).<span id="more-148"></span></p>
<p>Many sources on the Internet will suggest that to get Kubuntu from Xubuntu, you just need to install the kubuntu-desktop package &#8211; but I will contest that this is simply not enough. To do this properly, I feel that you must use Aptitude, as apt-get (and graphical based managers such as Synaptic and Adept) are just not good enough.</p>
<p>This article assumes that you can use Aptitude already, and will just fly though the requirements for removing (x|k)ubuntu-desktop and installing (x|k)ubuntu-desktop. First navigate to the meta-package you are migrating from &#8211; in my case xubuntu-desktop and remove it (press &#8216;-&#8217;).  This will not, however, remove any of the packages on which it depends. As many of these are Xubuntu specific we wish to remove them as well. So next navigate down the list of Depends on and Recommends packages and remove those too. (It suffices to press &#8216;-&#8217; on the line which says &#8220;Depends&#8221;.) This will break a lot of packages, this is expected.</p>
<p>Then navigate to the meta-package you wish to install (in my case kubuntu-desktop) and install it (&#8217;+'). You will find that this will fix many of the the broken packages, but not all. Pressing &#8216;e&#8217; will bring up the Resolver and you will need to work through these one at a time. In many cases this equates to removing the associated -data package, or not removing the package at all. I found that the built in resolver was not helpful with this many broken packages. This process took roughly 20 mins. Thereafter, pressing &#8216;g&#8217; twice removes the old and installs the new. As an aside, however, I recommend running Aptitude again to remove other unnecessary packages. You may also wish to purge the config files of those packages you are not using. A reboot later and I had Kubuntu 8.10 working perfectly, and what a delight it seems to be&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.barns.co.za/linux/first-thoughts-on-xk-ubuntu-810-also-converting-between-xubuntu-kubuntu-and-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 8.10</title>
		<link>http://www.barns.co.za/linux/ubuntu-810</link>
		<comments>http://www.barns.co.za/linux/ubuntu-810#comments</comments>
		<pubDate>Tue, 21 Oct 2008 14:30:49 +0000</pubDate>
		<dc:creator>Barns</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.barns.co.za/?p=138</guid>
		<description><![CDATA[
Well, its been six months since the Release of Ubuntu 8.04 and its almost time for us to say goodbye to the Heron which has been with us for such a smattering of time. It will continue to live on in the Ubuntu servers&#8230;
Get ready to welcome the Intrepid Ibex, as it makes its appearance [...]]]></description>
			<content:encoded><![CDATA[<div class="alignright size-full wp-image-69" style="margin: 5px 15px;"><script src="http://www.ubuntu.com/files/countdown/display.js" type="text/javascript"></script></div>
<p>Well, its been six months since the Release of Ubuntu 8.04 and its almost time for us to say goodbye to the Heron which has been with us for such a smattering of time. It will continue to live on in the Ubuntu servers&#8230;</p>
<p>Get ready to welcome the Intrepid Ibex, as it makes its appearance on October 30th.</p>
<p>So, with the countdown edging ever closer, what can we expect from 8.10? The official Technical Overview of the Beta release indicates that we can expect GNOME 2.24 (which is unsurprising as Ubuntu&#8217;s releases track the GNOME releases) which includes a few new features. We can also expect the 2.6.27 release of the Linux kernel, and X.Org 7.4. On the feature side we now get support for an encrypted private directory, and guest sessions (don&#8217;t those go hand in hand, so well).</p>
<p>That&#8217;s just some of the new features, but I cant help thinking that another new X.Org and the new Network Manager will make Ubuntu even easier and more likely to break.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.barns.co.za/linux/ubuntu-810/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Layout with Graphviz</title>
		<link>http://www.barns.co.za/research/masters/layout-with-graphviz</link>
		<comments>http://www.barns.co.za/research/masters/layout-with-graphviz#comments</comments>
		<pubDate>Sun, 22 Jun 2008 19:06:00 +0000</pubDate>
		<dc:creator>Barns</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Masters]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[Graphviz]]></category>

		<guid isPermaLink="false">http://www.barns.co.za/?p=30</guid>
		<description><![CDATA[Writing code to draw graphs rather than using a tool such as Visio sounds like a dream come true, but it comes at a price. Graphviz is a nifty tool which does just this. In this sense, I refer to real graphs, those which have nodes and edges connect nodes together.
Conceptually, and practically, it works [...]]]></description>
			<content:encoded><![CDATA[<p>Writing code to draw graphs rather than using a tool such as Visio sounds like a dream come true, but it comes at a price. Graphviz is a nifty tool which does just this. In this sense, I refer to real graphs, those which have nodes and edges connect nodes together.</p>
<p>Conceptually, and practically, it works pretty well, but its layout engine does not always produce something visually appealing, or simple. It tool a wile to discover how to force it to draw nodes in a specific order. It turns out that you connect them with an edge. Sounds silly to add unwanted edges, but you can tell Grahviz that these nodes are invisible. This allows the problem to be solved.</p>
<p>In practice, it still takes forever to do, as it really is a trial and error process. Despite this, it still produces very nice graphics. Unfortunately it cant produce EPS out of the box, but it will create PostScript. If you use the &#8220;ps&#8221; type (rather than the &#8220;ps2&#8243; type) it is a simple matter of running ps2epsi on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.barns.co.za/research/masters/layout-with-graphviz/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a CVS Server in Ubuntu Hardy</title>
		<link>http://www.barns.co.za/linux/setting-up-a-cvs-server-in-ubuntu-hardy</link>
		<comments>http://www.barns.co.za/linux/setting-up-a-cvs-server-in-ubuntu-hardy#comments</comments>
		<pubDate>Tue, 10 Jun 2008 11:43:35 +0000</pubDate>
		<dc:creator>Barns</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[cvsd]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[pserver]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.barns.co.za/?p=29</guid>
		<description><![CDATA[I spent a little time yesterday looking for information on how to set up a CVS pserver in Hardy. Whilst I did find some useful information, ultimately I had to set it up with the exclusive help of the CVS manual. In Debian distros there is a package called cvs and another called cvsd. Now [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a little time yesterday looking for information on how to set up a CVS pserver in Hardy. Whilst I did find some useful information, ultimately I had to set it up with the exclusive help of the CVS manual. In Debian distros there is a package called <strong>cvs</strong> and another called <strong>cvsd</strong>. Now having never used CVS before, I assumed that one was a client and the other a server. How very, very wrong!</p>
<p>By reading the manual, it was clear that CVS can run in server mode &#8211; also known as pserver, but it is a single binary. After spending some time browsing the Internet, I understood that cvsd is simply a chroot wrapper to cvs which attempts to overcome the security flaws in CVS.</p>
<p>This is the process I took to installing a working pserver:<span id="more-29"></span></p>
<pre>$ sudo apt-get install cvs cvsd</pre>
<p>This eventually prompts you to choose which repositories you want to configure cvsd for. This wasn&#8217;t really helpful as dpkg configuration explained that this was far from all the config required to set up a repository. Because of this, I didn&#8217;t change the defaults at this stage.</p>
<p>By default, cvsd is configured to store its repositories in /var/lib/cvsd/ which is a default I stuck with. You can change this in the cvsd config file (more later) but then you have to rebuild the cvsd root as it stores a full, yet minimal, environment in that folder for use as a chroot. The default method of creating a repository is to:</p>
<pre>$ sudo mkdir /var/lib/cvsd/reponame</pre>
<pre>$ sudo chown cvsd:cvsd /var/lib/cvsd/reponame</pre>
<pre>$ sudo -u cvsd cvs -d /var/lib/cvsd/reponame init</pre>
<p>This will setup a functioning CVSROOT in /var/lib/cvsd/reponame/ but the pserver is not yet configured to make use of it. You could have configured cvsd to permit access to the repository when dpkg prompted you on install, but if you didn&#8217;t or need to add more at a later stage, you can edit the cvsd config file at /etc/cvsd/cvsd.conf and add the following to it:</p>
<pre>Repos /reponame</pre>
<p>This is relative to the RootJail path (default is /var/lib/cvsd, as I said before). The RootJail property can also be edited in this config file. You can have as many Repos lines as needed for your sever.</p>
<p>This is all that is required to get a basic pserver going, but for security considerations, I would suggest you at least password protect any write access to it. This can be done by following the classical methods for configuring a pserver, but cvsd also provides a utility to perform this.</p>
<pre>$ sudo -u cvsd cvsd-passwd +username</pre>
<p>This command will prompt you for a password. Similarly, you can use -username to remove a username. If a username already exists, this utility will change the password of the existing user.</p>
<p>For easy backup purposes, I decided to install all my repositories in a single folder inside the /var/lib/cvsd/ folder, soas to easily differentiate them from the chroot environment which is setup.</p>
<p>If you decided to move the RootJail, or if you upgrade cvs, you need to rebuild the cvsd root. This is done by performing the following command:</p>
<pre>$ sudo cvsd-buildroot /path/to/root</pre>
<p>This has to be performed every time cvs is updated as it copies the cvs binary into the fake root.</p>
<p>Remember that to give your pserver access to the outside world, you will need to permit TCP port 2401 to be accessible &#8211; unless you change it in the config. Be warned of the security implications of doing so.</p>
<p>There may be a better method doing this, but it works for me <img src='http://www.barns.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.barns.co.za/linux/setting-up-a-cvs-server-in-ubuntu-hardy/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
