Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1011696.1
Update Date:2011-03-16
Keywords:

Solution Type  Technical Instruction Sure

Solution  1011696.1 :   Sun Ray[TM] appliance NumLock questions  


Related Items
  • Sun Ray Hardware
  •  
  • Sun Ray Hardware
  •  
  • Sun Ray Software
  •  
  • Sun Ray Hardware
  •  
  • Sun Ray Hardware
  •  
  • Sun Ray Hardware
  •  
Related Categories
  • GCS>Sun Microsystems>Desktops>Desktop Virtualization>Sun Ray Hardware
  •  
  • GCS>Sun Microsystems>Desktops>Desktop Virtualization>Sun Ray Software
  •  

PreviouslyPublishedAs
216039


Description
This document answers questions about NumLock on Sun Ray[TM] sessions.


Steps to Follow
Sun Ray[TM] appliance NumLock questions

General, non OS-specific questions

Q1. I am at the login screen, NumLock is turned on. I then power-cycle the appliance (ctrl-moon), system cycles through, NumLock is turned off for about 3 seconds, the login screen comes up, and then NumLock is on.

A1. This is correct behavior. When you power-cycle the Sun Ray appliance, the session was temporarily disconnected and then reconnected. When it reconnected, it made the NumLock of the unit match what was specified in the session. The lock state is maintained for the session by the X server, which has continued to run during the disconnection. This is similar to what happens when you hotdesk to a different unit.

Note: in a failover configuration, when you power-cycle the Sun Ray appliance while your session is at the login screen, this existing "idle" session is ignored during loadbalancing decisions. You thus might get a new session on a different Sun Ray server, with NumLock off.

Q2. I login at the Sun Ray appliance. NumLock is on. I log out, and I am back at the login screen. NumLock is turned off.

A2. This is also correct behavior. The NumLock state is maintained for the session in the X server. When you log out, your X server exits, and a new one starts. The new one sets the locks to the default settings (i.e. off).

Q3. What is the difference between power-cycling the appliance vs logging out? Why does NumLock come back on during a power-cycle event, but not on a logout?

A3. Power-cycling the Sun Ray appliance does not terminate any applications or the X server, and the session state is maintained (including locks). The session is just disconnected. [In question Q2, the login window is disconnected and then reconnected and the state is restored.] Logout terminates all the applications and the X server, and the session state is reset to the defaults. The important point is that resetting the Sun Ray unit has no effect on the server applications (including the login window). It is not like resetting a workstation or PC. The same things will happen to the locks if you are already logged in and try the reset vs. logout.

The Sun Ray Server is Running on Linux:

Q4. Numlock and AltGr do not work correctly for Java applications.

A4. This is a set of known Java issues. It is fixed in Java 6. It does not show up if the XKEYBOARD extension is disabled, which is default for Sun Ray sessions. Refer to the utxconfig manual page for additional information.

To get the fix for Java Bug 6173972 for Java 5 in case you cannot update to Java 6, and need the XKEYBOARD extension, update to a Java 5 release that contains all security fixes, and then set "_AWT_USE_TYPE4_PATCH=false" before starting the Java application.

The Sun Ray Server is Running on JDS 2:

Q5. On Sun Ray sessions, NumLock does not work.

A5. This is a known JDS 2 bug

 5099439 caps_lock and num_lock keys have no effect on JDS 2

The fix was delivered in patch-118905-01 (gtk2-2.2.2-249.i586.rpm), which is available via online update.

Other related bugfixes
4692623 ToggleKeys/NumLock fails on SunRay on S8U4 is fixed in

  108652-54 X11 6.4.1: Xsun patch (Solaris 8)
112785-04 X11 6.6.1: Xsun patch (Solaris 9)

The fix is contained in Solaris[TM] 10.



Product
Sun Ray 1 Ultra-Thin Client
Sun Ray Server Software 3.0
Sun Ray Server Software 2.0
Sun Ray Server Software 1.3
Sun Ray 170 Ultra-Thin Client
Sun Ray 1g Ultra-Thin Client
Sun Ray 150 Ultra-Thin Client
Sun Ray 100 Ultra-Thin Client

Internal Comments
Acknowledgement: This document contains information provided by Jim Hanko.


See also http://rsd-software.sfbay/twiki/bin/view/Products/SunRayServerSoftwareTroubleshootingKeyboard


sunray Sun Ray, NumLOck
Previously Published As
21986

Change History
patch-118905-01 cannot be located in the sunsolve database. It needs to either
be amended or deleted before we can publish.
Date: 2007-10-23
User Name: 7058
Action: Approved
Comment: OK to publish. No further edits needed.
Version: 6
Date: 2007-10-23
User Name: 7058
Action: Accept
Comment:
Version: 0
Date: 2007-10-23

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback