Hi.
I need to place “xwayland-allow-byte-swapped-clients true” somewhere for general use.
Where to do it in KDE/Plasma/Wayland?
Hi.
I need to place “xwayland-allow-byte-swapped-clients true” somewhere for general use.
Where to do it in KDE/Plasma/Wayland?
Hi - I’m no expert, but I would assume that something would need to be built in support of this KWin developer issue for that to be possible: Allow byte-swapped clients in XWayland via some configuration (#131) · Issues · Plasma / KWin · GitLab
For what it’s worth, the assumption has generally been that the use case for enabling that feature is an incredibly small niche - remotely connecting to an X server, on hardware with different endianness than the client, with willingness to accept the unmaintained, insecure code used to support it. Is that the situation for which you’re looking to enable that flag?
Yes. I‘m admin on 30 IBM Power machines with AIX
It is my job
On Ubuntu 24.04 it is just
gsettings set org.gnome.mutter.wayland xwayland-allow-byte-swapped-clients true
Ah - at least based on the links recorded by the Fedora folks when this X server change was made (Changes/XServerProhibitsByteSwappedClients - Fedora Project Wiki), someone contributed the code to enable that option in Mutter for GNOME, but the equivalent contributions haven’t yet happened for KWin or wlroots.
I won’t pretend to understand enough about how all that works to know what good alternatives would be - but for what it’s worth / if it’s helpful, on my little local network, Waypipe covers the job under Wayland that I believe ssh -X normally would under X11.
Sure…there is a solution. And for sure it should not be used by 99% of the users
per default. But there is a use-case for this and it should not be ignored.
Right now…I just thought that this is at the ground more a Xwayland problem
than a KDE problem. KDE might just have a user-friendly presentation to get it
easily configured somewhere.
Right now I see it more on the Xwayland-side not KDE. That was the reason.
I was basicly searching for a Xwayland-config-file to enable it. Something like
Xwayland.conf. Not really KDE-specific…just asking where in the KDE-way-of-life
to find it.
manpage of Xserver (on KDE Neon) just shows it:
+byteswappedclients
Allow connections from clients with an endianess different to that of the server. This is the default unless -byteswapped‐
clients is specified.
-byteswappedclients
Prohibit connections from clients with an endianess different to that of the server.
So…just where to put it int the Xwayland-world on a KDE-Neon-system?
I have the feeling that /etc/sddm/wayland-session or /usr/share/sddm/scripts/wayland-session maybe the place to put the extra-option in since the binary /usr/bin/Xwayland definitely know the relevant option