-
-
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
Dynamic and Fixed Resolution Issues in KDE Plasma with XRDP #3395
Comments
Hi @unmanarc You've got two problems here. Let's look at the first one first. The first thing to so is identify the package where the fault is. It could be in one of three places:-
It's relatively easy to remove 3) from the system to play around with dynamic resizing with xrdp and the X server alone. Here's one way to do it:-
I've tried this myself on a Fedora 41 VM, and I'm unable to find any problems in this area. There may be some difference between my setup and yours however, so I think this would be a useful first step for you to try. |
This task you sent me works perfectly. The background pattern is displayed correctly even after resizing, and when I resize, the different resolutions are shown with the command. The problem occurs with KDE6, which doesn't seem to understand those dimensions and is limited to 1024x768... (I launched it with startplasma) |
The desktop is responsible for subscribing to the screen change notify events generated by the X server and actioning them. It looks like (for some reason) your desktop is ignoring these events. Can you create a new user account with an empty config and try that? It's possible you've got a KDE setting stuck somewhere. |
I faced the same issue with the new user, but I managed to resolve it. Here's a breakdown of the problem and how I fixed it: Problem Overview
Root CauseIn kde|kde1|kde2|kdeplasma)
exec $CK_XINIT_SESSION $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"startplasma-x11\""
;; However, The Fix
Final RecommendationIf you're using Fedora 41 KDE Spin and want to set up XRDP, the following command will ensure everything is installed correctly: sudo dnf -y install plasma-workspace-x11 xrdp xorgxrdp Proposed Fix for Fedora MaintainersFedora maintainers should consider making Now it works perfectly! 🎉 |
The question that remains is: Why does |
I could add a conditional dependency (with if, documented here: https://rpm-software-management.github.io/rpm/manual/boolean_dependencies.html), but I think this is probably better done in the documentation. I can add a section into the readme file of the package, so that plasma users know what to do. I would guess that plasma wayland falls back to X11 in some form, which is then presents a resolution limitation. Probably something folks that maintain plasma should be asked (I am not familiar with KDE at all, to be honest). |
Thanks bojan. The readme makes sense, as that's necessary for the pam file too. |
xrdp version
0.10.1-1
Detailed xrdp version, build options
Operating system & version
Fedora Linux 41 (KDE Plasma)
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
tigervnc-server-1.14.1-3.fc41.x86_64
What desktop environment do you use?
KDE Plasma 6
Environment xrdp running on
Testing VM
What's your client?
remmina
Area(s) with issue?
Graphic glitches
Steps to reproduce
Install xrdp on fedora 41 KDE:
sudo dnf install -y tigervnc-server xrdp
sudo systemctl enable --now xrdp
ln -s /usr/bin/startplasma-wayland .xsession
✔️ Expected Behavior
❌ Actual Behavior
Anything else?
Relevant logs (from xrdp.log):
More Complete log:
Same with rdesktop:
The text was updated successfully, but these errors were encountered: