I have a problem with the locale in my client session. I have set the locale on my remote client and on the server to "de_DE.UTF-8". This also works well in OpenNX sessions but with X2goclient I see within the client session nothing translated into German due to the locale not applied well. Within the remote client session in any terminal I get this:
[andyrtr@workstation64 ~]$ locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=
Any idea?
More people seem affected in Arch by this: https://bbs.archlinux.org/viewtopic.php?id=151160
Note: the x2go-qt client itself is properly working and translated on the client.
-Andy ArchLinux
Hi Andreas,
On Fr 18 Jan 2013 19:02:04 CET Andreas Radke wrote:
I have a problem with the locale in my client session. I have set the locale on my remote client and on the server to "de_DE.UTF-8". This also works well in OpenNX sessions but with X2goclient I see within the client session nothing translated into German due to the locale not applied well. Within the remote client session in any terminal I get this:
[...]
Any idea?
Do you have the code from x2goserver.git/x2goserver-xsession in place?
It may well be that server-side evironment variable defaults will not
be set with the x2goserver-xsession code in place.
More people seem affected in Arch by this: https://bbs.archlinux.org/viewtopic.php?id=151160
Taking this post into consideration, I would rather say... Get the
issue fixed with SSH and then it works with X2Go.
Note: the x2go-qt client itself is properly working and translated on the client.
Ack.
Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Am Sat, 19 Jan 2013 10:44:10 +0100 schrieb Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Do you have the code from x2goserver.git/x2goserver-xsession in place? It may well be that server-side evironment variable defaults will not be set with the x2goserver-xsession code in place.
I've attached our x2goserver package file list. Files get installed with make install. Maybe there's still something missing.
Taking this post into consideration, I would rather say... Get the
issue fixed with SSH and then it works with X2Go.
When I log into the server using a terminal and casual ssh session I have proper locale applied.
-Andy
This is what can be found in my journald with X2go debug logging enabled:
Feb 03 13:16:48 workstation64 /usr/bin/x2gocmdexitmessage[29768]: command output starts with: exec startxfce4 Feb 03 13:16:48 workstation64 polkitd[12266]: Unregistered Authentication Agent for unix-session:116 (system bus name :1.228 [/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1],object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Any idea why X2go doesn't use client or host locale but unwanted reads that Polkit stuff?
-Andy
Is Arch the only distro affected by issue? What could be the culprit? How can we debug this?
People start to workaround it by using a custom startup script like this:
#!/bin/bash export LANG=de_DE.UTF-8 exec gnome-session
No idea? Should we file a bug?
-Andy ArchLinux