<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:admin="http://webns.net/mvcb/"
>
<channel>
<title>[www.tuxx-home.at] - Website of Alexander Griesser</title>
<link>http://www.tuxx-home.at/archives/cat_13/</link>
<description>News from the front</description>
<dc:language>en-us</dc:language>
<dc:creator>Alexander Griesser</dc:creator>
<dc:date>2008-08-08T21:04:23+02:00</dc:date>
<admin:generatorAgent rdf:resource="http://nanoblogger.sourceforge.net" />
<item>
<link>http://www.tuxx-home.at/archives/2008/08/08/T21_04_07/</link>
<title>First official LXTC release in a few weeks</title>
<dc:date>2008-08-08T21:04:07+02:00</dc:date>
<dc:creator>Alexander Griesser</dc:creator>
<dc:subject>LXTC</dc:subject>
<description><![CDATA[I'm working hard to finally release LXTC to the public (internal version numbering is 1.9 for the next version, but it's still beta), so when that becomes available, I'll release it on <a href="http://lxtc.tuxx-home.at" class="external">http://lxtc.tuxx-home.at</a>.<br />
Thanks for all your questions to this software!]]></description>
</item>
<item>
<link>http://www.tuxx-home.at/archives/2007/05/12/T22_06_12/</link>
<title>A small wrapper-like implementation of the Microsoft Terminal Services Client</title>
<dc:date>2007-05-12T22:06:12+02:00</dc:date>
<dc:creator>Alexander Griesser</dc:creator>
<dc:subject>LXTC</dc:subject>
<description><![CDATA[Today I wanted to add a nice little feature to my thinclients. They should
from now on be able to read and interpret Microsoft Terminal Services configuration
files (you know that funny .rdp files, do you?).<br />
<br />
I know, that there are several tools out there that are able to read such files,
like <a class="external" href="http://sf.net/projects/tsclient">tsclient</a>, but
if you look at the `ldd` output for tsclient, you don't want to have such a beast
on your thinclient:<br />
<pre>
tuxx@vi-edv003:~$ ldd $(which tsclient)
        linux-gate.so.1 =&gt;  (0xffffe000)
        libgtk-x11-2.0.so.0 =&gt; /usr/lib/libgtk-x11-2.0.so.0 (0xb7c4a000)
        libgdk_pixbuf-2.0.so.0 =&gt; /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7c34000)
        libgobject-2.0.so.0 =&gt; /usr/lib/libgobject-2.0.so.0 (0xb7bf9000)
        libglib-2.0.so.0 =&gt; /usr/lib/libglib-2.0.so.0 (0xb7b66000)
        libpthread.so.0 =&gt; /lib/libpthread.so.0 (0xb7b4f000)
        libc.so.6 =&gt; /lib/libc.so.6 (0xb7a0c000)
        libgdk-x11-2.0.so.0 =&gt; /usr/lib/libgdk-x11-2.0.so.0 (0xb798b000)
        libpangocairo-1.0.so.0 =&gt; /usr/lib/libpangocairo-1.0.so.0 (0xb7983000)
        libpango-1.0.so.0 =&gt; /usr/lib/libpango-1.0.so.0 (0xb7945000)
        libX11.so.6 =&gt; /usr/lib/libX11.so.6 (0xb7859000)
        libXfixes.so.3 =&gt; /usr/lib/libXfixes.so.3 (0xb7854000)
        libatk-1.0.so.0 =&gt; /usr/lib/libatk-1.0.so.0 (0xb783a000)
        libgmodule-2.0.so.0 =&gt; /usr/lib/libgmodule-2.0.so.0 (0xb7837000)
        libdl.so.2 =&gt; /lib/libdl.so.2 (0xb7833000)
        libcairo.so.2 =&gt; /usr/lib/libcairo.so.2 (0xb77be000)
        libm.so.6 =&gt; /lib/libm.so.6 (0xb7797000)
        /lib/ld-linux.so.2 (0xb7fb1000)
        libfontconfig.so.1 =&gt; /usr/lib/libfontconfig.so.1 (0xb776c000)
        libXext.so.6 =&gt; /usr/lib/libXext.so.6 (0xb775e000)
        libXrender.so.1 =&gt; /usr/lib/libXrender.so.1 (0xb7756000)
        libXinerama.so.1 =&gt; /usr/lib/libXinerama.so.1 (0xb7752000)
        libXi.so.6 =&gt; /usr/lib/libXi.so.6 (0xb774a000)
        libXrandr.so.2 =&gt; /usr/lib/libXrandr.so.2 (0xb7744000)
        libXcursor.so.1 =&gt; /usr/lib/libXcursor.so.1 (0xb773b000)
        libpangoft2-1.0.so.0 =&gt; /usr/lib/libpangoft2-1.0.so.0 (0xb7710000)
        libfreetype.so.6 =&gt; /usr/lib/libfreetype.so.6 (0xb76a5000)
        libz.so.1 =&gt; /usr/lib/libz.so.1 (0xb7691000)
        libXau.so.6 =&gt; /usr/lib/libXau.so.6 (0xb768e000)
        libXdmcp.so.6 =&gt; /usr/lib/libXdmcp.so.6 (0xb7689000)
        libpng12.so.0 =&gt; /usr/lib/libpng12.so.0 (0xb7666000)
        libexpat.so.1 =&gt; /usr/lib/libexpat.so.1 (0xb7645000)
tuxx@vi-edv003:~$
</pre>
<br />
Therefore, I came up with a <a class="file" href="http://tuxx-home.at/projects/mstsc4l/mstsc4l">little shell script</a>
that does the basic tricks. It is called <strong>&quot;mstsc4l&quot;</strong> and can be downloaded from the
link below.<br />
<br />
Currently, it has a few limitations, like:<br />
<pre>
# This is a wrapper script for the linux `rdesktop` command and
# is able to read .rdp files made with the Microsoft Terminal Services
# Client (mstsc)
#
# Currently, this version is far from being complete (I only implemented
# the most necessary variables) and it does not support reading from
# Unicode .rdp files, so please convert them to ASCII files first!
#
# mstsc4l, Version 0.1
# by Alexander Griesser <work@tuxx-home.at, 2007-05-12
</pre>
<br />
If someone is willing to implement additional features, step forwards and mail me
the results, please.<br />
<br />
<span class="uln bold">Links:</span><br />
<ul>
  <li><a class="external" href="http://tuxx-home.at/projects/mstsc4l/mstsc4l">mstsc4l</a>
</ul>]]></description>
</item>
<item>
<link>http://www.tuxx-home.at/archives/2006/04/25/T14_29_04/</link>
<title>Uploading binary files in bash cgi script</title>
<dc:date>2006-04-25T14:29:04+02:00</dc:date>
<dc:creator>Alexander Griesser</dc:creator>
<dc:subject>LXTC</dc:subject>
<description><![CDATA[Today I fixed the issue with my thinclients were I was unable to upload
binary files (e.g. tar.gz) to my thinclient installation.<br /><br />
It's not very beautiful, but it works (I'm open for better solutions, so
please send me e-mail if you know about a better solution to do this).<br /
<br />
<pre>
if [ "$REQUEST_METHOD" = "POST" ]; then
  TMPOUT=/tmp/fwupdate
  cat &gt;$TMPOUT

  # Get the line count
  LINES=$(wc -l $TMPOUT | cut -d ' ' -f 1)

  # Remove the first four lines
  tail -$((LINES - 4)) $TMPOUT &gt;$TMPOUT.1

  # Remove the last line
  head -$((LINES - 5)) $TMPOUT.1 &gt;$TMPOUT

  # Copy everything but the new last line to a temporary file
  head -$((LINES - 6)) $TMPOUT &gt;$TMPOUT.1

  # Copy the new last line but remove trailing \r\n
  tail -1 $TMPOUT | perl -p -i -e 's/\r\n$//' &gt;&gt;$TMPOUT.1
fi
</pre>
<br /><br />
This is necessary, because busybox's webserver (and maybe all others too)
write four lines of content information at the beginning of the generated
file and one line at the end as well as making a new line in the last line
of the binary file causes the end of the last line to contain &quot;\r\n&quot;
which is also subject to strip.<br /><br />
In my testings, I tried ten different binary files and always got the same
md5sums after uploading, which means that this little shell script is likely
to work.]]></description>
</item>
<item>
<link>http://www.tuxx-home.at/archives/2006/04/20/T14_43_44/</link>
<title>Norton Ghost is not able to find a local disk on my thinclients</title>
<dc:date>2006-04-20T14:43:44+02:00</dc:date>
<dc:creator>Alexander Griesser</dc:creator>
<dc:subject>LXTC</dc:subject>
<description><![CDATA[When trying to populate my thinclient installation on my Thinclient
PCs (VIA EPIA Mini-ITX diskless computers) Norton Ghost didn't find any
valid source disks. This system in fact doesn't contain an IDE disk, but
it contains a M-IDE cartridge directly plugged into the motherboard's
primary IDE socket.<br /><br />
To get around this issue, you have to <span class="bold">&quot;Disable the 
Extended Int13h support&quot;</span> in Norton Ghost. This can be achieved with
the following parameter:<br />
<pre>
ghost.exe -FNX
</pre>
<br />
Afterwards, Norton Ghost recognizes the local M-IDE cartridge as ordinary IDE
disk and you can continue imaging. Took me quite a while, to find this switch...]]></description>
</item>
</channel>
</rss>
