On 08.04.2015 01:35 PM, Christopher Thomas wrote:
I usually start emacs using a function that I have defined in my .bashrc file that puts it in the background automatically, since otherwise I often forget to do that. However the behaviour is the same if I simply type "emacs" from the command line.
However this problem is not confined to emacs. For example if I start LibreOffice then the usual save command Ctrl-s does nothing.
This hints at something else capturing the keypresses. So, emacs is started by bash and bash naturally in a terminal, but what is this terminal started from? A full desktop environment or the terminal emulator as a single application in X2Go Client?
Should I be trying to sort this out from the server end? But as I said this is a university server so there is a limited amount I can do apart from contacting the administrators there. I have started the xev program from a terminal after logging in via x2go but I don't know how to interpret the output.
Starting up xev will likely put it into foreground and every X11 event is printed out verbatim.
Make sure the pointer doesn't move, or you will be spammed with messages.
Pressing Ctrl will print a message with "Control_L" on the third line.
Afterwards, pressing "s" (hold Ctrl all the time) will print a message having "s" in the third line and the fourth line will read XLookupString gives 1 bytes: (13) "" if everything is working as expected.
Given that the key combination is not recognized in emacs and LibreOffice, I suspect nothing will pop up in xev.
However, my basic test suggested that it's not a general X2Go problem, as it's working on my machine(s) and I know a few users using LibreOffice via X2Go. Naturally, Ctrl-S not working would be a grave issue for them.
My current suspicion is that the keypresses are either captured by a desktop environment or NX.
I understand that you have no control over the remote system as such, but, if existent, what is the content of /etc/nxagent/keystrokes.cfg?
Mihai