[X2Go-User] config based on mac address
Stefan
stefan at terminal21.de
Thu Jun 14 23:38:39 CEST 2012
Nice approach, but I am not shure, if this works.
In discless TCE the /home/x2goclient/ reaches the clients via nfs share.
So it is unique aboth all clients. If we copy the different private keys
to the id_rsa, I think we will have a race condition at boot time.
Stefan
Am Donnerstag, den 14.06.2012, 09:02 +0200 schrieb Mike Gabriel:
> Hi,
>
> On Do 14 Jun 2012 00:55:43 CEST wrote:
>
> > Hey all,
> >
> > we are using X2Go in a thin client environment via PXE boot. We used
> > debian linux and the official documentation for setup. All works fine.
> >
> > What we want now is to have autologin for the thin clients. In the
> > past we used LTSP and there is a config file, where you can bind
> > autologin to mac addresses
> > (http://aacable.wordpress.com/2010/06/30/ubuntu-ltsp-lts-conf-example-for-autologin-with-rdp/)
> >
> > How can we realize this behavior with X2Go? Any suggestions?
> >
> > Stefan
>
> You have to place many private key files into the TCE chroot, one per
> MAC address used for auth.
>
> /root/keys/aa:bb:cc:dd:ee:ff.key
> etc.
>
> Then hack an init script that detects the NIC's MAC and copies the
> corresponding key file into /home/x2goclient/.ssh/id_rsa (or id_dsa,
> depends on your keys).
>
> Then configure X2Go Client to autologin into a specific session
> profile (there are session profile option: autostart, autologin ->
> play with those).
>
> Greets,
> Mike
>
>
> _______________________________________________
> X2Go-User mailing list
> X2Go-User at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-user
More information about the x2go-user
mailing list