Skip to content

Need new keyboard layout : Keyboard layout changes on client connection loss #3348

@Chesters-CZ

Description

@Chesters-CZ

xrdp version

0.9.21.1

Detailed xrdp version, build options

root@CHESTERS-SERVER:/home/chesters# sudo xrdp --version
xrdp 0.9.21.1
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-ipv6
      --enable-jpeg
      --enable-fuse
      --enable-rfxcodec
      --enable-opus
      --enable-painter
      --enable-vsock
      --build=x86_64-linux-gnu
      --prefix=/usr
      --includedir=${prefix}/include
      --mandir=${prefix}/share/man
      --infodir=${prefix}/share/info
      --sysconfdir=/etc
      --localstatedir=/var
      --disable-silent-rules
      --libdir=${prefix}/lib/x86_64-linux-gnu
      --libexecdir=${prefix}/lib/x86_64-linux-gnu
      --disable-maintainer-mode
      --disable-dependency-tracking
      --with-socketdir=/run/xrdp/sockdir
      build_alias=x86_64-linux-gnu
      CFLAGS=-g -O2 -ffile-prefix-map=/build/xrdp-QTF2mN/xrdp-0.9.21.1=. -fstack-protector-strong -Wformat -Werror=format-security 
      LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 
      PKG_CONFIG_PATH=/build/xrdp-QTF2mN/xrdp-0.9.21.1/pkgconfig

  Compiled with OpenSSL 3.0.14 4 Jun 2024
root@CHESTERS-SERVER:/home/chesters# 

Operating system & version

Debian GNU/Linux 12 (bookworm)

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

?

What desktop environment do you use?

GNOME

Environment xrdp running on

Dell PowerEdge R510 server with MGA G200eW WPCM450 GPU

What's your client?

Remote Desktop Connection (C:\WINDOWS\system32\mstsc.exe) running on a Windows 11 machine

Area(s) with issue?

Keyboard / Mouse

Steps to reproduce

  1. Connect via Remote Desktop Connection:
    image
  2. Disconnect client from network
  3. Reconnect client to network
  4. Connect via Remote Desktop Connection again

✔️ Expected Behavior

Keyboard layout after step 1 should be the same as after step 4 (for me, Czech QWERTZ)

❌ Actual Behavior

The layout after step 1 is correct - Czech QWERTZ
The layout after step 4 is different - English QWERTY or some kind of cyrillic layout

Anything else?

Keyboard layout gets fixed after logging out and logging back in. The keyboard layout in the Gnome settings stays unchanged:
image

xrdp-sesman.log
xrdp.log
xorg.conf.txt
Github does not accept the .conf filetype, so I appended .txt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions