-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White screen when resizing RDP window session #3316
Comments
Your report shows a backend of I've just reproduced your setup, and I'm not seeing any white screens here on a vanilla installation with VNC. After you get one, can you list a complete system log for the last minute with :-
|
@matt335672 how can I double-check that? xorgxrdp package is installed on the system. Here is system log:
|
You're definitely using the VNC backend, as that's what's shown in the log:-
I'm unable to see anything in the log at the moment related to your problem however.
|
Once I get the white screen, I don't see any other relevant message in xrdp. |
I noticed something interesting: the resizing works perfectly when using the laptop screen(resolution 1920x1080). The resizing no longer works when I use my external monitor which has a higher resolution(2560x1440). |
Thanks for that. I'm running 2560x1440, and I'm still unable to provoke this fault. How are you resizing? Just grabbing the sides of the window and moving it? Let's try something else:-
|
I'm resizing using Remmina full-screen button(so the RDP session takes the whole screen) I reproduced the issue with debug log enabled, let me share the content of xrdp.log file:
|
Still not managed to reproduce this, but I can compare the logging on my system with yours. The next messages to be expected in this mode are:-
These are generated when the client (remmina in this case) sends a 'Font List PDU' as part of the "Deactivation-Reactivation Sequence" specified in section 1.3.1.3 of "[MS-RDPBCGR]". Until we receive this message, we cannot complete the resize, and we do not seem to be getting it. We are getting a 'confirm active PDU', so the client has responded to the resize request. It does not however seem to be finishing it. @geragio - can you find the config file for this client for remmina and post it? It should be in something like Also, when the problem happens you should be able to disconnect the client and reconnect to the session. Can you try this please? |
Also, can you try running remmina from the command line? You should get some client-side logging. If you can provoke the problem you may get a client-side log message to indicate where the problem may be. |
See also https://gitlab.com/Remmina/Remmina/-/issues/3086 which may be related. I'll set up a gitlab account and try to touch base with the remmina developers. |
Interesting finding, it seems this is a client issue indeed. This leads me to think the issue is specific to Remmina, perhaps I'm using a wrong configuration or it's a bug.
|
Looking at the Remmina bug report, It looks like I need a twin monitor setup to provoke this. I'll set something up and try again with your config above. |
Well, I've got a twin monitor Ubuntu 22.04 setup now, and I still can't reproduce this! Can you give me the output of Thanks. |
Also, what platform are you running Remmina on, and what version of freerdp is installed on that platform? On the same platform, do you see the same issue if you connect with the |
I'm using Fedora 41 Workstation, this is the version of freerdp libs on the system(xfreerdp is not present):
This is xrandr output(this is a 3 monitor setup):
I've started Remmina from command line and noticed multiple warnings when starting the RDP connection:
When using just my laptop screen, that warning is not present and everything works fine. It's probably related to this issue. |
That's great - I'll build a F41 client instead. Are you running Wayland or Xorg on the F41 machine? I assume you're logging in to the console? Apologies for all the questions, but this is proving to be harder to reproduce than I'd expected. |
There is no need to apologize, I appreciate all the effort you're putting on this issue 😄 |
I've managed to reproduce this, and I can see the problem is a combination of the way Remmina works, and a tightening up of the adherence to the RDP specification in FreeRDP. This message:-
is generated by FreeRDP during the resize when it is asked by Remmina to send an input PDU (keyboard or mouse) to xrdp from FreeRDP, but the state of the connection is such that the PDU should not be sent. The connection gets into this state in a couple of places:-
xrdp implements a resize using 2) above. You can see this by setting a breakpoint on
This particular call comes from here:- https://gitlab.com/Remmina/Remmina/-/blob/master/plugins/rdp/rdp_plugin.c?ref_type=heads#L287-296 I started trying to fix this by wrapping these calls with a guard based on The problem does not happen with |
@geragio - if you're able to access gitlab, this may be of interest:- https://gitlab.com/Remmina/Remmina/-/issues/3086#note_2240545587 I'll reproduce the text here for you. This is posted by one of the Remmina developers.
|
xrdp version
0.10.1
Detailed xrdp version, build options
Operating system & version
AlmaLinux 9
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
xorgxrdp
What desktop environment do you use?
GNOME
Environment xrdp running on
VM in Proxmox VE
What's your client?
Remmina 1.4.35
Area(s) with issue?
Graphic glitches
Steps to reproduce
I'm facing some graphic glitches every time I try to resize the RDP window on AlmaLinux 9.4(fresh installation)
This issue can be reproduced also on RHEL 9.5
The initial connection works fine until I try to resize Remmina window, the RDP session "crashes" and all I can see is a white screen.
When this happens, I have to kill the RDP session with
loginctl kill-session <session-id>
before attempting a new connection.The server I'm trying to connect is a VM hosted inside Proxmox VE
I can't see any relevant error messages logged by xrdp
Not sure why this happens, I believe this could be a bug
✔️ Expected Behavior
Screen resizing working
❌ Actual Behavior
White screen, need to kill the session with
loginctl kill-session
to make a new successfull connectionAnything else?
No response
The text was updated successfully, but these errors were encountered: