Fedora Account System
Red Hat Associate
Red Hat Customer
In xfe-1.45-4.fc38.x86_64 the "shift F3" or "New root window" is not functional. Reproducible: Always Steps to Reproduce: 1. Launch xfe 2. Try to open a new window as root. 3. Actual Results: Nothing happens. Expected Results: Should launch a new window with root access. The file org.xfe.root.policy exists in /usr/share/polkit-1/actions so not sure what's going on. If I manually run "pkexec /usr/libexec/xfe/xfe" it will launch as root after asking me for a password.
I cannot reproduce this. "New root window" is functional (although I won't use xfe as root) Can you check Edit -> Preferences -> Modes -> Root mode and if "Allow root mode" is checked and "using pkexec" is selected?
Yes those are my settings. A bit later today I will be able to test this on another system to see if the problem is localized to just this one. Note I am running the Xfce desktop environment on both systems.
I have the same issue on the other system, in that default settings do not work. However, I can make it work by selecting "Authentication using sudo" and editing the command to be "sudo -b /usr/libexec/xfe/xfe". This hack works on both systems.
Ahhh........ For "Authentication using pkexec", can you try if you launch xfe-xfe from "gnome-terminal"? (really "gnome-terminal")
OK I installed gnome-terminal. From inside gnome-terminal, if I try run "pkexec xfe-xfe" I get the dialog asking for a password, then after I get this error in the terminal: No protocol specified FXApp::openDisplay: unable to open display :0.0 However, if I run "pkexec /usr/libexec/xfe/xfe" it asks for the password then launches xfe as root after showing the root warning dialog box.
No, I am not saying that. Would you try lauching xfe-xfe as normal user from gnome-terminal, then on xfe-xfe gui, try opening a new window as root?
Using "Authentication using pkexec" mode, if I launch xfe-xfe from insider gnome-terminal, I can then open a window as root. However the same trick doesn't work if I launch xfe-xfe from xfce4-terminal.
Okay.... now I've understood what is happening, but umm..........
Closing as UPSTREAM. This requires upstream work. https://sourceforge.net/p/xfe/bugs/273/
Thanks for reporting upstream, I'll monitor progress there.