[X2go-dev] x2gothinclient w/o LDAP
Moritz Struebe
Moritz.Struebe at informatik.uni-erlangen.de
Wed Apr 6 15:02:01 CEST 2011
Hi Mike,
Am 06.04.2011 14:38, schrieb Mike Gabriel:
> Hi Morty,
>
> I have a customer that has patched the x2gothinclient to use local
> session profile files. On the way he discovered that X2go thin client
> systems do not have the loop network device set up. Could you give
> your opinion on that?
>
> File: "/etc/init.d/ramdrive"
>
> after: cat /proc/mounts> /ramdrive/mtab
> # setup lo interface
> ifconfig lo 127.0.0.1 netmask 255.0.0.0
A loopback scold be available. [1]
>
>
> He also has modified the thinclient script in a way that you can run
> x2goclient on the thin client without LDAP. He provides a session
> profile ,,sessions file'' and puts that into ~/.x2goclient/sessions.
> But he also need some fixes for that.
Yes. I did that manually. :)
>
> Maybe we see an option to incorporate this in the x2gothinclient, so
> that both methods are available in the code and it merely needs some
> commenting and uncommenting or whatsoever to enable/disable
> LDAP/sessions-file.
I am very inn favour of that.
>
> Here are the changes he proposes:
>
> ###############################################################################
>
>
> Datei "/etc/default/x2gothinclient"
>
> x2goclient --external-login=/ramdrive/logins --no-menu --maximize
> --link=lan --kbd-layout=de --kbd-type=pc105/de --set-kbd=1
> --geometry=fullscreen --add-to-known-hosts
> --read-exports-from=/ramdrive/export
Actually you want to get rid of all the ramdrive-stuff and put that into
the x2go-home (My script mounts that using tmpfs). Also you probably
want "--no-session-edit".
>
> ###############################################################################
>
>
> mkdir -p /home/image/x2goclient/.x2goclient/
> Create file: /home/image/x2goclient/.x2goclient/sessions (s.below)
>
> [...]
Yea. Something like that. One should probably just have a
reference-folder which get's copied to the user home.
>
> ################################################################################
>
>
> File: "/etc/init.d/ramdrive"
>
> nach: cat /proc/mounts> /ramdrive/mtab
> # setup lo interface
> ifconfig lo 127.0.0.1 netmask 255.0.0.0
> # copy configs
> cp -a /home/image/* /ramdrive/
>
>
See [1]. This shouldn't be needed any more. Basically I want to get rid
of the thinclientsystem and x2gothinclient-package and replace them by
an creation script. I believe that this will make it easier to adjust
your thinclient to your needs. It's probaly worth replacing the
inline-cats with explicit files.
Morty
[1]
http://i4git.informatik.uni-erlangen.de/x2gothinclientsystem.git/blob/b0260af3bba3dad5dcbe593a57757554b67a2667:/x2gothinclient_helper/x2gothinclient_create#l9
--
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 at informatik.uni-erlangen.de
WWW : http://www4.informatik.uni-erlangen.de/~morty
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5867 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20110406/603c5468/attachment.bin>
More information about the x2go-dev
mailing list