[SOLVED] Mageia 5 will not shutdown

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Mageia 5 will not shutdown

Postby gch3 » Oct 30th, '15, 14:49

Dual boot system with WIN 7. Up until the last group of package upgrades I believe system worked fine. 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. Has it cropped back up or is it just something on my system.
Last edited by gch3 on Nov 14th, '15, 05:55, edited 1 time in total.
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby doktor5000 » Oct 30th, '15, 14:53

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.

Well, how do you usually reboot or shutdown, if you don't use the KDE menu, e.g. what exact commands do you use?
And when you say system does log off, what exactly happens? X server shuts down and you get a login on a tty / text terminal?

Also, it would help if you could provide the last lines of log from the last boot (where your box did not shutdown). E.g. for the previous boot, use as root:
Code: Select all
journalctl -ab-1 | tail -750
to get the last 750 lines of log, and please post them here using code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby xboxboy » Oct 31st, '15, 03:58

I have this now and then, I suspect it is an update causing it. To get around it I open a terminal (usually open all the time on my machines) and then I simply shutdown (-h for halt) or reboot (-r for reboot) as root. To do this:

Code: Select all
su -
shutdown -h now


or

Code: Select all
su -
shutdown -r now
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Mageia 5 will not shutdown

Postby gch3 » Oct 31st, '15, 04:51

Thanks for the reply guys, just back in from work. Upon further examination this seems to be a KDE problem. System executes fine out of a terminal on the shut down and reboot commands and grub works when that's used. Out of the graphic interface with KDE the shut down and restart commands don't work at all when clicked on but the sleep and hibernate commands do, kinda odd but not a washout, just an annoyance more than anything, I guess. It's late here now and got to get started early tomorrow, so I'll pick this up later and get back on what I find out. Thanks again.
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby doktor5000 » Oct 31st, '15, 15:46

Seems like you're both missing an update to either systemd or polkit, see either https://bugs.mageia.org/show_bug.cgi?id=16396 or viewtopic.php?p=59728#p59728 for some context

Please both of you post the output as your normal user of

Code: Select all
ps -ef|grep -v grep|grep -iE "polkit|policykit"
loginctl show-session $XDG_SESSION_ID


and as root the output of
Code: Select all
systemctl status polkit.service -a
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby xboxboy » Oct 31st, '15, 16:02

Code: Select all
[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



Code: Select all
[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)
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Mageia 5 will not shutdown

Postby doktor5000 » Oct 31st, '15, 21:07

Looks all good, you have a policykit user agent running, polkit system daemon is running, and your logind session is considered as active.

Please show the output of
Code: Select all
pkexec whoami        (you need to enter the root password in the authentication dialog that pops up)
qdbus org.kde.ksmserver /KSMServer

and please mention what login manager you use (KDM, sddm, ... ? )
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby xboxboy » Nov 1st, '15, 12:06

Code: Select all
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()


Not sure which login manager, It's a DVD install with kde, so I suspect kdm.

But it seems to only occur after an update, but after a couple of boots, it's all good.
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Mageia 5 will not shutdown

Postby doktor5000 » Nov 1st, '15, 15:38

Then please try as normal user
Code: Select all
qdbus org.kde.ksmserver /KSMServer logout 0 2 2

for a logout and shutdown of your computer. Details in KDE forums https://forum.kde.org/viewtopic.php?f=66&t=88022
and here: http://majewsky.wordpress.com/2009/07/1 ... om-remote/
and for the parameters: http://api.kde.org/4.4-api/kdebase-work ... 4b8f2d7c03

If you cannot reliably reproduce it, I'm afraid there's not much that can be done to fix it - you would have to investigate the root cause first yourself.
And please read the abovementioned post for the recent polkit issues. As both are fixed, once you have all updates to that date - then those two issues that were reported are not your issue.

It it reoccurs, please capture the information asked via viewtopic.php?p=60284#p60284
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 3rd, '15, 23:06

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$ 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]#

Still same problems even after polkit update, don't know what's going on but still looking, Everything works out of command line.
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby doktor5000 » Nov 3rd, '15, 23:19

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$



There's no polkit user agent running, only the system daemon - that is your problem. Please show the output of
Code: Select all
rpm -q --whatprovides polkit-agent
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 3rd, '15, 23:39

Code: Select all
root@localhost gch3]# rpm -q --whatprovides polkit-agent
mate-polkit-1.8.0-6.mga5
polkit-kde-agent-1-0.99.1-2.mga5
Last edited by doktor5000 on Nov 4th, '15, 00:02, edited 1 time in total.
Reason: fixed code tags
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby doktor5000 » Nov 4th, '15, 00:07

What happens when you run the kde polkit agent from a terminal?
Code: Select all
/usr/$(rpm -E %_lib)/kde4/libexec/polkit-kde-authentication-agent-1


In another terminal then try
Code: Select all
pkexec whoami        (you need to enter the root password in the authentication dialog that pops up)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 4th, '15, 01:28

Code: Select all
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


then in other terminal
Code: Select all
bash-4.3$ pkexec whoami
root
bash-4.3$


going in to check gui, back shortly
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 4th, '15, 02:01

Well, MCC is working now from the menu and panel bar, but still no shutdown or restart without going to a terminal. Odd that the sleep and hibernate commands on the menu work but the restart and shutdown won't. It's almost like the background panel bar is interfering with it. Still looking for an answer.
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby doktor5000 » Nov 4th, '15, 21:54

Please show the output of
Code: Select all
qdbus org.kde.ksmserver /KSMServer
as a normal user. You can also attempt a logout and shutdown via
Code: Select all
qdbus org.kde.ksmserver /KSMServer logout 0 2 2


You might need to install qt4-qtdbus for qdbus.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 5th, '15, 05:24

Code: Select all
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()
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 5th, '15, 05:58

Don't see anything in the above but Having no problems shutting down or rebooting from terminal. Seems to be a KDE problem.
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby doktor5000 » Nov 5th, '15, 08:32

doktor5000 wrote:You can also attempt a logout and shutdown via
Code: Select all
qdbus org.kde.ksmserver /KSMServer logout 0 2 2


What is the result for that when run as your normal user?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 5th, '15, 15:36

Code: Select all
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$

The result here is nothing happens at all.
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby doktor5000 » Nov 5th, '15, 21:28

Then something seems broken either with your dbus session or with ksmserver. Can you run kdebugdialog and enable all debug outputs there?
Then please try again, and see whether you get some output or at least some entries in ~/.xsession-errors.
And after you run that qdbus command again, please also provide the output as root of
Code: Select all
journalctl -ab | tail -75
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 5th, '15, 23:50

Code: Select all
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()
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 5th, '15, 23:54

Code: Select all
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$


I think that got it all, too many windows open at times. :D
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Mageia 5 will not shutdown

Postby doktor5000 » Nov 6th, '15, 20:19

Nope, not at all. ~/.xsession-errors is a log file, you tried to execute it.
And you can't run qdbus under root as there's no dbus session bus for root and also no KDE session.

Please try again as normal user, and in doubt attach your ~/.xsession-errors file here - although might need to copy and rename it to .txt as the forum software may refuse to add an attachment with no suffix.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 5 will not shutdown

Postby gch3 » Nov 7th, '15, 04:44

X sessions file is too large to send , 89000 characters
Here's qdbus as user
Code: Select all
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$
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Next

Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest