Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 303377

Summary: net-misc/tightvnc server has wrong keymap with gnome
Product: Gentoo Linux Reporter: Joe C. <camel4joe>
Component: [OLD] ServerAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED INVALID    
Severity: normal CC: jstein, netbox253
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joe C. 2010-02-03 19:17:36 UTC
After updated my Gentoo (did "emerge -DNuv world"), and forced to be unable to use RealVnc's vncserver, I started using tightvnc's vncserver.  Then my gnome-session connection was messed up with wrong keymap.

My solution: un-emerge tightvnc, then emerge tigervnc and start the vncserver as  usual, everthing works fine.



Reproducible: Always

Steps to Reproduce:
1.  emerge tightvnc  -- to install vncserver
2.  configure .vnc/xstartrc with gnome-session, and the start vncserver
3.  using RealVnc viewer from a Windows PC to login vncserver.  Then keymap is wrong.

Actual Results:  
When press ENTER key, it produces a SPACE key.

Expected Results:  
When press ENTER keay, it should produce ENTER.
Comment 1 Rafał Mużyło 2010-02-03 23:57:18 UTC
*** Bug 303379 has been marked as a duplicate of this bug. ***
Comment 2 Rafał Mużyło 2010-02-03 23:58:42 UTC
Chances are that gnome hates not having xkb extension.

Did you check xorg log ?
Comment 3 Joe C. 2010-02-04 00:57:13 UTC
(In reply to comment #2)
> Chances are that gnome hates not having xkb extension.
> 
> Did you check xorg log ?
> 

I'd like to.  Please tell me how to check xorg log.

BTW, my solution of using tigervnc still has some weired key mapping, so I guess it's not a good solution.  Please let me know how I should fix it.
 
Comment 4 Fab 2010-04-14 17:00:57 UTC
Hi,

I got exactly the same problem.
I found a workaround in bug #190865#c7 :

> try setting XKL_XMODMAP_DISABLE=1 in your environment somewhere
> before running gnome-session. In theory, that should tell gnome to be
> very stupid about keyboard handling, and it should prevent it
> from messing up your keymaps.

This fix the problem for me.
Comment 5 Jonas Stein gentoo-dev 2016-02-28 15:53:38 UTC
seems a broken configuration led to the problem and the solution was found.
Can we close this bug?