Skip to content

Occasual stop to working layout switch shortcut #3586

@Mingun

Description

@Mingun

xrdp version

0.9.24

Detailed xrdp version, build options

$ xrdp --version
xrdp 0.9.24
  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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/xrdp-Fn5kxo/xrdp-0.9.24=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/build/xrdp-Fn5kxo/xrdp-0.9.24=/usr/src/xrdp-0.9.24-4 
      LDFLAGS=-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=3 
      PKG_CONFIG_PATH=/build/xrdp-Fn5kxo/xrdp-0.9.24/pkgconfig

  Compiled with OpenSSL 3.0.13 30 Jan 2024

Operating system & version

Ubuntu 24.04.2 LTS

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

xorg

What desktop environment do you use?

GNOME

Environment xrdp running on

Physical machine, don't know how to check card

What's your client?

mstsc.exe from Windows 10, 19044.6093

Area(s) with issue?

Keyboard / Mouse

Steps to reproduce

I don't know if this is an xrdp issue or someone else's, but I only experience it when working remotely. Locally, it has never been reproduced. So I think it might be related to xrdp.

Sometimes the keyboard layout switching suddenly stop to working via keyboard shortcuts (Alt+Shift in my case). Switching from the GNOME menu does work. The problem goes away when I disconnect and reconnect to the session.

I attach my logs. The problem happened twice, both times after I noticed it I disconnected and connected again:

xrdp-sesman.log
xrdp.log

✔️ Expected Behavior

Keyboard layout switching (a.k.a. language switching) should be performed when activating shortcut.

❌ Actual Behavior

Shortcut is not activating. You should select desired language from the tray drop-down menu.

Anything else?

No response

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