After a couple of minutes of use, x11vnc doesn't accept non-english keys

Bug #1453746 reported by zzarko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
x11vnc (Ubuntu)
New
Undecided
Unassigned

Bug Description

When I was using Ubuntu 12.04, I often used x11vnc on one of my work machines for remote access, mostly for handling internal e-mails. As I live in Serbia, I use local keyboard layout with letters like "šđč枊ĐČĆŽ". Since I upgraded that machine to 14.04 (and also my home machine from where I use vnc viewer), something got corrupted with keystrokes handling. After a few minutes of use (usually less than 10), first happens that I need to press local letter two or three times to be recognised as keystroke on remote machine, and soon after that, any key press with local letters simply isn't recognised, like I didn't press anything. The only solution I found so far is to close vnc viewer and to connect again. All the other keys on keyboard work as expected.

I have tried several vnc viewer programs, the same thing happens with all of them. I also tried a few vnc viewer programs from old 13.10 installation (that worked perfectly with x11vnc from 12.04), same thing, so I guess that there is something with x11vnc, not with viewers. I also tried tinkering with various x11vnc options, but without any result.

Any ideas what should I check or try?

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: x11vnc 0.9.13-1.1
ProcVersionSignature: Ubuntu 3.13.0-53.87-generic 3.13.11-ckt19
Uname: Linux 3.13.0-53-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
CurrentDesktop: Unity
Date: Mon May 11 11:42:14 2015
InstallationDate: Installed on 2014-08-02 (281 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: x11vnc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
zzarko (zzarko-gmail) wrote :
Revision history for this message
zzarko (zzarko-gmail) wrote :
Download full text (8.7 KiB)

Some additional information... Here is the output of xev when keys are working (first is the Enter key, then 5 small Serbian letters):

KeyPress event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 155013091, (116,-55), root:(1651,998),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
" XmbLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 155013187, (116,-55), root:(1651,998),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 93, count 1

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 93, count 1

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 93, count 1

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 93, count 1

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 93, count 1

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 93, count 1

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 93, count 1

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 93, count 1

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 93, count 1

KeyPress event, serial 46, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 155021453, (116,-55), root:(1651,998),
    state 0x10, keycode 93 (keysym 0x1b9, scaron), same_screen YES,
    XLookupString gives 2 bytes: (c5 a1) "š"
    XmbLookupString gives 2 bytes: (c5 a1) "š"
    XFilterEvent returns: False

KeyRelease event, serial 46, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 155021527, (116,-55), root:(1651,998),
    state 0x10, keycode 93 (keysym 0x1b9, scaron), same_screen YES,
    XLookupString gives 2 bytes: (c5 a1) "š"
    XFilterEvent returns: False

MappingNotify event, serial 46, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 97, count 1

MappingNotify event, serial 46, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 97, count 1

MappingNotify event, serial 46, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 97, count 1

MappingNotify event, serial 46, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 97, count 1

MappingNotify event, serial 46, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 97, count 1

MappingNotify event, serial 46, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 97, count 1

MappingNotify event, serial 46, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 97, count 1

MappingNotify event, serial 46, synthetic NO, window 0x0,
 ...

Read more...

Revision history for this message
zzarko (zzarko-gmail) wrote :
Download full text (3.4 KiB)

And this is the xev output for same keys when they stop to work:

KeyPress event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154792805, (615,169), root:(2120,1266),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
" XmbLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154792883, (615,169), root:(2120,1266),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154801177, (615,169), root:(2120,1266),
    state 0x10, keycode 103 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154801274, (615,169), root:(2120,1266),
    state 0x10, keycode 103 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154818131, (615,169), root:(2120,1266),
    state 0x10, keycode 120 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154818231, (615,169), root:(2120,1266),
    state 0x10, keycode 120 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154825928, (615,169), root:(2120,1266),
    state 0x10, keycode 149 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154826006, (615,169), root:(2120,1266),
    state 0x10, keycode 149 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154828324, (615,169), root:(2120,1266),
    state 0x10, keycode 93 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154828420, (615,169), root:(2120,1266),
    state 0x10, keycode 93 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x5200001,
    root 0xbf, subw 0x0, time 154829805, (615,169), root:(2120,1266),
    state 0x10, keycode 97 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns:...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.