← Back to team overview

freenx-team team mailing list archive

Re: [Bug 289918] Re: Regression: Connecting to FreeNX breaks keyboard layout in Intrepid

 

Daniel Holbert wrote:
> FWIW, I have this exact same problem using VMWare Workstation with this setup:
>   host = Ubuntu 8.10
>   guest= Ubuntu 8.04
>   VMWare Workstation version = 6.5.0 build-118166
>
> In this setup, UpArrow triggers 'save screenshot' (in the guest),
> RightControl types out "^[[6~", PageDown triggers context menu, PageUp
> types a '/' character, etc.  These are all the same symptoms I get when
> using nxclient.
>
>   
So far the fixes I have found for these issues are below:

There are a couple other 'hacks' around but this one seems to fix all 
the issues including Unity.
Add this to:
/etc/vmware/config

---------- snip ----------------------
xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0x149 # Prior
xkeymap.keycode.117 = 0x151 # Next
xkeymap.keycode.78 = 0x46 # Scroll_Lock
xkeymap.keycode.127 = 0x100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu
--------------snip ---------------------------

The fix for NoMachine is to upgrade to 3.3 (just out 2 days ago) on both 
server and client. Obviously restart the server services. BTW... VWware 
Workstation 6.5.1 is out.

-Craig Herring

-- 
Regression: Connecting to FreeNX breaks keyboard layout in Intrepid
https://bugs.launchpad.net/bugs/289918
You received this bug notification because you are a member of FreeNX
Team, which is the registrant for FreeNX Server.

Status in FreeNX open source NX Server: New
Status in “metacity” source package in Ubuntu: Confirmed

Bug description:
Details:
http://ubuntuforums.org/showthread.php?p=6043289&posted=1#post6043289

Story:
I have a Ubuntu 8.04.1 64bit server with FreeNX (used to be Debian Etch 4 with NomachineNX).  Then I have two 32bit clients, one with XP and one with Intrepid (used to be Hardy).  The Intrepid-client also has FreeNX (server) installed.

When it breaks the keymap is messed up to the point of not being usable in the NX-session.  Locally run programs are not affected.  Regular letters and numbers are not affected, but arrow keys and special keys such as pgup, pgdn, and delete are either not functioning or doing weird things (e.g. arrow up is remapped to screenshot).

The following works:
WinXP to Debian Nomachine
Hardy to Debian Nomachine
WinXP to Intrepid FreeNX
WinXP to Hardy FreeNX

The following is broken:
Intrepid to Hardy FreeNX
Intrepid to Intrepid FreeNX

Changing character-map on the FreeNX host does not help.  Keyboard works fine locally, and simultaneously with the NX-session (ie if I have a text editor on top the home key will work in the editor run locally, but nothing run remotely).



References