[X2go-dev] x2gothinclient w/o LDAP

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Apr 6 14:38:07 CEST 2011


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 at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20110406/55a52367/attachment.pgp>


More information about the x2go-dev mailing list