<?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>lesslinux.org Development Blog</title>
	<atom:link href="http://blog.lesslinux.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lesslinux.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 04 Feb 2011 20:22:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Building LessLinux &#8211; stage03, the final ISO</title>
		<link>http://blog.lesslinux.org/building-lesslinux-stage03-the-final-iso/</link>
		<comments>http://blog.lesslinux.org/building-lesslinux-stage03-the-final-iso/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 20:21:48 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Packages and Architecture]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=200</guid>
		<description><![CDATA[So now you are ready building the chroot environment &#8211; then it is time to assemble the final ISO. To do this you need an overlay containing some configuration files for the bootloader. I packaged such an overlay for the current LessLinux Search and Rescue: lesslinux-search-and-rescue-uluru-20110202-155012-overlays-en.tar.bz2. You&#8217;ll find more recent overlays here: http://download.lesslinux.org/overlays/, but when [...]]]></description>
			<content:encoded><![CDATA[<p>So now you are ready building the chroot environment &#8211; then it is time to assemble the final ISO. To do this you need an overlay containing some configuration files for the bootloader. I packaged such an overlay for the current LessLinux Search and Rescue: <a href="http://download.lesslinux.org/overlays/lesslinux-search-and-rescue-uluru-20110202-155012-overlays-en.tar.bz2">lesslinux-search-and-rescue-uluru-20110202-155012-overlays-en.tar.bz2</a>. You&#8217;ll find more recent overlays here: <a href="http://download.lesslinux.org/overlays/">http://download.lesslinux.org/overlays/</a>, but when building care that overlay and buildscripts match. Unpack the overlay in the folder <tt>/mnt/archiv/LessLinux</tt>.<span id="more-200"></span></p>
<h3>Building</h3>
<p>The building again involves builder.rb. This time more parameters are needed:</p>
<pre>    ruby builder.rb -u -n -s 1,2,bootconf \
        -p config/pkglist_neutral_rescue.txt \
        -c config/general_neutral_rescue.xml \
        -b config/branding_neutral_rescue.xml \
        -k config/kernels_rescue_unstable.xml > ../../llbuild/stage03.log 2>&#038;1</pre>
<p>The parameters are as follows: </p>
<ul>
<li>-u: build unstable, must match stage02</li>
<li>-s: skip stages 1 and 2 and skip the generation of boot configuration files</li>
<li>-p: use this package list</li>
<li>-c: use this configuration file (specifies paths like the overlay)</li>
<li>-b: use this branding</li>
<li>-k: use the kernels noted here</li>
</ul>
<p>You might also use <tt>--full</tt> to build an ISO containing all files from the chroot environment &#8211; this is self containing and can be used for building. Or use <tt>--skip-files</tt> to specify a filename containing a list of files to omit. After 30 to 40 minutes you&#8217;ll find the new ISO in <tt>/mnt/archiv/LessLinux/llbuild/stage03</tt>.</p>
<p>My next post will tell how to customize kernels and branding.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/building-lesslinux-stage03-the-final-iso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building LessLinux &#8211; stage02</title>
		<link>http://blog.lesslinux.org/building-lesslinux-stage02/</link>
		<comments>http://blog.lesslinux.org/building-lesslinux-stage02/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 13:11:21 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Packages and Architecture]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=186</guid>
		<description><![CDATA[Besides the switch to SQLite there are other big changes regarding the build of stage02, which is the population of the chroot environment:


LessLinux now supports tracking of dependencies after building packages. This allows to define the order of packages to build.


As a consequence of the dependency tracking it is now also possible to parallelize the [...]]]></description>
			<content:encoded><![CDATA[<p>Besides the switch to SQLite there are other big changes regarding the build of stage02, which is the population of the chroot environment:</p>
<ul>
<li>
<p>LessLinux now supports tracking of dependencies after building packages. This allows to define the order of packages to build.</p>
</li>
<li>
<p>As a consequence of the dependency tracking it is now also possible to parallelize the build. On a three core Athlon this brought down build times from around three days to less than 20 hours. With a faster machine you should even get better results.</p>
</li>
</ul>
<p> <span id="more-186"></span></p>
<h3>Prerequesites</h3>
<p>I assume that you already built stage01 on the same machine. If not, just create the directories as we did in the last article and mount the hard disk or partition containing sources and the stage01 chroot. The unprivileged user is not required this time.</p>
<h3>Building</h3>
<p>I prefer redirecting the console messages to a log file (and &#8220;tailing&#8221; it in another terminal). The build and install of the respective pacakges are separately logged to an package specific log file. I will later show how to analyze and them. So change to the build directory and run:</p>
<pre>        ruby -I. builder.rb -s 1,3 -n -u -l -t 7 > /tmp/stage02.log 2>&#038;1</pre>
<p>This command uses six threads maximum. It really depends on your machine how many is ideal. As a rule of thumb, take twice the number of processor cores plus one. Less than three do not make sense, and above ten too many seeks may appear. Anyway: If you have a pretty fast box with a six core processor and you are maybe building on a SSD: try 15 or 20 threads and tell me how it compares to just ten.</p>
<h3>Trouble</h3>
<p>You will occasionally run into a problem where no modified files were found. In this case the builder exits. To find out which package is affected just grep for &#8220;no modified&#8221; in the log file:</p>
<pre>        grep -A2 -i 'no modified' /tmp/stage02.log</pre>
<p>This is most likely due to some race condition: The build or install script is not yet closed, but the builder already tries to run it. Take a look at the files <tt>/mnt/archiv/LessLinux/llbuild/stage02/build/packagename-version.build.log</tt> and <tt>packagename-version.install.log</tt>. If it reads <i>bad interpreter &#8230; text file busy</i> this is the problem. Sometimes the maximum number of open files is the problem, so you should compare the current number of open files with the maximum number during the threaded build.</p>
<p>To re-build the affected package delete the package and the file <tt>/tmp/LessLinux_Emergency_Exit</tt> and run the builder again:</p>
<pre>        rm -rf /mnt/archiv/LessLinux/llbuild/stage02/build/packagename-version* /tmp/LessLinux_Emergency_Exit
        ruby -I. builder.rb -s 1,3 -n -u -l -t 7 >> /tmp/stage02.log 2>&#038;1</pre>
<p>When restarting the build all packages already built are ignored and the builder picks up where it left.</p>
<p>The next post will show how to assemble a working live system from the freshly created stage02.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/building-lesslinux-stage02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building LessLinux &#8211; stage01</title>
		<link>http://blog.lesslinux.org/building-lesslinux-stage01/</link>
		<comments>http://blog.lesslinux.org/building-lesslinux-stage01/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 07:48:38 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Packages and Architecture]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=162</guid>
		<description><![CDATA[Many changes were added since my first description of how to build LessLinux. There are two major changes that are worth noting most:


We switched from MySQL to SQLite3 as database during build


LessLinux is self containing now, this means you can use LessLinux to build LessLinux to build LessLinux&#8230;


The stage01 build of LessLinux very closely resembles [...]]]></description>
			<content:encoded><![CDATA[<p>Many changes were added since my first description of how to build LessLinux. There are two major changes that are worth noting most:</p>
<ul>
<li>
<p>We switched from MySQL to SQLite3 as database during build</p>
</li>
<li>
<p>LessLinux is self containing now, this means you can use LessLinux to build LessLinux to build LessLinux&#8230;</p>
</li>
</ul>
<p>The stage01 build of LessLinux very closely resembles the chapter <a href="http://www.linuxfromscratch.org/lfs/view/development/chapter05/chapter05.html">Chapter 5 &#8211; Constructing a Temporary System</a> from <a href="http://www.linuxfromscratch.org/">Linux from Scratch</a>. You&#8217;ll even notice similar environment variables. There will always be slight differences in package versions &#8211; this is intended. So you might be able to build LessLinux on any machine equipped with the right programs to build Linux from Scratch. But in my opinion do one of the two following things:<span id="more-162"></span></p>
<ul>
<li>
<p>Setup a clean Ubuntu 10.04 LTS and install all necessary packages by running<br /><tt>apt-get install ` wget -O - http://download.lesslinux.org/builder/packagelists/20110202_ubuntu_1004_packages.txt `</tt></p>
</li>
<li>
<p>Download the latest FULL ISO, a build of LessLinux containing compilers, headers and stuff. FULL ISO images are currently around 1.5GB and they allow you to build LessLinux without having to permanently setup a build environment. As of this post being written the current FULL ISO is <a href="http://download.lesslinux.org/testing/lesslinux-search-and-rescue/lesslinux-search-and-rescue-uluru-20110202-155012-FULL-en.iso">lesslinux-search-and-rescue-uluru-20110202-155012-FULL-en.iso</a></p>
</li>
</ul>
<p>I strongly recommend to take a dedicated build box &#8211; with the FULL ISO and an USB hard drive the conversion will be temporary. This can be some fairly recent PC (2GHz, 1GB RAM) and a USB hard drive (30GB upwards &#8211; a 32GB thumb drive might also do the job). In the mid term we will concentrate on the self containing builds, so it&#8217;s best to get used to building with FULL ISO. The FULL ISO might also be a good starting point for anyone diving into Linux from Scratch since the versions of GCC and Glibc are usually close to those in LFS.</p>
<h3>Directories and users</h3>
<p>You have great freedom on directory layout and the unprivileged user that is used for building some packages, but for start you should stick with the defaults in LessLinux. </p>
<ul>
<li>
<p>I use <tt>/mnt/archiv/LessLinux</tt> as base for building. This path is used in the default config, so I suggest to keep it by mounting a dedicated build partition to <tt>/mnt/archiv/LessLinux</tt>:</p>
<p><tt>mkdir -p /mnt/archiv/LessLinux<br />mkfs.ext3 /dev/sdx1<br />mount /dev/sdx1 /mnt/archiv/LessLinux<br />mkdir /mnt/archiv/LessLinux/llbuild<br />mkdir /mnt/archiv/LessLinux/llbuilder<br />mkdir /mnt/archiv/LessLinux/src</tt></li>
<li>
<p>Add an unprivileged user for building. He must have <tt>/bin/bash</tt> as a shell, otherwise the build will fail. The default scripts use <tt>mattias</tt> as unprivileged user:</p>
<p><tt>adduser -s /bin/bash mattias</tt></p>
</li>
</ul>
<h3>Downloading and Building</h3>
<p>You&#8217;ll need some buildscripts from <a href="http://download.lesslinux.org/src/">http://download.lesslinux.org/src/</a>. Take either the most recent ones or some that match a certain version you want to build. As I write this, <a href="http://download.lesslinux.org/src/lesslinux-search-and-rescue-uluru-20110202-155012-buildscripts.tbz">lesslinux-search-and-rescue-uluru-20110202-155012-buildscripts.tbz</a> is recommended.</p>
<ul>
<li>
<p>Go to the directory <tt>/mnt/archiv/LessLinux/llbuilder</tt> where you unpack the tarball:</p>
<p><tt>tar xvjf *-buildscripts.tbz</tt></p>
</li>
<li>
<p>Edit the file <tt>lesslinux-builder/config/general.xml</tt> and change the node <tt>unpriv</tt> to contain the username of the unprivileged user created above</p>
</li>
<li>
<p>Change to the newly created directory <tt>lesslinux-builder</tt>, from there run:</p>
<p><tt>ruby -I. builder.rb -s 2,3 -n -u</tt></p>
</li>
</ul>
<p>This tells the builder to do an unstable (<tt>-u</tt>) build (glibc 2.12 and kernel 2.6.37 instead of glibc 2.11 and kernel 2.6.36). In a view days, I&#8217;ll move it to stable and take 2.6.38-rc and glibc 2.13 as unstable. The <tt>-n</tt> tells to omit tests. When making changes to stage01, you would probably omit this to run tests to discover problems. Finally <tt>-s</tt> makes the builder skipping stages 2 and 3.</p>
<h3>Cleaning up</h3>
<p>The build will now take somewhere between two and eight hours, strongly depending on how fast your machine is. After the build, the freshly created chroot environment and the database file containing will be backed up so that you can start any stage02 build without having to re-build stage01. Thus you should delete the build directory for stage01:</p>
<p><tt>rm -rf /mnt/archiv/LessLinux/llbuild/stage01/build</tt></p>
<h3>And the next step&#8230;</h3>
<p>Tomorrow I&#8217;ll describe how to build stage02 &#8211; which means building all packages in a chroot environment &#8211; and finally assembling an ISO image from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/building-lesslinux-stage01/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Release: LessLinux Search and Rescue 1.5</title>
		<link>http://blog.lesslinux.org/release-lesslinux-search-and-rescue-1-5/</link>
		<comments>http://blog.lesslinux.org/release-lesslinux-search-and-rescue-1-5/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 12:43:46 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Cheatcodes]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Screenshots]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=139</guid>
		<description><![CDATA[I am proud to present release 1.5 of LessLinux Search and Rescue. This is the first stable, open and free release from a series of rescue and recovery systems previously featured in magazines like Computer Bild. The CD targets both users unfamiliar with linux who are in search of a easy to handle live system [...]]]></description>
			<content:encoded><![CDATA[<p>I am proud to present <strong>release 1.5 of LessLinux Search and Rescue</strong>. This is the first stable, open and free release from a series of rescue and recovery systems previously featured in magazines like Computer Bild. The CD targets both users unfamiliar with linux who are in search of a easy to handle live system as well as administrators or anyone familiar with linux. For the latter group the command line offers tools found on every better rescue system, but also many &#8220;cheatcodes&#8221; (boot options) to enable netboot or remote administration via VNC. The former group finds some convenient graphical wrappers for typical tasks like resetting Windows passwords or wiping hard disks.</p>
<div align="center"><a href="http://images.lesslinux.org/20110110_desktop.png"><img src="http://images.lesslinux.org/20110110_desktop_sml.png" /></a></div>
<p><span id="more-139"></span></p>
<h2>What&#8217;s new?</h2>
<ul>
<li>Linux kernel 2.6.36.2</li>
<li>The bootloader automatically detects if a PAE kernel has to be booted or not</li>
<li>Xorg 7.6 with Xserver 1.9.3 and KMS enabled for Intel and AMD/Ati chipsets</li>
<li>XFCE 4.6.2 as desktop environment</li>
<li>Namoroka (Firefox) 3.6.13</li>
<li>Minefield (Firefox) 4.0b8 (start with the command <tt>firefox40</tt>)</li>
<li>Lanikai (Thunderbird) 3.1.7 with Enigmail and Lightning</li>
<li>Abiword 2.8.6</li>
<li>Gnumeric Spreadsheet 1.10.12</li>
<li>Grsync 1.1.1</li>
<li>Gparted 0.7.0</li>
<li>KeePassX 0.4.3</li>
<li>Xfburn 0.4.3</li>
<li>Brasero 2.32.1</li>
<li>Partition Image 0.6.9</li>
<li>TrueCrypt 7.0a</li>
<li>TestDisk/PhotoRec 6.12-WIP</li>
<li>BusyBox 1.18.1</li>
</ul>
<h2>Download and Install</h2>
<p>To download, select one of the ISO-Images linked below: LessLinux Search and Rescue 1.5 is currently available in German and English:</p>
<ul>
<li><a href="http://download.lesslinux.org/releases/lesslinux-search-and-rescue/lesslinux-search-and-rescue-uluru-20110110-081814-en.iso">lesslinux-search-and-rescue-uluru-20110110-081814-en.iso (English)</a></li>
<li><a href="http://download.lesslinux.org/releases/lesslinux-search-and-rescue/lesslinux-search-and-rescue-uluru-20110110-081814-de.iso">lesslinux-search-and-rescue-uluru-20110110-081814-de.iso (German)</a></li>
</ul>
<p>Please compare the SHA1SUMs after downloading:</p>
<pre>        188210364ac91a13ec3b62f45e1787b3044878ed  lesslinux-search-and-rescue-uluru-20110110-081814-de.iso
        329db06d9340a3f25235ffa7f0d0e5b6b5d701d8  lesslinux-search-and-rescue-uluru-20110110-081814-en.iso</pre>
<p>You might burn the ISO to a blank CD or DVD. Since the ISO images are prepared with &#8220;isohybrid&#8221; you can also directly copy them to a USB thumb drive. On Linux use the command:</p>
<pre>        dd if=lesslinux-search-and-rescue-uluru-20110110-081814-??.iso of=/dev/sdx</pre>
<p>On Windows, download <a href="https://launchpad.net/win32-image-writer">Win32ImageWriter</a>, rename the .iso to .img, format the thumb drive and use Win32ImageWriter to copy the image to the drive.</p>
<p>You might also install to an USB thumb drive of at least 2GB size by booting from CD/DVD. In this case the thumb drive will be partitioned into two volumes: The first volume will be FAT32 and accessible from Windows, the second partition will be EXT2 and only accessible from linux. During installation you can decide whether to create an encrypted container that will continue your home directory. This is useful to store shell scripts, book marks, logins for web pages etc.</p>
<h2>VNC access</h2>
<p>There are three boot options that start a VNC server instead of a local X-Server.</p>
<ul>
<li><b>Unsafe local VNC access</b> Allow anyone to connect on port 5900 without a password. Since everyone has root rights, you should use this option only in trustworthy environments.
<li><b>Safe local VNC access</b> A VNC server is started on localhost:5900 only, but SSH access with root privileges is granted (week password &#8220;test&#8221;). So you can tunnel port 5900 to you local machine. Please consider changing the <i>rootpwhash</i> to some safe password. The command <tt>openssl passwd -1</tt> creates a hash. <i>(Note: not working due to a bug in the boot config, press tab, search <tt>skipservices=|...|</tt> and there replace <tt>roothash</tt> with <tt>runtimeconf</tt>) </i></li>
<li><b>Reverse VNC</b> VNC is used to export the desktop via an outgoing connection instead of allowing incoming connections, you might want to use this feature in cases where it is impossible to accept incoming connections (some DSL providers, NAT behind NAT when connected via a 3.5G router).</li>
</ul>
<div align="center"><a href="http://images.lesslinux.org/20110110_boot.png"><img src="http://images.lesslinux.org/20110110_boot_sml.png" /></a></div>
<h2>Kexec</h2>
<p>Another new feature is the Cheatcode <tt>kexec=http://server/path/kexec.conf</tt>. If the cheatcode is present, said config file will be downloaded and the kernel and initrd mentioned will be booted. Just take a look at <a href="http://download.lesslinux.org/kexec/opensuse-stable32.conf">this config</a> to see how it works. Just one kernel is allowed, multiple initrds (one per line) will be concatenated. Make sure that <tt>append</tt> is on the last line. Currently the boot menu contains eight kexec entries to kickstart internet installation of current versions of openSUSE, Debian and Ubuntu (LTS and current stable) &#8211; all 32 and 64 bit. Eventually an entry to boot the latest bleeding edge version of LessLinux Search and Rescue will follow.</p>
<h2>The <i>blob</i> directory</h2>
<p>You might notice the directory <tt>/lesslinux/blob</tt>. This new directory is intended to take files that are only distributed as binary only large objects. My intention is to use this directory to keep non free software out of the SquashFS containers. Users will be given the opportunity to add non-free components in a very simple way. Currently the blob directory can only be used to install Adobes Flash player instead of the free Gnash player. Either place the packed <tt>install_flash_player_10_linux.tar.gz</tt> or the unpacked <tt>libflashplayer.so</tt> in the blob directory. Upcoming builds will use the blob directory to integrate closed source virus scanners and similar stuff.</p>
<h2>Simple remaster</h2>
<p>If you want to build an ISO with different options in the boot menu &#8211; eg. change the password hash on SSH access or place Flash player in the blob directory, first unpack the contents of the ISO image to a directory build. Then run:</p>
<pre>        mkisofs -input-charset utf8 -r -J -pad -o "remaster.iso" \
            -V 'lesslinux-search-and-rescue' -b boot/isolinux/isolinux.bin \
            -no-emul-boot -boot-info-table -boot-load-size 4 \
            -c boot/isolinux/boot.cat build</pre>
<h2>The source</h2>
<p>You can download all source packages from LessLinux Search and Rescue 1.5 and previous builds from <a href="http://distfiles.lesslinux.org/">distfiles.lesslinux.org</a>. An archive containing all build scripts is available from <a href="http://download.lesslinux.org/src/">download.lesslinux.org/src/</a>. Instructions on building your own LessLinux based system will follow in the next days.</p>
<h2>The penguin</h2>
<p>Thanks to Tobias Langhammer, a friend of mine from university days, LessLinux has a new logo (its first logo to be honest). The logo shows a flying penguin (OK, a jumping penguin) and is modeled after a photograph. The logo is available under the Creative Commons Share Alike 3.0 license. I currently prefer the version with the dark background and I encourage using it for press stuff. Lighter colored versions will follow in a separate blog post.</p>
<div align="center"><a href="http://images.lesslinux.org/logoblack.png"><img src="http://images.lesslinux.org/logoblack.png" width="362" height="198" /></a></div>
<h2>Supporting you, supporting me</h2>
<p>There are currently no mailing lists. You can ask questions by writing to <tt>support@mattiasschlenker.de</tt>. This Email is primarily used for paying customers, so please be so kind to wait a day or two for an answer.</p>
<p>If you want to support the development of LessLinux, there are certain options:</p>
<h3>You run a company or work for a company willing to support LessLinux</h3>
<p>I might invoice you with any sum from €5 upwards &#8211; either for support or &#8220;programming time&#8221;. If you have a EU VATIN (Value Added Tax Identification Number), the invoice will be without German VAT, and since transfers within the EU are fast and cheap, it also makes sense for small amounts. If you are located outside the EU or European Economic Area, the invoice also will be without German VAT, but the money transfer might cost significantly more, so it might just make sense for amounts of €50 upwards. Depending on the legislation in your country, invoices for development/support might be fully tax deductible. </p>
<p>Since LessLinux is highly customizable for many tasks like rescue, backup, distribution of images, demo systems for web based software, just ask for a quote if you have an idea. </p>
<h3>You are a private person</h3>
<p>If you are located within the EU, I might also write an invoice, but in this case I have to add German VAT (currently 19%). If you are outside the EU, transferring small amounts of money just does not make sense. I will investigate methods like PayPal or Amazon gifts in the near future. In the meantime: Since I like dry red wine you might send me a bottle of a local wine or &#8211; if you live north of the 51st parallel &#8211; some local beer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/release-lesslinux-search-and-rescue-1-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fresh development build: ISOhybrid conversion and boot on Xen</title>
		<link>http://blog.lesslinux.org/fresh-development-build-isohybrid-conversion-and-boot-on-xen/</link>
		<comments>http://blog.lesslinux.org/fresh-development-build-isohybrid-conversion-and-boot-on-xen/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 14:41:04 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Screenshots]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=116</guid>
		<description><![CDATA[Please do not think I didn&#8217;t work on LessLinux in the last weeks! On September 15th there will be a large press conference, where a new, LessLinux based distribution will be unveiled. Some features of this distribution are now available on current development builds. I am proud to present a development build that nicely demoes [...]]]></description>
			<content:encoded><![CDATA[<p>Please do not think I didn&#8217;t work on LessLinux in the last weeks! On September 15th there will be a large press conference, where a new, LessLinux based distribution will be unveiled. Some features of this distribution are now available on current development builds. I am proud to present a development build that nicely demoes this new features:</p>
<ul>
<li>
<p><b>ISOhybrid conversion</b>: Starting with version 3.8x of the Syslinux bootloader an ISO image can be prepared to be a valid hard disk image. Isolinux will boot this image in any case. There is one drawback however: A USB thumbdrive with this ISO image does not contain a writable filesystem anymore. Current LessLinux builds include a conversion routine: If sufficient RAM is found, the complete content of the ISO filessystem is copied to RAM during startup, the thumbdrive is reformatted as FAT32 and a Syslinux bootloader is written.</p>
<p>To test this feature, use <tt>dd</tt> to copy the ISO to the thumbdrive: <tt>dd if=lesslinux.iso of=/dev/sdx</tt>. On Windows rename the ISO to <tt>.img</tt> and use Win32ImageWriter to perform this task.</p>
</li>
<li>
<p><b>Start as Xen domU</b>: With pvops Vanilla kernels getting mature it is possible to boot the same kernel on bare hardware and as Xen domU on the hypervisor. With small changes to the kernel configuration and the startup scripts (to search on Xens harddisks <tt>xvda</tt> and to open the console <tt>hvc0</tt>) LessLinux now boots on Xen. The practical usage of this feature will be for development and debugging, but it also offers the possibillity to offer lightweight live distributions as maintenance and rescue systems  for hosting environments.</p>
<p>To boot on Xen you must convert the initramfs files of the Vanilla Kernel 2.6.35.4 to a format that the domU loader understands &#8212; basically converting the multiple compressed cpio archives from <tt>/boot/isolinux</tt> to a single one:</p>
<p><tt>cat devs.img initram.img i2635vn.img | gunzip -c | gzip -c > initrd.img</tt></p>
<p>Then use <a href="http://download.lesslinux.org/misc/lesslinux-search-and-rescue-uluru-20100903-134327-xen-domU.cfg">this configuration file</a> to fire up the domU. On pressing the Return key on <tt>hvc0</tt> you get a simple shell where you can use <tt>ifconfig</tt> to determine the IP adress. Then use VNC to connect to the desktop of your LessLinux-domU. </p>
<p><center><a href="http://images.mattiasschlenker.de/blog.rootserverexperiment.de/20100903_xen_large.png"><img src="http://images.mattiasschlenker.de/blog.rootserverexperiment.de/20100903_xen_small.png" /></a></center></p>
</li>
</ul>
<p>Other new features:</p>
<ul>
<li><b>Kernel:</b> 2.6.34.6 is default, 2.6.35.4 is optional</li>
<li><b>Firefox</b>: By running <tt>/opt/firefox40/lib/firefox/firefox</tt> you can start Firefox 4.0b4 with WebM support</li>
<li><b>VLC:</b> upgraded to 1.1.4</li>
<li><b>Thunderbird:</b> upgraded to 3.1.2, Enigmail and Lighning included</li>
</ul>
<p>Known bugs:</p>
<ul>
<li><b>USB installation</b> from the boot menu might not work, use ISOhybrid as mentioned above</li>
<li><b>Sound</b> will not work when booting Kernel 2.6.35.4</li>
<li><b>Shutdown</b> is blind due to some KMS issues</li>
<li><b>Truecrypt</b> manually load module <tt>fuse</tt> before running Truecrypt</li>
</ul>
<p>Grab it here:</p>
<ul>
<li><b>Download from lesslinux.org</b> <a href="http://download.lesslinux.org/testing/lesslinux-search-and-rescue/lesslinux-search-and-rescue-uluru-20100903-134327.iso">lesslinux-search-and-rescue-uluru-20100903-134327.iso</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/fresh-development-build-isohybrid-conversion-and-boot-on-xen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Presenting the &#8220;Grandma Mode&#8221;</title>
		<link>http://blog.lesslinux.org/presenting-the-grandma-mode/</link>
		<comments>http://blog.lesslinux.org/presenting-the-grandma-mode/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 15:05:16 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Cheatcodes]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=110</guid>
		<description><![CDATA[Do you also have some relatives that always ask for &#8220;family support&#8221;: When you come to their house, you find a totally f***ed up Windows XP machine with tons of spyware and you&#8217;ll get to hear &#8220;I did not do anything&#8221;. The worst part of it: While you do the work, they keep talking at [...]]]></description>
			<content:encoded><![CDATA[<p>Do you also have some relatives that always ask for &#8220;family support&#8221;: When you come to their house, you find a totally f***ed up Windows XP machine with tons of spyware and you&#8217;ll get to hear &#8220;I did not do anything&#8221;. The worst part of it: While you do the work, they keep talking at you.</p>
<p>Well it can be easier. Just configure your DSL router to forward inbound traffic on port 5500 to your desktop machine and get a nice DynDNS hostname. Then remaster any LessLinux Search and Rescue CD to include one boot entry that does not disable <tt>earlynet</tt> and add the cheatcode</p>
<pre>
        xvnc=|reverse|1280x800|24|my.dyndns.name|
</pre>
<p>In case of emergency tell your grandma to boot the CD with the respective entry. The <tt>earlynet</tt> script requests an IP address on all wired interfaces and instead of starting a local Xserver Xvnc is started and a reverse connection to your host is made where a listening VNC viewer must be running.</p>
<p>There is one drawback: the data is transmitted unencrypted, which might be an issue with sensitive data. You might however use this first VNC connection to build up a SSH tunnel between two hosts.</p>
<p>The background of this feature: I got some customers quite far away from here. With this cheatcode I can help them no matter where they are &#8211; no special configuration of their router required. This feature also will work over WLAN soon. I just introduced some cheatcodes to attach to a wireless network while startup. Those are not tested yet, so please be patient for a few more days.</p>
<p>Should work in all builds higher than 20100701-000000.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/presenting-the-grandma-mode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Netbooting LessLinux: NFS support</title>
		<link>http://blog.lesslinux.org/netbooting-lesslinux-nfs-support/</link>
		<comments>http://blog.lesslinux.org/netbooting-lesslinux-nfs-support/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 11:13:24 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Cheatcodes]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=104</guid>
		<description><![CDATA[After adding support for netbooting LessLinux by downloading the ISO image via HTTP/FTP I can announce support for NFS boot. For this feature you just need to add

        nfs=192.168.1.1:/dir/containing/iso

In this case, the NFS share is mounted read only (and no locking takes place), then all ISO files down [...]]]></description>
			<content:encoded><![CDATA[<p>After adding support for netbooting LessLinux by downloading the ISO image via HTTP/FTP I can announce support for NFS boot. For this feature you just need to add</p>
<pre>
        nfs=192.168.1.1:/dir/containing/iso
</pre>
<p>In this case, the NFS share is mounted read only (and no locking takes place), then all ISO files down to depth 2 are searched, loop back mounted and scanned for the proper <tt>version.txt</tt>. If the system is found, the settings for <tt>toram=value</tt> take place. In reasonable fast networks you should keep this threshold low, then the start of a program via network is quick, on networks with bad latencies you might set a low threshold to copy the entire system to RAM during startup.</p>
<p>You might download the ISO and the sources here:</p>
<ul>
<li><a href="http://download.lesslinux.org/testing/lesslinux-search-and-rescue/lesslinux-search-and-rescue-uluru-20100726-105414.iso">lesslinux-search-and-rescue-uluru-20100726-105414.iso</a></li>
<li><a href="http://download.lesslinux.org/src/lesslinux-search-and-rescue-uluru-20100726-105414-buildscripts.tar.bz2">lesslinux-search-and-rescue-uluru-20100726-105414-buildscripts.tar.bz2</a></li>
</ul>
<p>To build yourself follow the instructions in those two articles: <a href="http://blog.lesslinux.org/do-it-yourself-build-stage01-stage02/">Build stage 01 and 02</a> and <a href="http://blog.lesslinux.org/do-it-yourself-build-stage03/">Build stage03</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/netbooting-lesslinux-nfs-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Support für Nutzer im deutschsprachigen Raum</title>
		<link>http://blog.lesslinux.org/support-fur-nutzer-im-deutschsprachigen-raum/</link>
		<comments>http://blog.lesslinux.org/support-fur-nutzer-im-deutschsprachigen-raum/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 10:32:11 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[About]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=93</guid>
		<description><![CDATA[This article targets mainly readers from Germany and Austria, thus it is in German. The topics &#8220;user support&#8221; and &#8220;financial contributions&#8221; will soon arise for other users as well, then a similar article in English will follow.
LessLinux ist ein offenes System. Mir liegt viel daran, dass eine breite Masse von Nutzern aller &#8220;Erfahrungslevel&#8221; mit den [...]]]></description>
			<content:encoded><![CDATA[<p><i>This article targets mainly readers from Germany and Austria, thus it is in German. The topics &#8220;user support&#8221; and &#8220;financial contributions&#8221; will soon arise for other users as well, then a similar article in English will follow.</i></p>
<p>LessLinux ist ein offenes System. Mir liegt viel daran, dass eine breite Masse von Nutzern aller &#8220;Erfahrungslevel&#8221; mit den LessLinux-Systemen arbeitet, Kritik übt und Verbesserungsvorschläge beisteuert. Mir geht es dabei besonders um Feedback &#8220;normaler Nutzer&#8221;, denn dieses ist unheimlich wichtig, wenn es darum geht, ein wirklich benutzerfreundliches System auf die Beine zu stellen.<span id="more-93"></span></p>
<h3>Trouble Ticket System</h3>
<p>Seit einigen Wochen steht ein Trouble Ticket System bereit, schreiben Sie einfach eine Email an <a href="mailto:support@mattiasschlenker.de">support@mattiasschlenker.de</a>. Sie erhalten dann eine automatisch generierte Mail mit Ihrer Ticket-ID und schließlich Antwort von uns. Wir versuchen Support-Anfragen zeitnah zu beantworten, aber es kann vorkommen, dass eine Antwort einige Tage auf sich warten lässt &#8211; insbesondere dann wenn gerade an einem in Ihrer Mail angesprochenen Problem gearbeitet wird.</p>
<h3>Support für Leser von Zeitschriften</h3>
<p>Die Verträge mit Computerzeitschriften sehen in der Regel einen Support für einen begrenzten Zeitraum (in der Regel bis ca. 2 Monate nach Ende des Verkaufszeitraumes des Heftes) vor. Der Support erfolgt dabei üblicherweise auf zwei Ebenen:</p>
<ol>
<li>Sie schreiben an die im Heft angegebene Email-Adresse für Lesersupport. Bei häufig ähnlich gestellten Fragen antworten Mitarbeiter, die von uns eingewiesen wurden.</li>
<li>Fragen, die die Redaktion nicht beantworten kann, leitet sie uns weiter, wir kümmern uns dann via Trouble Ticket System darum.</li>
</ol>
<p>Ist das betreffende Heft schon etwas älter, können Sie den oben beschriebenen Weg direkt über das Trouble Ticket System nehmen. Wir werden auch nach Ende des offiziellen Supportzeitraumes eines Heftes keine Anfragen zurückweisen, bitten aber den folgenden Punkt zu beachten.</p>
<h3>Wer bezahlt für den Support?</h3>
<p>Tatsächlich finanziell gedeckt ist nur bei Zeitschriftenbeilagen der relativ kurze Zeitraum bis maximal zwei Monate nach Verkaufsende des betreffenden Heftes. Wir werden danach keine Supportanfragen abweisen &#8211; schon aus dem einfachen Grund, dass viele Supportanfragen wertvolle Hinweise für die Weiterentwicklung des Systems geben. Es gelten die oben genannten Einschränkungen hinsichtlich Antwortgeschwindigkeit.</p>
<p>Sollten Sie mit dem Support zufrieden sein oder einfach einen Beitrag zur Entwicklung von LessLinux leisten wollen, dürfen Sie das gerne tun. Allerdings sind PayPal-Buttons nicht unser Favorit, wir bevorzugen den klassischen Weg von Rechnung und Überweisung. Der dafür erforderliche Aufwand lohnt sich bei Beträgen ab 5 Euro netto (5,95 Euro brutto). Sollten Sie Support und Entwicklung unterstützen wollen, schicken Sie einfach eine Email mit Rechnungsadresse und Betrag an <a href="mailto:ms@mattiasschlenker.de">ms@mattiasschlenker.de</a>, Sie erhalten dann postwendend eine Rechnung im PDF-Format oder auf Wunsch eine Rechnung per &#8220;gelber Post&#8221; (bitte dazuschreiben).</p>
<h3>Support und Auftragsentwicklung für Geschäftskunden</h3>
<p>LessLinux hat ein recht großes Potential als Notfall- und Deploymentsystem in Firmennetzen. So kann bereits heute LessLinux aus dem Netz gebootet und vom Administratordesktop aus per VNC (auch per SSH getunnelt) &#8220;ferngesteuert&#8221; werden. Mit den enthaltenen Tools lassen sich so aus der Ferne Datenrettungen oder das Deployment von Windows-Images durchführen. Von hier ist es nur ein kleiner Schritt zu angepassten Images, mit denen beispielsweise automatisches Deployment möglich ist.</p>
<p>Fragen Sie einfach nach, ob ein bestimmtes Feature bereits vorhanden ist oder wie groß der Aufwand wäre, dieses zu implementieren. Bei aufwendiger zu implementierenden Features kann der Aufwand auf mehrere Interessenten umgelegt werden. Die Abrechnung erfolgt in diesem Fall nach vorher vereinbartem Kostenvoranschlag, auf der Rechnung werden Entwicklungsstunden ausgewiesen, selbstverständlich ist die MwSt. ausweisbar und die Rechnung im Regelfall als Geschäftsausgabe absetzbar. Bei Interesse kontaktieren Sie bitte Mattias Schlenker per Email an <a href="mailto:ms@mattiasschlenker.de">ms@mattiasschlenker.de</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/support-fur-nutzer-im-deutschsprachigen-raum/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Booting LessLinux via network</title>
		<link>http://blog.lesslinux.org/booting-lesslinux-via-network/</link>
		<comments>http://blog.lesslinux.org/booting-lesslinux-via-network/#comments</comments>
		<pubDate>Mon, 31 May 2010 08:33:08 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Cheatcodes]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=86</guid>
		<description><![CDATA[As mentioned previously, support for netbooting LessLinux was recently introduced. In builds from 20100528-000000 it works stable and can be used in production environments. So please test the new function with this build:

lesslinux-search-and-rescue-uluru-20100528-114807.iso

Currently for netbooting a DHCP and PXE server are required, a HTTP daemon should be present, although it is possible to load the [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned previously, support for netbooting LessLinux was recently introduced. In builds from 20100528-000000 it works stable and can be used in production environments. So please test the new function with this build:</p>
<ul>
<li><a href="http://download.lesslinux.org/testing/lesslinux-search-and-rescue/lesslinux-search-and-rescue-uluru-20100528-114807.iso">lesslinux-search-and-rescue-uluru-20100528-114807.iso</a></li>
</ul>
<p>Currently for netbooting a DHCP and PXE server are required, a HTTP daemon should be present, although it is possible to load the ISO directly from download.lesslinux.org. For now the ISO is completely stored in volatile memory &#8212; future versions will probably also allow NFS access. To load an ISO via HTTP just one additional parameter is necessary:<span id="more-86"></span></p>
<pre>     wgetiso=http://host/path/lesslinux.iso</pre>
<p>Of course you can use the download link above for your first tests, but please remember to change it to a local HTTP server as soon as your setup works to keep traffic at an acceptable level. Now you may combine the information from the last post with a PXE server to build a netbooting, remote accessible version of &#8220;LessLinux Search and Rescue&#8221;. Take a look at the <a href="http://syslinux.zytor.com/wiki/index.php/PXELINUX">documentation of PXELINUX</a> and <i>you</i> determine when which system boots via network.</p>
<h3>1. Setup a PXE boot environment</h3>
<p>German speaking readers <a href="http://blog.rootserverexperiment.de/2007/09/17/der-buro-bootserver-pxelinux-im-praxiseinsatz/">might head here</a>, where I describe the setup of a DHCP-PXE-TFTP-boot-chain. Build the setup and test with a simple OS like memtest to confirm that it works flawlessly. </p>
<h3>2. Copy the boot files from the LessLinux CD</h3>
<p>Our example expects the contents of <tt>/boot/isolinux</tt> in <tt>/llsar</tt> within the TFTP root directory, so just use <tt>rsync</tt> or <tt>cp</tt> to copy all files contained in this directory.</p>
<h3>3. Setup the boot loader</h3>
<p>Use <tt>isolinux.cfg</tt> as a template for your entry in <tt>pxelinux.cfg/default</tt>. Make sure that <tt>earlynet</tt> is <i>not</i> contained in the services to skip (upcoming releses will skip this service since it waits for about 15 seconds for DHCP configuration). Then decide which options you want to add. I ended up with three entries. One for a local desktop, two to encrypted and unencrypted VNC access:</p>
<pre>LABEL llsar
MENU LABEL LessLinux Search and Rescue LOCAL
KERNEL /llsar/l2634vn
APPEND initrd=/llsar/devs.img,/llsar/initram.img,/llsar/i2634vn.img ramdisk_size=100000 vga=788
    ultraquiet=1 security=none skipcheck=1 quiet lang=de ejectonumass=1
    skipservices=|installer|xconfgui|firewall|mountdrives| hwid=unknown laxsudo=1
    wgetiso=http://192.168.1.56/ll.iso
TEXT HELP
  Start LessLinux Search and Rescue with local desktop.
ENDTEXT

LABEL llsarvnc
MENU LABEL LessLinux Search and Rescue VNC
KERNEL /llsar/l2634vn
APPEND initrd=/llsar/devs.img,/llsar/initram.img,/llsar/i2634vn.img ramdisk_size=100000 vga=788
    ultraquiet=1 security=none skipcheck=1 quiet lang=de ejectonumass=1
    skipservices=|installer|xconfgui|firewall|mountdrives|runtimeconf| hwid=unknown laxsudo=1
    wgetiso=http://192.168.1.56/ll.iso xvnc=|remote|1280x800|24|
TEXT HELP
  Start LessLinux Search and Rescue with insecure VNC desktop.
ENDTEXT

LABEL llsarvnc
MENU LABEL LessLinux Search and Rescue SSH
KERNEL /llsar/l2634vn
APPEND initrd=/llsar/devs.img,/llsar/initram.img,/llsar/i2634vn.img ramdisk_size=100000 vga=788
    ultraquiet=1 security=none skipcheck=1 quiet lang=de ejectonumass=1
    skipservices=|installer|xconfgui|firewall|mountdrives|runtimeconf| hwid=unknown laxsudo=1
    wgetiso=http://192.168.1.56/ll.iso xvnc=|local|1280x800|24|
    rootpwhash=$1$ILXt/Dc3$DmYp.51WCDNjGuTL90eju/
TEXT HELP
  Start LessLinux Search and Rescue with VNC-over-SSH desktop.
  (SSH password is "test", please change!)
ENDTEXT</pre>
<p>Please note that the indented lines after <tt>APPEND</tt> are part of the append parameter line. I had to break the lines to prevent the formatting from exploding. With this setup you can try the full netboot of &#8220;LessLinux Search and Rescue&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/booting-lesslinux-via-network/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Accessing LessLinux with VNC</title>
		<link>http://blog.lesslinux.org/accessing-lesslinux-with-vnc/</link>
		<comments>http://blog.lesslinux.org/accessing-lesslinux-with-vnc/#comments</comments>
		<pubDate>Thu, 27 May 2010 09:13:53 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Cheatcodes]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=76</guid>
		<description><![CDATA[As I mentioned before, &#8220;LessLinux Search and Rescue&#8221; is intended to be a versatile live system for typical service jobs that have to be done in mixed environments. To make work easier, a service system should be net-bootable and accessible with a remote desktop application. In builds starting with timestamps after 20100526-000000 I included support [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned before, &#8220;LessLinux Search and Rescue&#8221; is intended to be a versatile live system for typical service jobs that have to be done in mixed environments. To make work easier, a service system should be net-bootable and accessible with a remote desktop application. In builds starting with timestamps after 20100526-000000 I included support for both functions:</p>
<ul>
<li>Booting the kernel and initramfs with PXE and loading the system ISO with wget by http or ftp</li>
<li>Starting the desktop with Xvnc instead a local X server</li>
</ul>
<p><span id="more-76"></span></p>
<p>Currently both functions just work with a wired network interface. This post covers VNC access, I will write on PXE booting later.</p>
<p>To test VNC access, download the latest build:</p>
<ul>
<li><a href="http://download.lesslinux.org/testing/lesslinux-search-and-rescue/lesslinux-search-and-rescue-uluru-20100527-082411.iso">lesslinux-search-and-rescue-uluru-20100527-082411.iso</a></li>
</ul>
<p>&#8230;or build it yourself according to the last two articles withe those buildscripts and overlays (in this case the extra switch <tt>-u</tt> for unstable is necessary):</p>
<ul>
<li><a href="http://download.lesslinux.org/src/lesslinux-search-and-rescue-uluru-20100527-082411-buildscripts.tar.bz2">lesslinux-search-and-rescue-uluru-20100527-082411-buildscripts.tar.bz2</a></li>
<li><a href="http://download.lesslinux.org/overlays/lesslinux-search-and-rescue-uluru-20100527-082411-overlays-neutral.tar.bz2">lesslinux-search-and-rescue-uluru-20100527-082411-overlays-neutral.tar.bz2</a></li>
</ul>
<h3>Doing it the easy way</h3>
<p>In trusted networks, you may start Xvnc on the external interface, this means VNC access is granted <b>without password</b>. Just press the Tab key in the boot menu and add</p>
<pre>        xvnc=|remote|1280x800|24|</pre>
<p>The first value tells Xvnc to bind to the external interface, the second is the screen resolution to use (any value is accepted here), and the third parameter is the color depth. On congested networks you might reduce the depth to 16. It also makes sense to add <tt>runtimeconf</tt> to the list <tt>skipservices</tt>. When finished booting, you can connect on port 5900.</p>
<h3>Doing it the secure way</h3>
<p>Specifying </p>
<pre>        xvnc=|local|1280x800|24|</pre>
<p>tells Xvnc to bind to 127.0.0.1. So no external connections are allowed. To access, you must tunnel port 5900 over SSH. To make this possible, first remove <tt>ssh</tt> and <tt>roothash</tt> from the list <tt>skipservices</tt>, then add a roothash by specifying:</p>
<pre>        rootpwhash=$1$ILXt/Dc3$DmYp.51WCDNjGuTL90eju/</pre>
<p>This is the MD5 hash for the simple password <i>test</i>. I created this Hash with the command <tt>openssl passwd -1</tt>, Apaches <tt>htpasswd</tt> might also work. Then after the system is fully booted, you can first connect with SSH and use <tt>-L</tt> to forward :</p>
<pre>        ssh -L 5900:localhost:5900 root@192.168.1.23</pre>
<p>Now VNC is available on port 5900 on you local machine, simply connect this way:</p>
<pre>        vncviewer localhost:0</pre>
<p>The current build also is the first one to use kernel 2.6.34 and it introduces libraries from Gnome 2.30. So please test and give me feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/accessing-lesslinux-with-vnc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

