Have a look at /usr/bin/x2goserver-run-extensions, this is the place where the extensions are called.
The call is
find "$X2GO_LIB_PATH/extensions/$X2GO_MODALITY.d/" -maxdepth 1 -mindepth 1 | egrep "/[0-9]{3}_[[:alnum:]]+" | sort | while read x2go_extension; do
which indicates that the script name has to start with _three_ digits followed by _ and an alphanumeric name. Your script does not match, so I guess that's the reason it is not executed.
Uli
Maybe remove
On Mon, Jul 30, 2018 at 12:26 AM, richard lucassen <mailinglists@lucassen.org> wrote:
On Fri, 27 Jul 2018 10:57:48 -0400 "John Stoffel" <john@stoffel.org> wrote:
It sounds like when the script runs, the Xserver isn't quite ready, and xmodmap is waiting for that.
Hmm, it is called "post-resume", that suggests that everything is up an running...
Maybe you can start debugging by putting:
xmodmap -verbose -pm
before your call, to see what it prints out. And make sure the $DISPLAY is set correctly too!
You can also do an 'strace xmodmap ...' call in there, to see where it's going and what it's calling to.
I tried an "&", the session is starting, but xmodmap has no result, even with an extra "sleep 5" in a separate script. I'll try the "-verbose -pm" tomorrow.
Thnx for your answer,
R.
-- richard lucassen http://contact.xaq.nl/
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user