Hi all,
We're having a really bad time trying to make GDM pick up the default
layout of the SRS server machine. We're running an Oracle Linux 6.3 x64
distribution with SRS v. 5.4.0.0.44.
We're also using remote users mounted via pam_mount using sssd. All that
works as expected, but seems that when an user enters their login on the
GDM screen, some configuration file is being opened from their homes and
if it exists, both keyboard and layout are loaded from them. However, as
the users are remote, at the time the user enters their user names,
their homes are not mounted yet (obviously), so the default layout is
being taken, which is 'English (US)' (us). The keyboard, however, is
picked up correctly at that time (es_ES.UTF-8), and the spanish
translation for GDM is also working correctly.
We've tried dozens of things to make GDM pick up 'es' as the default
layout, but no luck.
Using strace on a 'gdm-simple-slave' process and a nonexistent login at
the login time, I'm getting some calls like these:
read(13,
"\1\10<\0\6\0\0\0\37\0\0\0\0\0\0\0\30\0\0\0\0\0\0\0008\0\231\377\332\222\17\10xorg\0sun_type6_usb\0us\0\0\0",
4096) = 56
read(13, 0x21d8394, 4096) = -1 EAGAIN (Resource
temporarily unavailable)
writev(10,
[{"l\4\1\1\7\0\0\0\377\0\0\0\217\0\0\0\1\1o\0'\0\0\0/org/gnome/DisplayManager/GreeterServer\0\2\1s\0&\0\0\0org.gnome.DisplayManager.GreeterServer\0\0\3\1s\0\30\0\0\0DefaultLayoutNameChanged\0\0\0\0\0\0\0\0\10\1g\0\1s\0\0",
160}, {"\2\0\0\0us\0", 7}], 2) = 167
I assume it can't find some resource (probably a file) and picks up 'us'
as the default layout. I've also tried setting the recent languages via
the gconftool:
sudo -u gdm gconftool-2 --type list --list-type string --set
/schemas/apps/gdm/simple-greeter/recent-languages [es]
But that would be useless as well, as the 'English (US)' layout is still
chosen by default.
I've also read that the default layout is taken from the server, so I
listed the 'xkb' entries:
# lshal | grep xkb
input.xkb.layout = 'es' (string)
input.xkb.model = 'pc105' (string)
input.xkb.options = 'terminate:ctrl_alt_bksp' (string)
According to this, 'es' should be picked. As a last try, I downloaded
the source code of the gdm-multiseat-2.30.7.20120705-10.el6.x86_64 RPM,
looked for the possible "us" hardcoded strings in the code, changed the
corresponding strings in the 'daemon/gdm-session-direct.c' and
'gui/simple-greeter/gdm-layout-chooser-widget.c' files and rebuilt the
RPM, no luck, however.
Has someone experienced this kind of problem? Any possible solution (a
workaround would be enough)? I've seen several topics on opened bugs but
it seems to affect previous versions, so I'm not sure this is the real
problem.
Thanks for any help.
Nicolás
_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users