Gparted not open as user and hdd not mount. Polkit-kde-agent problem?
Hello, I am using Parabola OpenRC.
I installed and add service elogind #pacman -Syu polkit-elogind #rc-update add elogind default #pacman -S plasma-desktop (Include polkit-kde-agent) When open gparted in terminal: Error executing command as another user: No authentication agent found. But I had to do this to can poweroff, reboot... (I think Polkit-elogind not work properly) # nano /etc/pam.d/system-login --session optional pam_systemd.so to --session optional pam_elogind.so How can check and solve Polkit-elogind Problems in OpenRC? Thanks. Pd: Hdd problem solved, making storage group and adding my user. Polkit and elogind problem persist. |
Quote:
if you have problems or errors, always provide full output please. |
Quote:
sudo gparted work perfectly, but not as user. I've been investigating, and, I think the problem is that Polkit-kde-agent does not start. I try to execute it manually in terminal, but output error is: /usr/lib/polkit-kde-authentication-agent-1 New PolkitAgentListener 0x55fbb15fdca0 Adding new listener PolkitQt1::Agent::Listener(0x7f34780396c0) for 0x55fbb15fdca0 Listener online "Cannot create unix session: No session for pid 2809" ** (process:2809): CRITICAL **: 12:20:33.145: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed "Cannot register authentication agent!" Authentication agent result: false Couldn't register listener! I'm stuck here Thanks. Pd: Sorry bad title, when I changed polkit to polkit-elogind, I had to do manually changes to can shutdown, reboot, etc. As user. Pd1: I am using sddm. pd2: I used xfce4 with polkit-gnome, and it is work, gparted password prompt appears. But Kde Plasma not work for me. |
Quote:
anyhow... Quote:
|
You cannot run gparted as a user, it has to be run as root (sudo). I know of no other way to run it.
|
All times are GMT -5. The time now is 07:55 PM. |