-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Xpra 6.2 crashes on client connect #4389
Comments
☝️ This workaround worked once but cannot be reproduced. |
so that if loading of menus fail, we don't cause errors trying to send the None value
A default installation should have installed xpra/packaging/debian/xpra/control Line 137 in 892f117
xpra/packaging/debian/xpra/control Lines 155 to 156 in 892f117
Unfortunately, containers skip the recommended package dependencies. 6de9596 should fix this, it is trivial to apply by hand. |
so that if loading of menus fail, we don't cause errors trying to send the None value
I just want to note that i also get this exception with 6.2 but neither my server nor my client are running in a container. Both are installed from xpra's repos. Fedora 40 for client and Bookworm for server. edit: Verified that the 66e69de commit fixes the problem. |
Thank you for the fix. I do think, though, that the root cause must be different. The python3-xdg package was already installed in the containers. Also, we did not see any of this kind of exception before the 6.2 update. I would also expect to see this in the log file if the package was missing: https://github.com/Xpra-org/xpra/blob/master/xpra/platform/posix/menu_helper.py#L398 |
I am also having the same issue, running in a container with |
@janLo the (unfortunately) very common other way the xpra/xpra/platform/posix/menu_helper.py Lines 457 to 465 in 6de9596
And should have printed a big warning about broken menus on Debian. @nakkaya the bug fix has not hit the repos yet, making all the build variants takes many many days. Be patient. |
Since many of you seem to be using xpra in containers, what's preventing you from using a distribution less buggy than Debian? |
it is simply what the team i'm on used it for before i came around and it is simplest to stay on approximately the same environment. Ideally we'd move over to Nix or whatever, yes. |
Better choose anything from Tier 1: |
FYI: I have uploaded 6.2-r2 with this fix for most RPM distros just now, the Debian builds will take a few hours more. (bookworm is already done) |
I did not see this warning either in the logs. Actually no menu related warning was there, only the exception. |
@janLo do the |
What prevents me is years of pain with the RPM ecosystem. Debian is just the right balance between stable enough and usable. Nix would be an interesting option but sadly the system is completely broken when it comes to environments where you don't have a internet connection (we have an air-gapped environment with a package mirror for Debian). |
I'll test it as soon as I have a chance (probably tonight or tomorrow) But the change looked reasonable. |
I hear you. The
I used to believe that to be true, my deeper DEB packaging experience made me realize that "stable" has a different meaning in Debian-land, one that I fundamentally disagree with. |
For me its similar, some of the software I rely on only supports Ubuntu. |
@totaam 6.2-r2 fixes the problem here. Regarding the debian-packaging I do agree if it comes to packaging python software. To be honest, I package python tooling lately only via dh_virtualenv ;) But from a user's perspective, it's just the most works-for-me distribution. I'm using it on fleets of servers and all my managed end-user systems since 2006 and never felt the urge to look back to RPM-based distros ;) |
Describe the bug
Since xpra 6.2 the server constantly disconnects a newly connected client due to an internal exception.
It seems that the xdg-menu-handling is somehow broken:
To Reproduce
Steps to reproduce the behavior:
xpra start :100 --start-child=/bin/true --exit-with-children=no --daemon=no
xpra attach 'ssh://<host>/?display=100&ssh=ssh&opengl=no&session-name=workspace'
System Information (please complete the following information):
Additional context
Setting the (undocumented?) environment variable
XPRA_EXPORT_MENU_DATA
tofalse
makes the issue go away.The text was updated successfully, but these errors were encountered: