gch3 wrote:Now when rebooting system doesn't go to grub menu on total shut down and reboot. or when trying to use KDE menu. System does log off. I remember this problem being a KDE issue back a few years ago.
journalctl -ab-1 | tail -750
su -
shutdown -h now
su -
shutdown -r now
ps -ef|grep -v grep|grep -iE "polkit|policykit"
loginctl show-session $XDG_SESSION_ID
systemctl status polkit.service -a
[xboxboy@localhost ~]$ ps -ef|grep -v grep|grep -iE "polkit|policykit"
polkitd 2612 1 0 Oct31 ? 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
xboxboy 2822 1 0 Oct31 ? 00:00:00 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
[xboxboy@localhost ~]$ loginctl show-session $XDG_SESSION_ID
Id=c1
Name=xboxboy
Timestamp=Sat 2015-10-31 18:50:11 ACDT
TimestampMonotonic=240079223
VTNr=1
Display=:0
Remote=no
Service=kdm
Scope=session-c1.scope
Leader=1477
Audit=0
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
[root@localhost ~]# systemctl status polkit.service -a
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since Sat 2015-10-31 18:50:18 ACDT; 5h 38min ago
Docs: man:polkit(8)
Main PID: 2612 (polkitd)
CGroup: /system.slice/polkit.service
└─2612 /usr/lib/polkit-1/polkitd --no-debug
Oct 31 18:50:18 localhost.localdomain polkitd[2612]: Started polkitd version 0.113
Oct 31 18:50:18 localhost.localdomain polkitd[2612]: Loading rules from directory /etc/polkit-1/rules.d
Oct 31 18:50:18 localhost.localdomain polkitd[2612]: Loading rules from directory /usr/share/polkit-1/rules.d
Oct 31 18:50:18 localhost.localdomain polkitd[2612]: Finished loading, compiling and executing 3 rules
Oct 31 18:50:18 localhost.localdomain polkitd[2612]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Oct 31 18:50:42 localhost.localdomain polkitd[2612]: Registered Authentication Agent for unix-session:c1 (system bus name :1.46 [/usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_AU.UTF-8)
Oct 31 20:09:33 localhost.localdomain polkitd[2612]: Operator of unix-session:c1 successfully authenticated as unix-user:root to gain TEMPORARY authorization for action org.mageia.drakconf.pkexec.run for unix-process:6993:498469 [/usr/bin/perl /usr/bin/drakconf] (owned by unix-user:xboxboy)
pkexec whoami (you need to enter the root password in the authentication dialog that pops up)
qdbus org.kde.ksmserver /KSMServer
pkexec whoami
root
[xboxboy@localhost fedora22]$ qdbus org.kde.ksmserver /KSMServer
method bool org.kde.KSMServerInterface.canShutdown()
method QString org.kde.KSMServerInterface.currentSession()
method void org.kde.KSMServerInterface.logout(int, int, int)
method void org.kde.KSMServerInterface.restoreSubSession(QString)
method void org.kde.KSMServerInterface.resumeStartup(QString)
method void org.kde.KSMServerInterface.saveCurrentSession()
method void org.kde.KSMServerInterface.saveCurrentSessionAs(QString)
method void org.kde.KSMServerInterface.saveSubSession(QString, QStringList, QStringList)
method QStringList org.kde.KSMServerInterface.sessionList()
signal void org.kde.KSMServerInterface.subSessionCloseCanceled()
signal void org.kde.KSMServerInterface.subSessionClosed()
signal void org.kde.KSMServerInterface.subSessionOpened()
method void org.kde.KSMServerInterface.suspendStartup(QString)
method void org.kde.KSMServerInterface.wmChanged()
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
method QString org.freedesktop.DBus.Peer.GetMachineId()
method void org.freedesktop.DBus.Peer.Ping()
qdbus org.kde.ksmserver /KSMServer logout 0 2 2
bash-4.3$ ps -ef|grep -v grep|grep -iE "polkit|policykit"
polkitd 2182 1 0 16:20 ? 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
bash-4.3$ loginctl show-session $XDG_SESSION_ID
Id=c1
Name=gch3
Timestamp=Tue 2015-11-03 16:21:04 EST
TimestampMonotonic=68022070
VTNr=1
Display=:0
Remote=no
Service=kdm
Scope=session-c1.scope
Leader=3210
Audit=0
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
bash-4.3$ su
Password:
[root@localhost gch3]# systemctl status polkit.service -a
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since Tue 2015-11-03 16:20:39 EST; 10min ago
Docs: man:polkit(8)
Main PID: 2182 (polkitd)
CGroup: /system.slice/polkit.service
└─2182 /usr/lib/polkit-1/polkitd --no-debug
Nov 03 16:20:38 localhost polkitd[2182]: Started polkitd version 0.113
Nov 03 16:20:39 localhost polkitd[2182]: Loading rules from directory /etc/polkit-1/rules.d
Nov 03 16:20:39 localhost polkitd[2182]: Loading rules from directory /usr/share/polkit-1/rules.d
Nov 03 16:20:39 localhost polkitd[2182]: Finished loading, compiling and executing 3 rules
Nov 03 16:20:39 localhost polkitd[2182]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Nov 03 16:25:56 localhost polkitd[2182]: Registered Authentication Agent for unix-process:4808:36008 (system bus name :1.53 [/usr/bin/pkexec /usr/libexec/drakconf], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Nov 03 16:26:04 localhost polkitd[2182]: Operator of unix-process:4808:36008 FAILED to authenticate to gain authorization for action org.mageia.drakconf.pkexec.run for unix-process:4808:36008 [/usr/bin/perl /usr/bin/drakconf] (owned by unix-user:gch3)
Nov 03 16:26:04 localhost polkitd[2182]: Unregistered Authentication Agent for unix-process:4808:36008 (system bus name :1.53, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
[root@localhost gch3]#
gch3 wrote:
- Code: Select all
bash-4.3$ ps -ef|grep -v grep|grep -iE "polkit|policykit"
polkitd 2182 1 0 16:20 ? 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
bash-4.3$
rpm -q --whatprovides polkit-agent
root@localhost gch3]# rpm -q --whatprovides polkit-agent
mate-polkit-1.8.0-6.mga5
polkit-kde-agent-1-0.99.1-2.mga5
/usr/$(rpm -E %_lib)/kde4/libexec/polkit-kde-authentication-agent-1
pkexec whoami (you need to enter the root password in the authentication dialog that pops up)
New PolkitAgentListener 0x1ab6e00
Adding new listener PolkitQt1::Agent::Listener(0x1bb4b60) for 0x1ab6e00
bash-4.3$ Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x1bc76e0
polkit_qt_listener_initiate_authentication callback for 0x1ab6e00
REQUEST
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for 0x1ab6e00
bash-4.3$ pkexec whoami
root
bash-4.3$
qdbus org.kde.ksmserver /KSMServer
qdbus org.kde.ksmserver /KSMServer logout 0 2 2
bash-4.3$ qdbus org.kde.ksmserver /KSMServer
method bool org.kde.KSMServerInterface.canShutdown()
method QString org.kde.KSMServerInterface.currentSession()
method void org.kde.KSMServerInterface.logout(int, int, int)
method void org.kde.KSMServerInterface.restoreSubSession(QString)
method void org.kde.KSMServerInterface.resumeStartup(QString)
method void org.kde.KSMServerInterface.saveCurrentSession()
method void org.kde.KSMServerInterface.saveCurrentSessionAs(QString)
method void org.kde.KSMServerInterface.saveSubSession(QString, QStringList, QStringList)
method QStringList org.kde.KSMServerInterface.sessionList()
signal void org.kde.KSMServerInterface.subSessionCloseCanceled()
signal void org.kde.KSMServerInterface.subSessionClosed()
signal void org.kde.KSMServerInterface.subSessionOpened()
method void org.kde.KSMServerInterface.suspendStartup(QString)
method void org.kde.KSMServerInterface.wmChanged()
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
method QString org.freedesktop.DBus.Peer.GetMachineId()
method void org.freedesktop.DBus.Peer.Ping()
doktor5000 wrote:You can also attempt a logout and shutdown via
- Code: Select all
qdbus org.kde.ksmserver /KSMServer logout 0 2 2
bash-4.3$ qdbus org.kde.ksmserver /KSMServer logout 0 2 2
bash-4.3$
bash-4.3$ qdbus org.kde.ksmserver /KSMServer logout 0 2 2
bash-4.3$
journalctl -ab | tail -75
bash-4.3$ kdebugdialog
bash-4.3$ kdebugdialog
bash-4.3$ ~/.xsession-errors
bash: /home/gch3/.xsession-errors: Permission denied
bash-4.3$ su
Password:
[root@localhost gch3]# ~/.xsession-errors
bash: /root/.xsession-errors: No such file or directory
[root@localhost gch3]# qdbus org.kde.ksmserver /KSMServer
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[root@localhost gch3]# exit
exit
bash-4.3$ qdbus org.kde.ksmserver /KSMServer
method bool org.kde.KSMServerInterface.canShutdown()
method QString org.kde.KSMServerInterface.currentSession()
method void org.kde.KSMServerInterface.logout(int, int, int)
method void org.kde.KSMServerInterface.restoreSubSession(QString)
method void org.kde.KSMServerInterface.resumeStartup(QString)
method void org.kde.KSMServerInterface.saveCurrentSession()
method void org.kde.KSMServerInterface.saveCurrentSessionAs(QString)
method void org.kde.KSMServerInterface.saveSubSession(QString, QStringList, QStringList)
method QStringList org.kde.KSMServerInterface.sessionList()
signal void org.kde.KSMServerInterface.subSessionCloseCanceled()
signal void org.kde.KSMServerInterface.subSessionClosed()
signal void org.kde.KSMServerInterface.subSessionOpened()
method void org.kde.KSMServerInterface.suspendStartup(QString)
method void org.kde.KSMServerInterface.wmChanged()
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
method QString org.freedesktop.DBus.Peer.GetMachineId()
method void org.freedesktop.DBus.Peer.Ping()
bash-4.3$ journalctl -ab | tail -75
Nov 05 14:15:41 localhost org.kde.knotify[2636]: [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
Nov 05 14:16:56 localhost org.kde.knotify[2636]: [8224:8253:1105/141656:ERROR:channel.cc(307)] RawChannel read error (connection broken)
Nov 05 14:17:02 localhost org.kde.knotify[2636]: (process:8463): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Nov 05 14:17:03 localhost org.kde.knotify[2636]: Background starting...
Nov 05 14:17:03 localhost org.kde.knotify[2636]: Background starting...
Nov 05 14:17:03 localhost org.kde.knotify[2636]: console.error:
Nov 05 14:17:03 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 14:17:03 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 14:17:03 localhost org.kde.knotify[2636]: console.error:
Nov 05 14:17:03 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 14:17:03 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 14:22:00 localhost org.kde.knotify[2636]: (process:8546): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Nov 05 14:22:01 localhost org.kde.knotify[2636]: [calBackendLoader] Using libical backend at /home/gch3/.thunderbird/qjteok9k.default/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/libical-manifest
Nov 05 14:24:00 localhost org.kde.knotify[2636]: (process:8613): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Nov 05 14:24:01 localhost org.kde.knotify[2636]: Background starting...
Nov 05 14:24:01 localhost org.kde.knotify[2636]: Background starting...
Nov 05 14:24:01 localhost org.kde.knotify[2636]: console.error:
Nov 05 14:24:01 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 14:24:01 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 14:24:01 localhost org.kde.knotify[2636]: console.error:
Nov 05 14:24:01 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 14:24:01 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 14:26:41 localhost org.kde.knotify[2636]: kmail2(8693)/kdepimlibs (kpimidentities) KPIMIdentities::IdentityManager::readConfig: IdentityManager: There was no default identity. Marking first one as default.
Nov 05 14:27:08 localhost org.kde.knotify[2636]: ~StorageServiceJobConfigPrivate
Nov 05 14:28:51 localhost org.kde.knotify[2636]: (process:8717): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Nov 05 14:28:51 localhost org.kde.knotify[2636]: [calBackendLoader] Using libical backend at /home/gch3/.thunderbird/qjteok9k.default/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/libical-manifest
Nov 05 14:29:04 localhost org.kde.knotify[2636]: [8851:8851:1105/142904:ERROR:sandbox_linux.cc(338)] InitializeSandbox() called with multiple threads in process gpu-process
Nov 05 14:29:07 localhost org.kde.knotify[2636]: [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
Nov 05 14:29:50 localhost org.kde.knotify[2636]: Vector smash protection is enabled.
Nov 05 14:39:16 localhost org.kde.knotify[2636]: (process:9021): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Nov 05 14:39:17 localhost org.kde.knotify[2636]: Background starting...
Nov 05 14:39:17 localhost org.kde.knotify[2636]: Background starting...
Nov 05 14:39:17 localhost org.kde.knotify[2636]: console.error:
Nov 05 14:39:17 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 14:39:17 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 14:39:17 localhost org.kde.knotify[2636]: console.error:
Nov 05 14:39:17 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 14:39:17 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 16:12:57 localhost org.kde.knotify[2636]: [9342:9342:1105/161257:ERROR:sandbox_linux.cc(338)] InitializeSandbox() called with multiple threads in process gpu-process
Nov 05 16:13:01 localhost org.kde.knotify[2636]: [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
Nov 05 16:16:57 localhost org.kde.knotify[2636]: Fontconfig error: Cannot load default config file
Nov 05 16:23:16 localhost org.kde.knotify[2636]: Vector smash protection is enabled.
Nov 05 16:23:48 localhost org.kde.knotify[2636]: [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
Nov 05 16:24:33 localhost org.kde.knotify[2636]: Vector smash protection is enabled.
Nov 05 16:25:02 localhost org.kde.knotify[2636]: [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
Nov 05 16:31:39 localhost org.kde.knotify[2636]: Vector smash protection is enabled.
Nov 05 16:32:43 localhost org.kde.knotify[2636]: [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
Nov 05 16:34:36 localhost org.kde.knotify[2636]: Vector smash protection is enabled.
Nov 05 16:38:35 localhost org.kde.knotify[2636]: [9275:9304:1105/163835:ERROR:channel.cc(307)] RawChannel read error (connection broken)
Nov 05 16:38:38 localhost org.kde.knotify[2636]: [10241:10241:1105/163838:ERROR:sandbox_linux.cc(338)] InitializeSandbox() called with multiple threads in process gpu-process
Nov 05 16:38:41 localhost org.kde.knotify[2636]: [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
Nov 05 16:42:05 localhost org.kde.knotify[2636]: (process:10601): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Nov 05 16:42:05 localhost org.kde.knotify[2636]: Background starting...
Nov 05 16:42:05 localhost org.kde.knotify[2636]: Background starting...
Nov 05 16:42:06 localhost org.kde.knotify[2636]: console.error:
Nov 05 16:42:06 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 16:42:06 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 16:42:06 localhost org.kde.knotify[2636]: console.error:
Nov 05 16:42:06 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 16:42:06 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 16:42:10 localhost org.kde.knotify[2636]: (process:10670): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Nov 05 16:42:10 localhost org.kde.knotify[2636]: [calBackendLoader] Using libical backend at /home/gch3/.thunderbird/qjteok9k.default/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/libical-manifest
Nov 05 16:42:22 localhost org.kde.knotify[2636]: (process:10727): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Nov 05 16:42:22 localhost org.kde.knotify[2636]: Background starting...
Nov 05 16:42:22 localhost org.kde.knotify[2636]: Background starting...
Nov 05 16:42:23 localhost org.kde.knotify[2636]: console.error:
Nov 05 16:42:23 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 16:42:23 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 16:42:23 localhost org.kde.knotify[2636]: console.error:
Nov 05 16:42:23 localhost org.kde.knotify[2636]: [CustomizableUI]
Nov 05 16:42:23 localhost org.kde.knotify[2636]: Custom widget with id loop-button does not return a valid node
Nov 05 16:45:55 localhost su[10811]: pam_tcb(su:auth): Authentication passed for root from gch3(uid=10001)
Nov 05 16:45:55 localhost su[10811]: (to root) gch3 on pts/1
Nov 05 16:45:55 localhost su[10811]: pam_tcb(su:session): Session opened for root by gch3(uid=10001)
Nov 05 16:48:22 localhost su[10811]: pam_tcb(su:session): Session closed for root
bash-4.3$
bash-4.3$ qdbus org.kde.ksmserver /KSMServer
method bool org.kde.KSMServerInterface.canShutdown()
method QString org.kde.KSMServerInterface.currentSession()
method void org.kde.KSMServerInterface.logout(int, int, int)
method void org.kde.KSMServerInterface.restoreSubSession(QString)
method void org.kde.KSMServerInterface.resumeStartup(QString)
method void org.kde.KSMServerInterface.saveCurrentSession()
method void org.kde.KSMServerInterface.saveCurrentSessionAs(QString)
method void org.kde.KSMServerInterface.saveSubSession(QString, QStringList, QStringList)
method QStringList org.kde.KSMServerInterface.sessionList()
signal void org.kde.KSMServerInterface.subSessionCloseCanceled()
signal void org.kde.KSMServerInterface.subSessionClosed()
signal void org.kde.KSMServerInterface.subSessionOpened()
method void org.kde.KSMServerInterface.suspendStartup(QString)
method void org.kde.KSMServerInterface.wmChanged()
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
method QString org.freedesktop.DBus.Peer.GetMachineId()
method void org.freedesktop.DBus.Peer.Ping()
bash-4.3$
Users browsing this forum: No registered users and 1 guest