-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
server xfce-4.16 desktop WM-resolution fixed at SXGA 1280x1024 (despite --resize-display=yes), for 6.1.3-10.r0.el8 (any > xpra-server-5.0.9-10.r5.el8), rocky-linux-8.9 #4384
Comments
5.0.9-attach-geom.log Did attach using
|
I have briefly tested with:
And the virtual display was resize to match my client-side window every time I resized it. |
Eliminated {,--}desktop-fullscreen=yes from attach-cmd and .conf. No change: still can't resize. But something else odd. Just after server-start, before 1st xpra-client-attach, on remote I see:
Then do 1st xpra-client-attach, and toggle to full-screen, and toggle back to non-full-screen. Now on remote I get:
2560x1440 is my client monitor's (full-screen) resolution. Which looks like its DOING desktop-scaling, to fit/force a 2560x1440 server-desktop back into client-window size of 1280x1024 (with corresponding DPI change)?! Perhaps remote server is kind-of sizing-up (due to 1st goto-full-screen) but not sizing-down (on exit-full-screen); could be CLIENT is the problem? |
Tried just an xterm, similar to your last post (but via ssh), no improvement. fyi/aside: Downloads: |
Seeing how hard it is to do simple things, it is macos that is damaged IMO! 😆 will check.
Ah, right. |
I can reproduce some problems now - but only with xfce and
@sto6 please try a different desktop environment and always start simple (ie: |
This 'fix' works for me, for xfce as a remote desktop. 1st compared (working) 5.0.9 to (failing) 5.0.10, verified a fix in 5.0.10, then ported similar into
Environment (now in Rocky Linux 8.10, xfce4 4.16):
Also, I earlier speculated the problem was: the (resizing) remote-desktop was being 'scaled' into 1280x1024 client-window. Once even got into a state, after disabling Compositing, but which I so far have not been able to reproduce, where: FYI, same 'fix' for
|
This was changed in 27ccf0e. |
Holmes's Razor: What remains must be true: This also works for my case:
Aside, this does not report the equivalent of:
And |
@sto6 is this change stable ? I do have the same problem with XFCE and KDE where XPRA correctly change the resolution of the screen (you can for exemple see it in the settings > displays setting in XFCE), but the XFCE GUI resizing itself is non-functional. I might need to build the code myself and add this change if this makes the resizing work. |
I claim without my own testing, last fix above works for both my XFCE case, and the originally intended support fixed size displays: i.e. best of both worlds, no downside. I haven't tested much outside of the XFCE desktop, and would like to know why XFCE specifically affected (or why the fix works; what's so special about 1st-initialization vs 2nd), and if other work-arounds are available (what if you do specify explicit initial res on start-desktop command; not in the no:* form). I just install the release; then as root edit-in-place the python code; but this would need to be repeated each time you upgrade the xpra-server. |
This "fix" is not correct and cannot be merged as it is. |
I will have to deep-dive in there. I applied what sto6 reported, and xfce dynamic resizing is indeed working like a charm. Applying this worked but as I understand things it just disable an entire new feature (fixed-size displays):
Before using 6.1.2.rc1After ( master commit https://github.com/Xpra-org/xpra/tree/8ec7c1351acc2b160c658f6c7930763beb52de00 + patch aforementioned) :This is not to say that the "fix" is what is needed, just that there is indeed something to dig here :) |
Using xpra repo, I noticed 6.1.x xpra-server now available so tried them. But the desktop does not resize to the client, always remains fixed at 1280x1024. Going backwards I found xpra-server-5.0.9-10.r5.el8 works.
For working resize-display:
Versions that work:
xpra-server-5.0.7-10.r0.el8, xpra-server-5.0.9-10.r5.el8
Versions that fail:
xpra-server-5.0.10-10.r0.el8, xpra-server-6.1.2-10.r1.el8, xpra-server-6.1.3-10.r0.el8
Server-start command:
Client used: xpra v6.1.2-r1 (macOS, Intel Monterey 12.7.6).
Client attach command:
Contents of client-side
~/.xpra/xpra.conf
:The text was updated successfully, but these errors were encountered: