Skip to content

xrdp v0.10 incorrect behavior when minimizing and restoring a mstsc.exe connection in fullscreen with multiple monitors (v0.9 works fine) #3075

Closed
@pancro

Description

xrdp version

0.10.0

Detailed xrdp version, build options

0.10.0

Operating system & version

various

Installation method

git clone & make install

Which backend do you use?

xorgxrdp

What desktop environment do you use?

i3 and GNOME

Environment xrdp running on

kvm virtual machine

What's your client?

Win11 mstsc.exe

Area(s) with issue?

Graphic glitches, Other

Steps to reproduce

In Summary, when you open a multi-monitor full-screen remote connection to xrdp 0.10, it's not possible to minimize and then maximize correctly the remote desktop connection: only one monitor is displayed when you maximize. The same workflow works correctly with xrdp 0.9.

Equipment utilized:

  • laptop running Windows 11, screen resolution: 1920x1080 (probably irrelevant)
  • external monitor, screen resolution: 1920x1080 (probably irrelevant)
  • external monitor is configured to extend (not mirror) the laptop's display
  • the remote Linux desktop is configured with i3 because i3 makes it very easy to identify monitors and desktops by number, but the issue also affects GNOME

Reproducer:

  • open Remote Desktop Connection on the Windows 11 laptop
  • select "Use all my monitors for the remote session" in the Display tab
  • also select "Display the connection bar when I use the full screen"
  • connect to a Linux machine where xrdp is installed
    • you should now see a full-screen xrdp connection on two monitors which works as expected
  • in the Remote Desktop Connection bar, click the "Restore Down Button"
    • the resulting window correctly encapsulates the multi-monitor configuration, i.e. using the scrollbars it's possible to see both monitors contained in the Remote Desktop Connection Window
  • click the Maximize button in the Remote Desktop Connection Window

✔️ Expected Behavior

  • xrdp 0.9 has the expected behavior:
    • the window is restored full-screen to both monitors
    • you can see the remote desktop connection again on two monitors in full screen

❌ Actual Behavior

  • v0.10 behaves incorrecly:
    • the windows is restored full-screen to one-monitor only
    • the monitor you see depends on your desktop environment, but it's only one
      • for instance, with i3, if you had Desktop 1 and Desktop 2, now you can only see an empty Desktop 3 which didn't exist before, and the status bar does not show indicators for Desktop 1 and Desktop 2 anymore
      • GNOME's behavior is more difficult to understand/predict because it's doesn't have the same way of numbering and identifying desktops uniquely
    • however the output of xrandr still shows two connected monitors, which seems correct

Anything else?

The workaround is to disconnect and reconnect, and the monitors are once again displayed correctly.

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