[policykit-kde-agent-1] [Bug 456790] New: "Cannot create unix session" - polkit-kde fails to start

JacekJagosz bugzilla_noreply at kde.org
Sat Jul 16 09:11:21 BST 2022


https://bugs.kde.org/show_bug.cgi?id=456790

            Bug ID: 456790
           Summary: "Cannot create unix session" - polkit-kde fails to
                    start
           Product: policykit-kde-agent-1
           Version: 5.25.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: jacek.jagosz at outlook.com
                CC: drf at kde.org, jgrulich at redhat.com, jreznik at redhat.com
  Target Milestone: ---

SUMMARY
On my fresh install of Solus 4.3 `polkit-kde` stopped working at all, no matter
what I do. It did stop working around the time I updated to latest Plasma, but
I updated my laptop with a year old installation and nothing broke.
How can I gather more logs? I really want to fix it!

STEPS TO REPRODUCE
1. Last thing I did is I went to Startup -> SDDM settings and I changed
automatic login from X11 to Wayland. It was after I updated Plasma but not
rebooted yet. (probably it is not what caused it)
2. Reboot, it still booted into X11, not Wayland
3. See the error in journalctl, try to run `polkit-kde-authentication-agent-1`
manually with the same results.

OBSERVED RESULT
The box to input root password doesn't appear at any point, when using software
centre or trying to change options in Plasma Settings that should require root
privilidges. This is the output of `sudo journalctl -b | grep polkit`:
```
lip 16 09:41:39 duzepudlo polkitd[761]: Started polkitd version 0.114
lip 16 09:41:39 duzepudlo polkitd[761]: Loading rules from directory
/etc/polkit-1/rules.d
lip 16 09:41:39 duzepudlo polkitd[761]: Loading rules from directory
/usr/share/polkit-1/rules.d
lip 16 09:41:39 duzepudlo polkitd[761]: Finished loading 4 rules
lip 16 09:41:39 duzepudlo polkitd[761]: Acquired the name
org.freedesktop.PolicyKit1 on the system bus
lip 16 09:41:42 duzepudlo polkit-kde-authentication-agent-1[1290]: New
PolkitAgentListener  0x55f14038eac0
lip 16 09:41:42 duzepudlo polkit-kde-authentication-agent-1[1290]: Adding new
listener  PolkitQt1::Agent::Listener(0x55f1403c3870) for  0x55f14038eac0
lip 16 09:41:42 duzepudlo polkit-kde-authentication-agent-1[1290]: Listener
online
lip 16 09:41:42 duzepudlo polkit-kde-authentication-agent-1[1290]: "Cannot
create unix session: No session for pid 1290"
lip 16 09:41:42 duzepudlo polkit-kde-auth[1290]:
polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT
(subject)' failed
lip 16 09:41:42 duzepudlo polkit-kde-authentication-agent-1[1290]: "Cannot
register authentication agent!"
lip 16 09:41:42 duzepudlo polkit-kde-authentication-agent-1[1290]:
Authentication agent result: false
lip 16 09:41:42 duzepudlo polkit-kde-authentication-agent-1[1290]: Couldn't
register listener!
```

EXPECTED RESULT
polkit-kde should launch without errors, and password box just appear.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Solus 4.3
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list