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
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.
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.
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
###############################################################################
mkdir -p /home/image/x2goclient/.x2goclient/ Create file: /home/image/x2goclient/.x2goclient/sessions (s.below)
[20110318121437951] speed=4 pack=16m-jpeg quality=9 fstunnel=true export= fullscreen=true width=1280 height=1024 dpi=96 setdpi=false usekbd=true layout=de type=pc105/de sound=true soundsystem=pulse startsoundsystem=true soundtunnel=true defsndport=true sndport=4713 print=true name=Sunray icon=:icons/128x128/x2gosession.png host=192.168.100.52 user= key=fsdfasdfsdafsa sshport=22 rootless=false applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL command=GNOME rdpoptions= rdpserver=
[20110325095837365] speed=2 pack=16m-jpeg quality=9 fstunnel=true export= fullscreen=false width=800 height=600 dpi=96 setdpi=false usekbd=true layout=de type=pc105/de sound=true soundsystem=pulse startsoundsystem=true soundtunnel=true defsndport=true sndport=4713 print=true name=KHK Server icon=:icons/128x128/x2gosession.png host=192.168.100.52 user= key= sshport=22 rootless=false applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL command=rdesktop -n x2go 192.168.100.2 rdpoptions= rdpserver=192.168.100.2
################################################################################
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/
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi Mike,
Am 06.04.2011 14:38, schrieb Mike Gabriel:
A loopback scold be available. [1]
Yes. I did that manually. :)
I am very inn favour of that.
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".
Yea. Something like that. One should probably just have a reference-folder which get's copied to the user home.
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/b0260a...
-- 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
Hi Morty,
On Mi 06 Apr 2011 15:02:01 CEST Moritz Struebe wrote:
So you have that on your agenda and I can drop awareness on that (that
would be of help)? What issues need to be discussed before you push it
to code.x2go.org?
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi there,
just a short reminder ("...you want to get rid of all the ramdrive-stuff..."):
Some days ago I proposed a (to my mind) more flexible and less invasive thinclient solution based on tempfs and aufs in order to get rid of all that ramdrive/symlink stuff. This can be done by merging a tempfs over the read only root filesystem using aufs.
Michael
-- EDV-Serviceteam Annika & Michael Hierweck GbR Egerstraße 53, 44225 Dortmund (Germany) http://www.edv-serviceteam.net
Hi Michael,
this has already been done, but is not yet in the official repositories, because it needs some cleanup: http://i4git.informatik.uni-erlangen.de/x2gothinclientsystem.git/blob/b0260a...
Cheers Morty
On 2011-04-06 18:33, Michael Hierweck wrote:
-- 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
Hi Moritz,
On 07.04.2011 08:57, Moritz Struebe wrote:
this seems to be yet another approach dealing with several tmpfs mount points. This approach - however - only provides write access to (pre)selected filesystem locations.
Of course this solution is better than the /ramdrive based solution but (in my opinion) not as flexible as it could be.
Nevertheless the git version is a great improvement and I'm really looking forward to the next release.
Michael
-- EDV-Serviceteam Annika & Michael Hierweck GbR Egerstraße 53, 44225 Dortmund (Germany) http://www.edv-serviceteam.net
Hi Morty,
On Do 07 Apr 2011 08:57:22 CEST Moritz Struebe wrote:
Do you have a clue when you will have time to push your development to
code.x2go.org?
I have a customer that also needs a thin client solution. If you need
any help, let me know.
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Am 08.04.2011 13:04, schrieb Mike Gabriel:
Hi Mike,
at the moment time is a spare thing (I have some other projects, too). You could just pull the branch to x2go and continue working on it (@Heinz: Any concerns?). I believe that 90% of the stuff is already working. At least you should be able to boot. Main todo is to do the adjustments to get it running without using ldap. I did that manually, especially because you need to create the profiles to your need. I you come up with a more general solution for this, that would be great.
Cheers Morty
-- 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