
When she want to shutdown computer from KDE GUI, it does shutdown computer but logout user from system and login screen appears. What I have to correct situation?
loginctl show-session $XDG_SESSION_ID
ps -ef|grep -v grep|grep -iE "polkit|policykit"
pkexec whoami # you need to enter your root password when asked by the authentication dialog
echo $DISPLAY
systemctl status polkit.service -a
doktor5000 wrote:So what? Others maintain several dozen similar installations, and only one machine misbehaves in unexpected ways.
[gosia@gosia ~]$ loginctl show-session $XDG_SESSION_ID
Id=c1
Name=gosia
Timestamp=śro 2016-06-15 16:07:01 CEST
TimestampMonotonic=35908189
VTNr=1
Display=:0
Remote=no
Service=kdm-np
Scope=session-c1.scope
Leader=1499
Audit=0
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
[gosia@gosia ~]$ ps -ef|grep -v grep|grep -iE "polkit|policykit"
polkitd 1334 1 0 16:06 ? 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
gosia 2505 1 0 16:07 ? 00:00:00 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
[gosia@gosia ~]$ pkexec whoami
root
[gosia@gosia ~]$ echo $DISPLAY
:0
[gosia@gosia ~]$
[gosia@gosia ~]$ systemctl status polkit.service -a
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since śro 2016-06-15 16:07:00 CEST; 1h 53min ago
Docs: man:polkit(8)
Main PID: 1334 (polkitd)
CGroup: /system.slice/polkit.service
└─1334 /usr/lib/polkit-1/polkitd --no-debug
[gosia@gosia ~]$
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
Users browsing this forum: No registered users and 1 guest