<?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, 03 Sep 2010 14:41:04 +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>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>0</slash:comments>
		</item>
		<item>
		<title>Do it yourself: Build stage03</title>
		<link>http://blog.lesslinux.org/do-it-yourself-build-stage03/</link>
		<comments>http://blog.lesslinux.org/do-it-yourself-build-stage03/#comments</comments>
		<pubDate>Fri, 07 May 2010 08:46:24 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=70</guid>
		<description><![CDATA[In the third stage the final ISO image is assembled. To assemble the ISO you need an overlay with some fixes and the bootloader configuration. Eventually the bootloader configuration can be automatically generated &#8211; but not for now. Since assembling stage03 is basically calculating dependencies, copying files from the chroot environment, compressing the squashfs containers [...]]]></description>
			<content:encoded><![CDATA[<p>In the third stage the final ISO image is assembled. To assemble the ISO you need an overlay with some fixes and the bootloader configuration. Eventually the bootloader configuration can be automatically generated &#8211; but not for now. Since assembling stage03 is basically calculating dependencies, copying files from the chroot environment, compressing the squashfs containers and finalizing the ISO image, this stage is usually done in 20 to 40 minutes. <span id="more-70"></span></p>
<p>Start with the overlay that has to be unpacked directly in <tt>/mnt/archiv/LessLinux</tt>:</p>
<pre>    cd /mnt/archiv/LessLinux
    wget http://download.lesslinux.org/overlays/lesslinux-search-and-rescue-uluru-20100507-000000-overlays-neutral.tar.bz2
    tar xvjf lesslinux-search-and-rescue-uluru-20100507-000000-overlays-neutral.tar.bz2</pre>
<p>Now change directory to <tt>/mnt/archiv/LessLinux/llbuilder/lesslinux-builder</tt> and run <tt>builder.rb</tt>:</p>
<pre>    cd /mnt/archiv/LessLinux/llbuilder/lesslinux-builder
    ruby builder.rb -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.xml</pre>
<p>The parameters are as follows:</p>
<ul>
<li><b>-p</b> use a certain pkg_list, this is a simple text file containing one package per line</li>
<li><b>-c</b> use a certain config file, this contains paths and assumptions on the layout of the final system (for example how kernel modules are loaded)</li>
<li><b>-b</b> use a certain branding, this would be the first file to customize when building your own version of LessLinux</li>
<li><b>-k</b> use a certain kernel configuration, you would modify this file when using different kernels</li>
</ul>
<p>After the build is done, take a look at the stage03 directory, you will find the finished ISO image here:</p>
<pre>    # ls -lah /mnt/archiv/LessLinux/llbuild/stage03
    total 391M
    drwxr-xr-x   7 root root 4.0K 2010-05-07 09:33 .
    drwxr-xr-x   5 root root 4.0K 2010-05-07 08:45 ..
    drwxr-xr-x 300 root root  12K 2010-05-07 09:13 build
    drwxr-xr-x   6 root root 4.0K 2010-04-13 12:50 cdmaster
    drwxr-xr-x   4 root root 4.0K 2010-05-07 09:32 cpio-2633vn
    -rw-r--r--   1 root root  18M 2010-05-07 09:32 cpio-2633vn.gz
    drwxr-xr-x  14 root root 4.0K 2009-10-13 17:25 initramfs
    -rw-r--r--   1 root root 7.6M 2010-05-07 09:32 initramfs.gz
    -rw-r--r--   1 root root 365M 2010-05-07 09:33 lesslinux-search-and-rescue-uluru-20100507-084527.iso
    drwxr-xr-x   9 root root 4.0K 2010-05-07 09:32 squash</pre>
<p>You might now <tt>dd</tt> the ISO to an USB stick to create a bootable device without having to burn:</p>
<pre>    dd if=lesslinux-search-and-rescue-uluru-timestamp.iso of=/dev/sdx</pre>
<p>That&#8217;s it for today, in the next days we will add some more software and change the branding of your own build. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/do-it-yourself-build-stage03/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do it yourself: Build stage01 and stage02</title>
		<link>http://blog.lesslinux.org/do-it-yourself-build-stage01-stage02/</link>
		<comments>http://blog.lesslinux.org/do-it-yourself-build-stage01-stage02/#comments</comments>
		<pubDate>Wed, 05 May 2010 10:58:35 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=56</guid>
		<description><![CDATA[I recently assembled the build script to compile a completely free and open version of the Rescue System that started life as &#8220;Computerbild Notfall-CD 2.0&#8243;. The free version is dubbed &#8220;LessLinux Search and Rescue&#8221; and can be easily modified to build your own derivates. In the next three days I will guide you through the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently assembled the build script to compile a completely free and open version of the Rescue System that started life as &#8220;Computerbild Notfall-CD 2.0&#8243;. The free version is dubbed &#8220;LessLinux Search and Rescue&#8221; and can be easily modified to build your own derivates. In the next three days I will guide you through the whole build process (kind of real time). </p>
<p>Currently the only supported build environment is VMware, this means you must have either VMware Workstation, VMware Player (Win, Linux) or VMware Fusion (Mac OS X) installed. Player is sufficient, since the build environments are considered as some kind of &#8220;disposable environment&#8221;. Note that the VMware image expands to up to 80GB, to prevent fragmentation and reach best performance you might want to put it on a separate partition. <span id="more-56"></span></p>
<p>You might download the VMware image from: <a href="http://download.lesslinux.org/builder/vmware-images/">http://download.lesslinux.org/builder/vmware-images/</a>. This howto uses the file <tt>LessLinux_Builder_20100504_Ubuntu_910.zip</tt>. Unpack it and run it by calling <tt>ubuntu.vmx</tt>.  As soon as the virtualized Ubuntu is fully started up, you can log in as <tt>root</tt> with an empty password. Set the password with the command <tt>passwd</tt> (note that at this point an english keyboard is active &#8211; for german readers this means &#8220;z&#8221; and &#8220;y&#8221; are swapped!). Log out and log in again using <tt>ssh</tt>.</p>
<h3>Building stage01</h3>
<p>The build of stage01 closely ressembles <a href="http://www.linuxfromscratch.org/lfs/view/stable/chapter05/chapter05.html">this chapter of the Linux From Scratch handbook</a>. We basically build a set of tools under <tt>/tools</tt> that are later used to build the system itself in the second stage. Since just glibc, the toolchain and some of the basic Linux utilities are build, this step takes usually one and a half to four hours.</p>
<p>When logged in, change your directory to <tt>/mnt/archiv/LessLinux</tt>, there create three new subdirectories:</p>
<pre>    cd /mnt/archiv/LessLinux
    mkdir llbuild llbuilder src</pre>
<p>Change to <tt>llbuilder</tt> and download and unpack the source/script tarball of the release you intend to build:</p>
<pre>    cd /mnt/archiv/LessLinux/llbuilder
    wget http://download.lesslinux.org/src/lesslinux-search-and-rescue-uluru-20100507-000000-buildscripts.tar.bz2
    tar xvjf lesslinux-search-and-rescue-uluru-20100507-000000-buildscripts.tar.bz2</pre>
<p>This results in a new directory <tt>lesslinux-builder</tt>, change to this directory and start building of the first stage:</p>
<pre>    cd /mnt/archiv/LessLinux/llbuilder/lesslinux-builder
    ruby builder.rb -n -s 2,3</pre>
<p>This command tells the script <tt>builder.rb</tt> to run no tests and to skip the second stage (build of software within the chroot) as well as the third stage (assembly of the live system). When finished a backup of the resulting chroot environment as well as of the database at this point will be made &#8212; we will refer to those later.</p>
<h3>Building stage02</h3>
<p>In stage02 all the software defined in the XML build definitions in <tt>/mnt/archiv/LessLinux/llbuilder/lesslinux-builder/scripts/stage02</tt> will be built. Since two kernels, Firefox, Thunderbird and lots of &#8220;expensive&#8221; C++-stuff are built you should calculate between one and four days for this build:</p>
<pre>    cd /mnt/archiv/LessLinux/llbuilder/lesslinux-builder
    ruby builder.rb -n -s 1,3</pre>
<p>It is also possible to specify breakpoints. This means to interrupt the build procedure after a certain package is being built. This feature is usually intended to build package by package after large changes to the package versions or build parameters. For example to stop right after <tt>xz</tt> (before building the kernels):</p>
<pre>    ruby builder.rb -n -s 1,3 -d xz</pre>
<p>You might want to take a look at the XML files located in <tt>scripts/stage02</tt> to determine where to take breaks.</p>
<p>That&#8217;s it. As soon as you (and my stage02) build is complete, I will tell you how to assemble an actual working live system in stage03!</p>
<h3>Notes</h3>
<ul>
<li>If a FTP download hangs, you might interrupt it by pressing <tt>Ctrl+C</tt>, then the download should try again via HTTP</li>
<li>If the build cannot start due to missing files you might either remove the stage02 build definition that uses the missing file or you manually download the file</li>
<li>VMware will suspend if you work on a nearly full file system, to prevent a dropped SSH connection from interrupting a build, use <tt>screen</tt></li>
<li>If you started with <tt>lesslinux-search-and-rescue-uluru-20100413-192604-buildscripts.tar.bz2</tt> the build fails at <tt>gnutls</tt>, in this case unpack <a href="http://download.lesslinux.org/src/lesslinux-search-and-rescue-uluru-20100507-000000-buildscripts.tar.bz2">lesslinux-search-and-rescue-uluru-20100507-000000-buildscripts.tar.bz2</a> in <tt>/mnt/archiv/LessLinux/llbuilder</tt> (this will replace <tt>scripts/stage02/5282_gnutls.xml</tt> and <tt>scripts/pkg_content/gnutls-2.8.6.xml</tt>), then run again <tt>builder.rb</tt>, the build will now continue and finish.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/do-it-yourself-build-stage01-stage02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving on&#8230;</title>
		<link>http://blog.lesslinux.org/moving-on/</link>
		<comments>http://blog.lesslinux.org/moving-on/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 21:13:40 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=54</guid>
		<description><![CDATA[I apologize for not writing in the last few months. A lot of things happened since:

Computer Bild Russia had the LessLinux based Sicher Surfen as Cover Disc in January
Computer Hoi did same same
Komputer Swiat Poland will follow in the next days
Computer Bild Germany had a &#8220;Banking CD&#8221; with a very strict SMACK ruleset in January
Data [...]]]></description>
			<content:encoded><![CDATA[<p>I apologize for not writing in the last few months. A lot of things happened since:</p>
<ul>
<li>Computer Bild Russia had the LessLinux based Sicher Surfen as Cover Disc in January</li>
<li>Computer Hoi did same same</li>
<li>Komputer Swiat Poland will follow in the next days</li>
<li>Computer Bild Germany had a &#8220;Banking CD&#8221; with a very strict SMACK ruleset in January</li>
<li>Data Becker uses a LessLinux based burning tool on the cover CDs of Linux Intern</li>
</ul>
<p>In the meanwhile I am busy upgrading, including new software and opening the development. If you want to help, please grab one of the test builds from <a href="http://download.lesslinux.org/testing/">download.lesslinux.org/testing/</a>, run it and tell me, what attracts you and what doesn&#8217;t fit your needs. </p>
<p>If the testbuild should not start in you language, press &#8220;Tab&#8221; in the boot menu and change <tt>lang=de</tt> to <tt>lang=en</tt> (or <i>ru</i>, <i>pl</i> or <i>es</i> &#8212; other languages are just partially supported.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/moving-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Still working hard on LessLinux</title>
		<link>http://blog.lesslinux.org/still-working-hard-on-lesslinux/</link>
		<comments>http://blog.lesslinux.org/still-working-hard-on-lesslinux/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 07:27:26 +0000</pubDate>
		<dc:creator>Mattias Schlenker</dc:creator>
				<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://blog.lesslinux.org/?p=52</guid>
		<description><![CDATA[Despite the lack of posts in this blog the work on LessLinux not just continues, but LessLinux even had it&#8217;s first big appearance: Computer Bild 19/2009 had a cover mounted CD that was based on LessLinux and co-developed together with the BSI and the TUV Rheinland. The goal was to make a live CD that [...]]]></description>
			<content:encoded><![CDATA[<p>Despite the lack of posts in this blog the work on LessLinux not just continues, but LessLinux even had it&#8217;s first big appearance: Computer Bild 19/2009 had a cover mounted CD that was based on LessLinux and co-developed together with the <a href="https://www.bsi.bund.de/cln_136/DE/Home/home_node.html">BSI</a> and the <a href="http://www.tuv.com/de/index.html">TUV Rheinland</a>. The goal was to make a live CD that is easy to use for first time Linux users but also more secure than the general purpose live disk.</p>
<p>Features include:</p>
<ul>
<li>Usage of SMACK to allow internet access for certain programs only</li>
<li>Kernel hardened with PaX to limit the risk of buffer overflows</li>
<li>Password protection for the access to disks and USB sticks</li>
<li>Installable on USB thumb drives with encrypted container for the home file system</li>
<li>Easily updatebale when installed on a thumb drive</li>
<li>More secure firefox defaults</li>
</ul>
<p>You might download a <a href="http://download.lesslinux.org/testing/cbsicher/">developer snapshot from here</a>. Please note: The developer snapshot might contain laxer privileges on some security settings and it is not in the update stream. Default language of the CD is German, you might change it to English by pressing Tab in the boot menu and appending <tt>lang=de</tt>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lesslinux.org/still-working-hard-on-lesslinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
