I have a remote server with x2go, in the remote .profile I call xmodmap. The call of xmodmap throws a warning: xmodmap: unable to open display ''
This was until the upgrade to ubuntu 16.04.1 no problem I could just connect via a x2go client. But since 16.04.1 this message is passed to the client and the connection process is stopped.
I have read some where that x2go uses now the option:
set -e so I tried to do a
set +ebefore the call of xmodmap in .profile but unfortunately this did not solve the problem.
Does any one else has an idea, how I either can solve the initial problem or fix it in x2go.
Thanks a lot for any hint.