<?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 &#187; Cheatcodes</title>
	<atom:link href="http://blog.lesslinux.org/category/cheatcodes/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>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>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>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>

