[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Tab taste liefert mit xrdp login falschen Tastencode



Hallo,

bei uns melden sich verschiedene Nutzer via xrdp auf einem Debian stable
System ein.  Bei den meisten ist alles OK aber mittlerweile haben schon
zwei Nutzer gemeldet, daß Bash tab completion nicht funktioniert.  Das
erschien mir seltsam und ich habe herausgefunden, daß einfach die Tab Taste
einen falschen Tastencode liefert (nicht nur tab completion schlägt fehl
sondern auch das Wechseln der Fenster im MidnightCommander).

Ich habe daher mal per xev ausgebe lassen, was die Tab Taste liefert:



KeyRelease event, serial 32, synthetic NO, window 0x1800001,
    root 0x2e, subw 0x0, time 2293889435, (-587,-255), root:(284,256),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

FocusOut event, serial 34, synthetic NO, window 0x1800001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 34, synthetic NO, window 0x1800001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  4294967192 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

FocusOut event, serial 34, synthetic NO, window 0x1800001,
    mode NotifyNormal, detail NotifyNonlinear

VisibilityNotify event, serial 34, synthetic NO, window 0x1800001,
    state VisibilityFullyObscured



"Richtig" wäre aber soeas wie:


KeyPress event, serial 37, synthetic NO, window 0x5a00001,
    root 0xd4, subw 0x0, time 1519078023, (-514,314), root:(361,834),
    state 0x0, keycode 23 (keysym 0xff09, Tab), same_screen YES,
    XLookupString gives 1 bytes: (09) " "
    XmbLookupString gives 1 bytes: (09) "       "
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5a00001,
    root 0xd4, subw 0x0, time 1519078088, (-514,314), root:(361,834),
    state 0x0, keycode 23 (keysym 0xff09, Tab), same_screen YES,
    XLookupString gives 1 bytes: (09) " "
    XFilterEvent returns: False


Das ganze tritt nur auf, wenn xrdp verwendet wird, also wenn man sich
mit ssh anmeldet, geht die Tab Taste wie erwartet.  Es ist auch (meiner
Kenntnis nach) nur bei zwei Nutzern, die sich erstmal nicht sichtbar
von den anderen unterscheiden.  Hat jemand eine Idee, wo die Ursache
liegen kann?

Viele Grüße

       Andreas.


-- 
http://fam-tille.de


Reply to: