On Thu, 2 Aug 2018 15:48:26 +0200 Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
I use "Custom desktop" as windowmanager, I start the session with a script with the client name as parameter. In this way I'm able to find the client name of the station which /initialized/ the session.
But is there a way to see which client /resumes/ an already existing session?
If you can do with an IP, the SSH_CLIENT variable contains the client IP, source port, and destination port. Unlike some X2GO* variables, which do not get set in all session types, this one should be available regardless of session type.
Ok, I already looked at the SSH_ environment variables but I cannot use IP :-(
I have never played with keyboard settings, but would it be possible to create a per client keyboard layout that is sent to the server? I want to find a proper solution for automatically mapping keys. Now I need to invoke manually the xmodmap ~/.Xmodmap.clientname to set the different keyboards settings. A single session or resuming with the same computer is no problem, the issue occurs when resuming a session using a different computer than the computer which had initiated the session.
IOW: this is a follow up of the xmodmap thread ;-)
R.
-- richard lucassen http://contact.xaq.nl/