OpenSolaris

Printable Version Enter a New Search
Bug ID 6822673
Synopsis Sun Ray Server Software loginGUI is failing with non-C locale
State 10-Fix Delivered:Needs Verification (Fix available in build)
Category:Subcategory openi18n-im:xiiimp_so
Keywords approved-ys148558
Responsible Engineer Osamu Sayama
Reported Against 06
Duplicate Of
Introduced In
Commit to Fix snv_115
Fixed In snv_115
Release Fixed solaris_nevada(snv_115) , solaris_10u8(s10u8_01) (Bug ID:2178568)
Related Bugs 6824452 , 4763759
Submit Date 26-March-2009
Last Update Date 12-June-2009
Description
My default system locale is Slovak (sk_SK.UTF-8). With this locale the /etc/opt/SUNWut/loginGUI is failing to start with this output:

-------------------------------------------------------------------------------
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  366
  Current serial number in output stream:  366
-------------------------------------------------------------------------------

I tested these combinations of Nevada and SRSS:
snv_105 + SRSS 4.1 build 50 = works
snv_110 + SRSS 4.1 build 50 + fixed binaries (Volo) = DOES NOT WORK
snv_110 + SRSS 4.2 build 06 = DOES NOT WORK

How to reproduce the problem:
1. Install Nevada build 110 with Slovak (sk_SK.UTF-8) default locale.
2. Install SRSS.
3. Login to the system.
4. pull out the card from a DTU and push it back
5. DTU starts to cycle. No expected "Sun Ray Session Lock" window is displayed.
6. Now, it is impossible to return back to the session.

The problem is probably related to other locales too.
Work Around
Change:

$LOGIN_GUI_PROG -l "$LOGIN_TYPE" "$@" &
to
LC_ALL=C $LOGIN_GUI_PROG -l "$LOGIN_TYPE" "$@" &

in /etc/opt/SUNWut/loginGUI.start file.
Replace attached x86 xiiimp.so.2 with /usr/X11/lib/X11/locale/common/xiiimp.so.2
Then utrestart -c.
Another possible workaround is:
- Don't enable Non-SmartCard Mobility (NSCM) feature
- Disable the Remote Hotdesk Authentication (RHA) feature

This means excluding "-M" and including "-D" in the utpolicy options.

This has the advantage of not having to alter SRSS binaries, however note that disabling RHA has a negative impact on security and is generally not recommended.
Comments
N/A