[X2Go-User] multiple xorg.conf's in x2go TCE

Stephan Wagner stephan.wagner at itos-gmbh.com
Wed Jun 26 18:02:20 CEST 2013


We use the 'hostname' to distinguish the xorg.conf's for different thin 
clients. The attached init-script 'x2gohostname' replaces the default 
'hostname' with the ethernet address of the network device eth0. Colons are 
replaced by dashes. Xorg will search the xorg.conf.<hostname> file in the 
directory /usr/etc/X11/, which correspond to 
/opt/x2gothinclient/chroot/usr/etc/X11/ in the PXE-boot environment. 
The init-script goes to /opt/x2gothinclient/chroot/etc/init.d/. Enter the 
chroot-environment executing 'x2gothinclient_shell'. 'update-rc.d x2gohostname 
defaults' will generate the symlinks for the different run-levels.
Hope this helps someone, Stephan

-- 
__________________________________________________
Dr. Stephan Wagner
ITos GmbH
Bitzi-Bendel 2555
9642 Ebnat-Kappel
Tel: +41 (0)71 990 05 94
mailto:swagner at itos-gmbh.com
http://www.itos-gmbh.com
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20130626/34605e91/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x2gohostname
Type: application/x-shellscript
Size: 1333 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20130626/34605e91/attachment.bin>


More information about the x2go-user mailing list