X2Go Bug report logs - #250
ultiple xorg.conf's in x2go TCE

Package: x2gothinclient; Maintainer for x2gothinclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2gothinclient is src:x2gothinclient.

Reported by: stephan.wagner@itos-gmbh.com

Date: Wed, 26 Jun 2013 20:18:02 UTC

Severity: wishlist

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#250; Package x2gothinclient. (Wed, 26 Jun 2013 20:18:02 GMT) (full text, mbox, link).


Acknowledgement sent to stephan.wagner@itos-gmbh.com:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Wed, 26 Jun 2013 20:18:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Stephan Wagner <stephan.wagner@itos-gmbh.com>
To: submit@bugs.x2go.org
Subject: ultiple xorg.conf's in x2go TCE
Date: Wed, 26 Jun 2013 22:03:44 +0200
[Message part 1 (text/plain, inline)]
Package: x2gothinclient
Severity: wishlist


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@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

-- 
__________________________________________________
Dr. Stephan Wagner
ITos GmbH
Bitzi-Bendel 2555
9642 Ebnat-Kappel
Tel: +41 (0)71 990 05 94
mailto:swagner@itos-gmbh.com
http://www.itos-gmbh.com
--------------------------------------------------
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 05:57:57 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.