Hi Milan, On Mo 23 Feb 2015 18:29:54 CET, Milan Knížek wrote:
Hello, I'll would like to have some scripts run after login to the server (through PyHoca-GUI, neither an app or full desktop is autorun). (In the particular case, it should add keys to the kernel keyring for the given session so that the user is able to access network CIFS multiuser-mounts via systemd.automount just by accessing the mount point). What is the correct location to drop the script (bash)? I can see /usr/lib/x2go/extensions/post-start.d exists: is it intended for this purpose?
I'd use /usr/lib/x2go/extensions/pre-runcommand.d.
If so, is it functional to use the equivalent structure in /etc/x2go (system-wide) or even /home/user/.x2go directories?
Neither gets looked at by the X2Go Server scripts. Only /usr/lib/x2go/extensions is relevant.
Note that this scripts are not intended to be configurable. Rather as an extension provider for X2Go, you can drop your code into the extensions dir (via a .deb / .rpm package).
Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgpQ5c1o4svz7.pgp
Description: Digitale PGP-Signatur
_______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user