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

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Jun 26 21:17:12 CEST 2013


Hi Stefan,

On Mi 26 Jun 2013 18:02:20 CEST Stephan Wagner wrote:

> 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

Can you please re-send this mail to submit at bugs.x2go.org and put the  
below lines as first lines of the mail body:?:

"""
Package: x2gothinclient
Severity: wishlist
"""

My suggestion would be to improve this script a little further. From  
Debian Edu I know that it is rather easy to retrieve the hostname from  
DNS.

Like this: MAC -> DHCP -> retrieve IP -> DNS -> set FQDN (revDNS) as hostname

If this fails, MAC as hostname is a fallback that is good enough.

Thanks+Greets,
Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
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: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20130626/faaab70f/attachment.pgp>


More information about the x2go-user mailing list