I managed to find the problem.
The problem was that I was missing a library.
I will leave here what I did to found out the problem.
at prompt, as normal user, I did:
Code:
$ loginctl hibernate
which returned an error ( sorry, I havn't take a screen of the error ) and in /var/adm/messages I've seen those messages:
Code:
Apr 2 14:36:55 linux dbus-daemon[1523]: [system] Activating service name='org.freedesktop.PolicyKit1' requested by ':1.64' (uid=1006 pid=4903 comm="/usr/bin/pkttyagent --notify-fd 6 --fallback") (using servicehelper)
Apr 2 14:36:55 linux dbus-daemon[1523]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with unknown return code 127
Apr 2 14:36:55 linux dbus-daemon[1523]: [system] Activating service name='org.freedesktop.PolicyKit1' requested by ':1.1' (uid=0 pid=1536 comm="elogind-daemon") (using servicehelper)
Apr 2 14:36:55 linux dbus-daemon[1523]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with unknown return code 127
SO I need to find why this error 127.
I tried to run
Code:
$ /usr/lib/polkit-1/polkitd
that also returned an error ( and again I can't remeber exactly the error ) .
Thus I did an
Code:
$ ldd /usr/lib/polkit-1/polkitd | grep "not found"
that showed that a library ( and specifically the libduktape ) was missing ( YMMV )
I then installed the library via slackpkgand everything started to work again.