-
Notifications
You must be signed in to change notification settings - Fork 97
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
can't run with root GUI Qt6 apps like Calamares #1418
Comments
Apps cannot run as root by default on Wayland. |
Us any way to opt it globally for COSMIC? |
This will not be supported globally by XWayland by default. It is intentionally disabled for security reasons. Even in GNOME. To circumvent that security measure to run X11 applications as root in XWayland, see https://wiki.archlinux.org/title/Running_GUI_applications_as_root#Wayland. In general, applications should not be designed to run as root anymore. Image writers and disk management utilities do not need root. See Popsicle and GNOME disks, for example.
|
I just ran into this from a user who was not able to run the nobara updater tool gui the updater tool re-runs itself with pkexec, sending user info to the new pkexec's process so that it can update both system packages and system + user flatpaks. We also have an auto-mounting tool which allows fast mount/dismount of disks via checkbox if users are in the wheel/admin group via the mount command (which requires root). What I'm gathering from this decision is that rather than pkexec'ing the entire applications.. users will have to type in their password every time a gui wants to perform a root requiring action, and pray the gui only has to run a command and not render anything as root.. For now seems easiest way to get around this |
…yprland, and other DEs pop-os/cosmic-epoch#1418
Some GUI applications like Calamares require root to run.
Unfortunately, when trying to run Calamares compiled in Qt6 a crash occurs. When run calamates with pkexec it show root password prompt and after pressing enter it just crash with logs below. Worth to add Calamares is an important application because it is the system installer in my distribution
Here is dump:
If I run calamares as basic root from console
Trying also running it via lxqt-sudo but then I see this:
Maybe there is some problems with
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
?Here all comsic packages installed:
I don't know how to fix it, maybe I forgot something?
The text was updated successfully, but these errors were encountered: