<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  
  
  <channel>
    <title>chrisjrob: lug</title>
    <link>https://chrisjrob.com</link>
    <atom:link href="https://chrisjrob.com/tag/lug/feed/index.xml" rel="self" type="application/rss+xml" />
    <description>GNU Linux, Perl and FLOSS</description>
    <language>en-gb</language>
    <pubDate>Fri, 13 Feb 2026 17:22:31 +0000</pubDate>
    <lastBuildDate>Fri, 13 Feb 2026 17:22:31 +0000</lastBuildDate>
    
    <item>
      <title>Installing Debian On A Thin Client Pc</title>
      <link>https://chrisjrob.com/2011/03/13/installing-debian-on-a-thin-client-pc/</link>
      <pubDate>Sun, 13 Mar 2011 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2011/03/13/installing-debian-on-a-thin-client-pc</guid>
      <description>
       <![CDATA[
         
         <p>This Saturday I attended the <a href="http://surrey.lug.org.uk/bab20110312">Surrey Linux User Group meeting</a> 
held at <a href="http://siriusit.co.uk/">Sirius in Addlestone</a>. Mike Judd of 
<a href="http://www.akunagroup.com/">Akuna Group</a> brought along a number of thin client
PCs, along with monitors, keyboards, mice and a switch and set a
challenge for attendees to attempt to install Linux on them.</p>

<p>The thin clients were IGEL thin clients with 1GB RAM and 1GB transcend
flash card. The RAM is plenty for Linux, so the main challenge was
keeping the installation under 1GB, when modern Linux distros are
probably 6gb or so.</p>

<!--more-->

<p>I decided to try installing a minimal version of Debian, running just
the PekWM Window Manager and not much else. This would me the advantage
of the enormous Debian repositories, with all the flexibility that this
provides.</p>

<p>Please note that this is not a howto, in fact I have typed it up a day
later from memory, there are bound to be missing steps in the process,
but hopefully enough to give you the jist of what I did.</p>

<h2 id="the-installation">The Installation</h2>

<p>As usual with thin clients there was no optical drive, I tried using 
<a href="http://linitx.com/viewproduct.php?prodid=12992">my fabulous IODD external hard drive</a> 
to serve up a Debian net install image, but it did not seem to work, not sure why as
the BIOS had a USB-CDROM option. So I had to mount the IODD on my laptop
and transfer the image over to a memory key. Fortunately Debian has a
trick up its sleeve - you can now dd ISOs straight onto a memory stick -
how fantastic is that?! The command was something like this (note that
you write to the drive not to a partition - e.g. <code class="language-plaintext highlighter-rouge">/dev/sdb</code> not
<code class="language-plaintext highlighter-rouge">/dev/sdb1</code>):</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo dd if=/mnt/_iso/debian-squeeze-netinst.iso of=/dev/sdX bs=1M
</code></pre></div></div>

<p>Having set the BIOS to boot first from USB-HDD and next from USB-ZIP (I
can never remember which), I rebooted. Success, I was presented with the
Debian installer, taking the standard installer (non-graphical), I set
the language and keyboard settings and I choose to manually partition
the drive. This was because the guided partitioning reserved 90mb for
swap space, rightly or wrongly I thought this was pretty pointless, and
reduced this to nil. It has to be said that I did have some memory
problems later, and some swap would be advisable.</p>

<p>Towards the end of the Debian installation, it prompted me to select
what type of system I wanted to install, I unchecked all the options, in
order to leave me with a bare Debian system.</p>

<p>The installation finished, I rebooted and removed the USB key.</p>

<h2 id="the-graphical-environment">The Graphical Environment</h2>

<p>Once booted I was faced with a text login prompt. Amazing, a full Debian
system at my finger tips. But no-one was going to be very impressed with
that - I needed a graphical environment. A quick “df” showed me that I
had used 500mb of disk space, so I was already very tight for space.</p>

<p>I installed xserver-xorg and pekwm:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo apt-get install xserver-xorg pekwm
</code></pre></div></div>

<p>But when I tried to run “startx” to enter the graphical environment the
command was not found. For this sort of problem you need “apt-file”.
apt-file is a wonderful program that enables you to find which package
you need for a known command (or other file).</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo apt-get install apt-file
$ sudo apt-file update 
$ apt-file search bin/startx
xfce4-utils: /usr/bin/startxfce4 xinit: /usr/bin/startx`
</code></pre></div></div>

<p>In this instance I wish to know which package includes the file
<code class="language-plaintext highlighter-rouge">bin/startx</code>. I could just search for “startx”, but I will get some
pointless hits, most programs are located in a directory called “bin”,
so searching for <code class="language-plaintext highlighter-rouge">bin/startx</code> will only match bin commands. The output
tells me that the package that I am missing is <code class="language-plaintext highlighter-rouge">xinit</code>, so a quick
apt-get:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo apt-get install xinit
</code></pre></div></div>

<p>Now I can run pekwm with <code class="language-plaintext highlighter-rouge">startx</code>.</p>

<h2 id="configuring-pekwm">Configuring pekwm</h2>

<p>Once into pekwm I was faced with a black screen with a cursor - don’t
panic - that is pekwm in its default state. Right-mouse-click and you
will have the pekwm menu. Hmm, Terminal does not work and there are no
applications listed in the menu. Returning to the terminal with
Ctrl+Alt+F1, I typed Ctrl+c to terminate pekwm and installed xterm
(<code class="language-plaintext highlighter-rouge">$ sudo apt-get install xterm</code>). Running <code class="language-plaintext highlighter-rouge">startx</code> again and this time
selecting Terminal from the pekwm menu worked and I could continue my
work from with pekwm.</p>

<h3 id="debian-menus">Debian Menus</h3>

<p>To get applications in the menu, we could edit the <code class="language-plaintext highlighter-rouge">~/.pekwm/menu</code> file
and add the relevant menus. A better solution is to get the standard
Debian menus working. Firstly you should check that they are not already
working for you, if you have an “Applications” item withing you pekwm
menu, and if it is populated with the Debian applications list, then it
is already working. If not, edit the <code class="language-plaintext highlighter-rouge">~/.pekwm/menu</code> file and look for a
line that looks like this:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>INCLUDE = "debian-menu"
</code></pre></div></div>

<p>And edit it to read:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>INCLUDE = "/etc/pekwm/debian-menu"
</code></pre></div></div>

<p>Now select PekWM from the menu and Reload and you should now have a
properly populated Applications menu.</p>

<h3 id="www-browser">WWW Browser</h3>

<p>Whilst there, add a Web Browser item, for example - see below:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>RootMenu = "Pekwm" {
    Entry = "Terminal" { Actions = "Exec $TERM &amp;" }
    Entry = "Web Browser" { Actions = "Exec x-www-browser &amp;" }
</code></pre></div></div>

<p>This just tells it to run whatever the default X web browser is, which
we can set later.</p>

<p>Now in a terminal window you should install your preferred browser. I
ended up installing iceweasel, but there may be a better more
lightweight browser that requires fewer dependencies. Feel free to
comment with suggestions.</p>

<p>Once installed, the menu option <code class="language-plaintext highlighter-rouge">Web Browser</code> that we created earlier
should be working. If not, then just type:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo update-alternatives --config x-www-browser
</code></pre></div></div>

<p>And select iceweasel (or your preferred browser).</p>

<h3 id="set-desktop-background">Set desktop background</h3>

<p>Now to make the desktop look a little prettier. For my experiment I
downloaded <a href="http://kde-look.org/usermanager/search.php?username=chrisjrob&amp;action=contents">a desktop wallpaper that I created a while ago</a>.
I installed <code class="language-plaintext highlighter-rouge">feh</code> (<code class="language-plaintext highlighter-rouge">$ sudo apt-get install feh</code>), and added the
following to the <code class="language-plaintext highlighter-rouge">~/.pekwm/start</code> file:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>feh --bg-center your-wallpaper.jpg &amp;
</code></pre></div></div>

<h3 id="install-tint2-panel">Install tint2 panel</h3>

<p>Most people expect a panel, although strictly speaking they are not
required. For this experiment though I think we should have one:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo apt-get install tint2
</code></pre></div></div>

<p>And then add the following to the <code class="language-plaintext highlighter-rouge">~/.pekwm/start</code> file:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>tint2 &amp;
</code></pre></div></div>

<h2 id="conclusions">Conclusions</h2>

<p>Well, I think that was about it. People seemed to be impressed that I
had a complete Debian with a GUI environment. Though it has to be said
that I was down to about 250mb of free space by the end, not even enough
to install OpenOffice.</p>

<p>I forgot all about sound, and had to install alsa
(<code class="language-plaintext highlighter-rouge">$ sudo apt-get install alsa</code>). As an experiment I installed Flash, and
tried watching You Tube. Not good - without sound You Tube worked fine,
but with sound the picture disappeared. I had no time to fix this before
the end of the session.</p>

<p>I really enjoyed this challenge, but what about the alternatives? Mike
installed <a href="http://www.slitaz.org/en/">Slitaz</a>, which looked gorgeous,
and used well under 200mb in total. I have been impressed with Slitaz
before, and might be a good option for a project like this.</p>

<p>Thanks to Mike for organising the challenge.</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Surrey LUG Bring-a-Box Meeting</title>
      <link>https://chrisjrob.com/2009/04/11/surrey-lug-bring-a-box-meeting/</link>
      <pubDate>Sat, 11 Apr 2009 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2009/04/11/surrey-lug-bring-a-box-meeting</guid>
      <description>
       <![CDATA[
         
         <p>I’ve just returned from my first <a href="http://surrey.lug.org.uk/Meetings/BringABox/Archive/20090411">Bring-a-Box meeting at Nokia in Farnborough</a>.  I found it hugely enjoyable to have people who actually want to talk about Linux.</p>

<!--more-->

<p>I was introduced to Firestarter, which is a GUI to configure a firewall and share your Internet connection, if you so wish, I’m looking forward to having a play with this.</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>A warm fuzzy feeling</title>
      <link>https://chrisjrob.com/2009/03/22/a-warm-fuzzy-feeling/</link>
      <pubDate>Sun, 22 Mar 2009 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2009/03/22/a-warm-fuzzy-feeling</guid>
      <description>
       <![CDATA[
         
         <p>I apologise in advance for this shameless piece of self-congratulation; but a while ago I wrote about how to Recover Data from a Hard Disk, and I published it also on my local <a href="http://surrey.lug.org.uk/kb/datarecovery">LUG’s knowledgebase</a>.  I have just received an email to say that my instructions have enabled someone to recover two years’ worth of lesson plans for a special-needs teacher.  So I must admit to feeling rather pleased with myself!</p>


       ]]>
      </description>
    </item>
    
  </channel> 
</rss>
