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 > [email protected] > https://lists.berlios.de/mailman/listinfo/x2go-user _______________________________________________ X2Go-User mailing list [email protected] https://lists.berlios.de/mailman/listinfo/x2go-user
