Bug 7358 - no graphical installer/setup with restricted X server (e.g. Xwayland)
Summary: no graphical installer/setup with restricted X server (e.g. Xwayland)
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on: 6192
Blocks:
  Show dependency treegraph
 
Reported: 2019-07-02 10:14 CEST by Pierre Ossman
Modified: 2022-10-07 11:15 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2019-07-02 10:14:31 CEST
(Split off bug 6192)

Distributions are trying to simplify X authentication and discourage running things as root. As such some X servers are configured to only allow connections from a specific user:

> $ xhost
> access control enabled, only authorized clients can connect
> SI:localuser:ossman

This breaks our installer and tl-setup as they run as root and therefore cannot access this X server. Bug 6192 makes sure we fall back to text mode when we detect this problem, but ideally we would like to have a graphical installation for these systems as well.

Note that this is mostly seen with Xwayland, but it could happen for any X server.

Also note bug 6192, comment 9 which states that Xwayland might start allowing root in the future.
Comment 1 Pierre Ossman cendio 2019-08-21 11:51:57 CEST
And GNOME has now pushed a commit allowing sudo X11 stuff:

https://gitlab.gnome.org/GNOME/mutter/commit/a8984a81c2e887623d69ec9989ae8a5025f7bd47
Comment 2 Pierre Ossman cendio 2022-10-07 11:15:15 CEST
This seems to be fixed now. I can start tl-setup just fine in a Wayland session on RHEL 9.

Note You need to log in before you can comment on or make changes to this bug.