Re: Keyboard problems with Java Desktop System

From: Alan Coopersmith (alanc_at_alum.calberkeley.org)
Date: 04/17/05


Date: Sun, 17 Apr 2005 01:30:19 +0000 (UTC)

tristram.scott@ntlworld.com (Tristram Scott) writes in comp.sys.sun.admin:
|I have installed Solaris 10 on a SunFire V100, and also on a 280R. I am
|attempting to open a remote X session to these from a laptop with Solaris
|9 'x86, and from an SGI Indigo2. This seems to work okay when I choose
|CDE, but the Java Desktop System doesn't respond to any keyboard input.
|The mouse works fine.
|
|Has anyone got any ideas as to what might be the cause of this?

Yes. Known GNOME bug. Patch coming soon. The Sun bug id is 6239595 -
it's also reported to the GNOME community as
http://bugzilla.gnome.org/show_bug.cgi?id=170318

The workaround from the Sun engineer working on it (updated since I
last posted about this earlier this week in comp.unix.solaris):
--------------
A workaround is to log directly on the sparc machine (or remotely via a
CDE or failsafe session).

Set all the keys defined in /apps/gnome_settings_daemon/keybindings
to an empty string.

The following command will remove all the default settings :

gconftool-2 -s --type=string
/apps/gnome_settings_daemon/keybindings/volume_down "" -s --type=string
/apps/gnome_settings_daemon/keybindings/volume_up "" -s --type=string
/apps/gnome_settings_daemon/keybindings/volume_mute ""

To verify there are no remaining keys set you can run the command :
gconftool-2 -a /apps/gnome_settings_daemon/keybindings

the output should be :
 eject =
 home =
 volume_down =
 screensaver =
 play =
 pause =
 sleep =
 brightness_down =
 volume_up =
 www =
 brightness_up =
 next =
 volume_mute =
 stop =
 previous =
 email =
 help = Help
 search =

Then remotely login in a JDS 3 session, the key grab won't happen.

Note that you can set the keys via the gconf-editor GUI too by replacing
the non empty keys by an empty string.

(Note : if you want to reset the default settings run :
gconftool-2 --recursive-unset /apps/gnome_settings_daemon/keybindings)
---------

-- 
________________________________________________________________________
Alan Coopersmith * alanc@alum.calberkeley.org * Alan.Coopersmith@Sun.COM
 http://www.csua.berkeley.edu/~alanc/   *   http://blogs.sun.com/alanc/
  Working for, but definitely not speaking for, Sun Microsystems, Inc.


Relevant Pages

  • Re: Keyboard problems with Java Desktop System
    ... |attempting to open a remote X session to these from a laptop with Solaris ... CDE or failsafe session). ... Note that you can set the keys via the gconf-editor GUI too by replacing ... the non empty keys by an empty string. ...
    (comp.unix.solaris)
  • Re: msrdp object and SendKeys
    ... We only allow keys to be sent manually when being used in a non-script context; otherwise maliciously designed web pages that forward a TS connection could do "interesting" things to the user's session. ... > I installed the msrdp ActiveX object an created a VB6 application. ... I can connect to the remote server and use it like the normal rdp ...
    (microsoft.public.windows.terminal_services)
  • Re: Great SWT Program
    ... the session running if the screen client loses its connection or shuts ... Given that I do a lot of remote work over the internet at large, ... but consumes a large amount of bandwidth when updating ...
    (comp.lang.java.programmer)
  • RE: Spying, admin to user login?, Is it possible?
    ... shadow session could not be created directly on Windows XP computer. ... you could active only one user session at one time ... you need to remote desktop to a Windows 2003 ... Microsoft also publishes a KB to describe this work around in detail. ...
    (microsoft.public.windows.server.sbs)
  • RE: Printer share name changes HELP!
    ... occurs after the session has disconnected and upon reconnect it then connects ... you have two remote PCs connecting to Windows 2000 Server ... In a Microsoft Windows 2000-based Terminal Services session, ...
    (microsoft.public.windows.terminal_services)