Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266850 - vnc server has dead keys (eg. german umlauts)
Summary: vnc server has dead keys (eg. german umlauts)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 13:05 UTC by Gerhard Hintermayer
Modified: 2010-01-25 17:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Hintermayer 2009-04-20 13:05:35 UTC
net-misc/vnc-4.1.3 worked with german umlauts, 4.1.3-r2 (with new xorg-server 1.5) does not. 

Reproducible: Always

Steps to Reproduce:
1. start vnc server
2. login with client vnc viewer
3. test your keyboard 

Actual Results:  
umlauts dead keys

Expected Results:  
deliver umlauts as usual

masking xorg-server >1.5 and vnc > 4.1.3 does the job. good I'm at a machine, where I do not need the latest Xorg Server.
Comment 1 Rafał Mużyło 2009-04-20 19:01:41 UTC
Did you configure things properly in hal ?
Comment 2 oz 2009-04-22 11:47:36 UTC
hal? what's hal got to do with it?
I had this problem, too, before i restored my backup and i don't remeber i had hal installed.

I typed a bit in an xterm on the local Xserver and had all chars, like @, ü, ö and ß. Then i did the same in a VNC window and a lot of chars were missing. I think some of them required the ISO_Level3_Shift modifier key (AltGr) like the @ on german keyboards.

Now i wonder if this really was the same problem.

Mr. Hintermayer is the @ key working for you?
Comment 3 Gerhard Hintermayer 2009-04-22 12:22:42 UTC
(In reply to comment #1)
> Did you configure things properly in hal ?
> 
not using hal at all.
Also no local X-Server, only a vncserver (Xvnc).
Tried to configure hal with german keyboard, but umlauts don't work either.
Comment 4 Gerhard Hintermayer 2009-04-22 12:24:04 UTC
(In reply to comment #2)
> hal? what's hal got to do with it?
> I had this problem, too, before i restored my backup and i don't remeber i had
> hal installed.
> 
> I typed a bit in an xterm on the local Xserver and had all chars, like @, ü,
> ö and ß. Then i did the same in a VNC window and a lot of chars were missing.
> I think some of them required the ISO_Level3_Shift modifier key (AltGr) like
> the @ on german keyboards.
> 
> Now i wonder if this really was the same problem.
> 
> Mr. Hintermayer is the @ key working for you?
> 
Don't know. Have to try next time i'm at the office. Unfortunately I cought a cold :-(
Comment 5 Gerhard Hintermayer 2009-04-27 07:34:35 UTC
> 
> Mr. Hintermayer is the @ key working for you?
> 
Yes, interesting, all keys using [Alt Gr] work (@,|,~,\, Euro Symbol not), bot none of the umlauts.
Comment 6 Gerhard Hintermayer 2009-05-13 11:00:29 UTC
Is there anything I can/should test ? I'd really like to upgrade to xorg-server-1.5
Comment 7 Gerhard Hintermayer 2009-05-20 15:02:29 UTC
Why is this bug marked RESOLVED NEEDINFO ? This is definitely not resolved for me.
oz, so you restored your backup (i.e. still use vnc 4.1.3 and xorg-server < 1.5) ?

here's my emerge --info:

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.19-gentoo-r5-i686-Intel-R-_Xeon-R-_CPU_5130_@_2.00GHz-with-glibc2.0
Timestamp of tree: Wed, 20 May 2009 14:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://brklev2a.fact.brk.eu.mars/gentoo-portage"
USE="X acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo exif fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv isdnlog jpeg ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Rafał Mużyło 2009-05-20 15:58:13 UTC
While unrelated, bug 268821 may give you a hint,
where the problem lies (i.e. in some vnc setting).

Though, are you really sure you've configured it correctly in hal ?
I've seen many forum posts, where people *thought*, that
they did it correctly. Perhaps you need 'nodeadkeys' variant ?
Comment 9 Gerhard Hintermayer 2009-05-20 18:15:49 UTC
(In reply to comment #8)
> While unrelated, bug 268821 may give you a hint,
> where the problem lies (i.e. in some vnc setting).
>
I'll check that. But as the german umlauts don't use any modifier keys, this really seems unrelated to me.

> Though, are you really sure you've configured it correctly in hal ?
> I've seen many forum posts, where people *thought*, that
> they did it correctly. Perhaps you need 'nodeadkeys' variant ?
> 
Absolutely. Here (=at home) keys work locally on the X-server (both sides), but not via vncviewer attached to X-server. Have to check standalone Xvnc (with no local X-Server) in the office next week.

Comment 10 oz 2009-05-20 18:52:03 UTC
> oz, so you restored your backup (i.e. still use vnc 4.1.3 and xorg-server <
1.5) ?

Yes, unfortunately i stick to these versions :(

$ equery l xorg-server; equery l vnc     
[ Searching for package 'xorg-server' in all categories among: ]
 * installed packages
[I--] [  ] x11-base/xorg-server-1.3.0.0-r6 (0)
[ Searching for package 'vnc' in all categories among: ]
 * installed packages
[I--] [  ] net-misc/vnc-4.1.3 (0)
[I--] [M ] x11-misc/x11vnc-0.8.2 (0)
Comment 11 Gerhard Hintermayer 2009-05-22 08:34:00 UTC
OK, checked in the office
I have following file /etc/hal/fdi/policy/10-xinput-configuration.fdi

<?xml version="1.0" encoding="UTF-8"?>
<!--
Section "InputDevice"
   Driver "evdev"
   Option "XkbLayout" "de"
EndSection
-->
<deviceinfo version="0.2">
   <match key="info.capabilities" contains="input.keyboard">
      <merge key="input.x11_options.XkbLayout" type="string">de</merge>
   </match>
</deviceinfo>

On a station with local X-Server this gives me working umlaut keys. This is a server with no local X, only vnc-server via Xvnc. I restarted hald after installing the fdi file.

and get following entries in the vnc-server log when I press umlaut keys:
Fri May 22 10:29:24 2009
 XserverDesktop: Added unknown keysym 0xfc to keycode 255
 XserverDesktop: Added unknown keysym 0xf6 to keycode 254
 XserverDesktop: Added unknown keysym 0xe4 to keycode 253

Anything else I can check ?
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2010-01-24 17:39:20 UTC
net-misc/vnc is going away, reopen if you have the same issue with net-misc/tigervnc
Comment 13 Gerhard Hintermayer 2010-01-25 17:00:16 UTC
(In reply to comment #12)
> net-misc/vnc is going away, reopen if you have the same issue with
> net-misc/tigervnc
> 
Thanks, I already switched to tigervnc, since I need vnc connectivity and didn't want to stay at an old xorg release. Tigervnc works without any problems