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

JacekJagosz bugzilla_noreply at kde.org
Sat Jul 16 09:29:43 BST 2022


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

--- Comment #1 from JacekJagosz <jacek.jagosz at outlook.com> ---
When I run `sudo gdb /usr/lib64/kf5/polkit-kde-authentication-agent-1` I get
```
Starting program: /usr/lib64/kf5/polkit-kde-authentication-agent-1 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
[New Thread 0x7fffe55e1640 (LWP 6844)]
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[New Thread 0x7fffe4dad640 (LWP 6845)]
[Detaching after fork from child process 6846]
New PolkitAgentListener  0x7fffe0003da0
Adding new listener  PolkitQt1::Agent::Listener(0x555555654050) for 
0x7fffe0003da0
Listener online
"Cannot create unix session: No session for pid 6840"

** (process:6840): CRITICAL **: 10:27:53.358:
polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT
(subject)' failed
"Cannot register authentication agent!"
Authentication agent result: false
Couldn't register listener!
[Thread 0x7fffe4dad640 (LWP 6845) exited]
[Thread 0x7ffff2de08c0 (LWP 6840) exited]
[Inferior 1 (process 6840) exited with code 01]
```
So nothing suspicious, apart from `XDG_RUNTIME_DIR`. Could that be a problem?

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


More information about the Unassigned-bugs mailing list