Hi.

We're working on it: http://i4git.informatik.uni-erlangen.de/x2gothinclientsystem.git/tree/b0260af3bba3dad5dcbe593a57757554b67a2667:/x2gothinclient_helper
At the moment I'm busy with more general x2go stuff. But help is welcome.

Cheers
Morty

On 2011-03-25 11:15, Michael Hierweck wrote:
Hi x2go folks,

I would like to suggest a solution to make x2gothinclientsystem less
invasive.

Instead of mounting a ramdisk and removing/symlinking some files and
directories (which might be a Debian packaging policy violation) it
might be smarter to mount a read only root filesystem and transparently
overlay it with a tempfs.

I can this be achieved?

a) Install aufs modules in the clients' chroot environment. Aufs modules
are part of Squeeze's default kernel.

b) Add "aufs" to /etc/initramfs-tools/modules.

c) Set "BOOT=aufs" in /etc/initramfs-tools/initramfs.conf.

d) Add a "magic" script (see attachment) named "aufs" to
/etc/initramfs-tools/scripts

e) Call update-initramfs -u inside the chroot.

The "aufs" script is based on Debian's
/usr/share/initramfs-tools/scripts/nfs script.

The attached script provides a three layer file root filesystem.

ro nfsroot/master (generic thinclients' chroot)
ro nfsroot/<ip-address> (individual thinclient's configuration
overriding master)
rw tempfs (simulates a fully rw root file system)

Pros:

* simple (to my mind)
* flexible
* less "hacky" (less/no conflicts with other packages)
* therefore more Debian compliant (to my mind)
* x2go related stuff currently stored in /ramdisk can go into
/var/lib/x2go...

Cons:

* any?

Any feedback is appreciated.

Michael

_______________________________________________ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev


-- 
Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter)
Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme)
Friedrich-Alexander-Universität Erlangen-Nürnberg
Martensstr. 1
91058 Erlangen

Tel   : +49 9131 85-25419
Fax   : +49 9131 85-28732
eMail : struebe@informatik.uni-erlangen.de
WWW   : http://www4.informatik.uni-erlangen.de/~morty