-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 11.02.2015 um 14:04 schrieb Nigra Truo:
> 
> Oh, I forgot to indicate that I want to do this on Linux. On
> Windows, I don't know how that could work and the scripting
> environment is a little sketchy, but I know that there have been
> similar projects under Linux, for ssh and login, but that was a
> long time ago. PamUSB if I recall correctly. Is there something
> like that in X2go? I just remember seeing something in the list of
> features. The idea would be (like in PamUSB it was) that when you
> pull the stick out, the session autocloses.

Linux users and admins (except for those following the false prophets
of systemd) have always believed that unix tools should "do one thing
right".

So in your case, to have a session start automatically once a certain
USB flash memory is plugged in, you will probably have to use udev
rules or something similar.

If it's possible to terminate/suspend an x2gosession automatically
once the USB flash memory is removed, I don't know.  But I'd hope that
udev can handle that as well (with some scripting magic).

Also, you might want to ping Heinz (see CC) - I know that from the
very beginning of X2Go, there's been an option to use SmartCards for
authentication and to move a suspended session around between
terminals just by plugging the SmartCard into the new terminal.  I
*think* this method has been expanded to use USB flash memory instead
of SmartCards, but I've never used it myself nor seen it in action, so
asking Heinz is your best bet here.

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJU267IAAoJEG7d9BjNvlEZnGcIAIjJvNrHkkoECQFWJKjbA3qU
vu7RehKmDz4qXtRR0ssulfQAGVFLSf6KKi++gMWy9lj0l+TU+XVlwPFIVlN501us
XMMRchRS3KL3rt4iemWjceV6h5ImwvgjvmN8tzBrLYVKtLXhOZqZnRLgJ+e6yemX
g2/oeUqmZsGrRIzYVXvNaDJfX2MrAXPcFhn3qUmHLHJOQljsRlCZ9TqKw6zjB9fY
I6gNolQe8rNFEy6Wgm/HIYhkSFMgaM8tUTITktnYiVzGIBuJPKO+DIys8eM6wH9s
8/Sf/Asm+1RSVlG3fT1degCc6bYCjlgohtuQF6dKofDODv+effII4I9MiQSUPPY=
=sHLg
-----END PGP SIGNATURE-----
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user

Reply via email to