Bug 8480 - No graphical installer when running as root on SLES 15
Summary: No graphical installer when running as root on SLES 15
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:
Blocks:
 
Reported: 2024-12-19 09:03 CET by Alexander Zeijlon
Modified: 2025-01-07 13:34 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Alexander Zeijlon cendio 2024-12-19 09:03:54 CET
When testing the server on SLES 15 I noticed that it doesn't always start the graphical installer in situations where it technically should be able to.

If you run install-server as a non-root user, you get prompted to provide the root password, and then the graphical installer starts.

But if you make install-server run as root directly, it starts in text mode. I tried different variants of running as sudo:
* "sudo install-server"
* "sudo -s", and then running install-server
* "sudo su", and then running install-server

All these had the same result, no graphical installer.

I would guess that this is a SLES issue and not a ThinLinc issue, but maybe it's worth taking a look at anyway.
Comment 1 Alexander Zeijlon cendio 2024-12-19 09:05:23 CET
I tested running install-server after logging in to a Gnome session as root, and then the graphical installer starts.
Comment 2 Pierre Ossman cendio 2025-01-07 13:34:29 CET
This is likely a Wayland vs X11 issue, rather than SLES 15 vs other distributions. Historically using sudo hasn't worked since $DISPLAY is dropped. Using "sudo -E" is generally required.

Some more testing is probably prudent.

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