You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My setup: I try to connect to my working machine with Ubuntu 18.04 from my laptop on Windows 10 with default windows RDP client mstsc.exe.
xrdp from Ubuntu repositories: version 0.9.5:
$ xrdp --version
xrdp: A Remote Desktop Protocol server.
Copyright (C) Jay Sorg 2004-2014
See http://www.xrdp.org for more information.
Version 0.9.5
I connect via vnc-any, which only one allows me to connect to my existing local session
My Ubuntu machine have 2 keyboard layouts: us and ru.
Laptop keyboard layout:
When I connect via RDP, on russian layout I can't enter some symbols, instead corresponding symbol from US layout is printed. I have no such problem, when I use keyboard, directly connected to my Ubuntu machine. These symbols are:
I try to type
I get
ж
;
б
,
ю
.
.
/
Ж
:
Э
"
Б
/
,
?
I googled the problem, almost everywhere recommend run xrdp-genkeymap /etc/xrdp/km-00000419.ini. I tried this, but without a visible effect, although the file generated by the utility is different from the one delivered with the xrdp package (file extension renamed to .txt, because GitHub do not support files with .ini extension):
generated by xrdp-genkeymap /etc/xrdp/km-00000419.ini (current layout do not matter): xrdp-genkeymap.ini.txt
generated by xrdp-genkeymap, but after setxkbmap -layout 'ru,us' (current layout do not matter): xrdp-genkeymap-setxkbmap.ini.txt
On another site, someone advised me to run xrdp-genkeymap after running the setxkbmap command, so I run
setxkbmap -layout 'ru,us'
Using file after that also has no effect.
For reference, I grabed all symbols, that produced by keyboard and summarize below (note, that physical layout of laptop keyboard and external keyboard slightly differs: key \| on external keyboard in the numbers row, before backspace, and on laptop in the qwerty row, last key in that row, see image above. That difference is reflected in the Native and RDP sections below):
Just noticed, that if you run xev and try to press some keys with letters, than in us layout you see, that key press and key release events assumes different layouts: KeyPress event see wrong layout, but KeyRelease -- correct: different-layouts-in-events.txt
In that file I
run xev
press the f key in us layout
close xev window
You also can see fake Num Lock press/release events, which is another bug #1578.
My setup: I try to connect to my working machine with Ubuntu 18.04 from my laptop on Windows 10 with default windows RDP client mstsc.exe.
xrdp from Ubuntu repositories: version 0.9.5:
$ xrdp --version xrdp: A Remote Desktop Protocol server. Copyright (C) Jay Sorg 2004-2014 See http://www.xrdp.org for more information. Version 0.9.5
I connect via vnc-any, which only one allows me to connect to my existing local session
My Ubuntu machine have 2 keyboard layouts:
us
andru
.Laptop keyboard layout:
When I connect via RDP, on russian layout I can't enter some symbols, instead corresponding symbol from US layout is printed. I have no such problem, when I use keyboard, directly connected to my Ubuntu machine. These symbols are:
ж
;
б
,
ю
.
.
/
Ж
:
Э
"
Б
/
,
?
I googled the problem, almost everywhere recommend run
xrdp-genkeymap /etc/xrdp/km-00000419.ini
. I tried this, but without a visible effect, although the file generated by the utility is different from the one delivered with the xrdp package (file extension renamed to.txt
, because GitHub do not support files with.ini
extension):xrdp-genkeymap /etc/xrdp/km-00000419.ini
(current layout do not matter):xrdp-genkeymap.ini.txt
xrdp-genkeymap
, but aftersetxkbmap -layout 'ru,us'
(current layout do not matter): xrdp-genkeymap-setxkbmap.ini.txtOn another site, someone advised me to run
xrdp-genkeymap
after running thesetxkbmap
command, so I runsetxkbmap -layout 'ru,us'
Using file after that also has no effect.
For reference, I grabed all symbols, that produced by keyboard and summarize below (note, that physical layout of laptop keyboard and external keyboard slightly differs: key
\|
on external keyboard in the numbers row, beforebackspace
, and on laptop in theqwerty
row, last key in that row, see image above. That difference is reflected in theNative
andRDP
sections below):Notice, that after
setxkbmap -layout 'ru,us'
russian layout without Shift works as expected, but with Shift instead of letterБ
symbol/
is entered.Information about layouts (before
setxkbmap
):Please help fix this issue. If you need some additional info, maybe network capture, let me known, how to do that.
The text was updated successfully, but these errors were encountered: