LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   hibernate missing from kde -current 04/30/2024 (https://www.linuxquestions.org/questions/slackware-14/hibernate-missing-from-kde-current-04-30-2024-a-4175735587/)

Pigi_102 04-02-2024 01:04 AM

hibernate missing from kde -current 04/30/2024
 
Hello all,
I've just completed the upgrade to latest -current and have noticed that the hibernate option is missing either in kde menu that in the kde settings.

Any idea on how to get it back, please ?

Thanks in advance

Pierluigi

Pigi_102 04-02-2024 05:31 AM

I must say that not only the hibernate is missing, when running as user ( not as root ).
All the power options are not there.

Just for a better track of the problem.

Thx

Pigi_102 04-02-2024 07:55 AM

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.

chrisretusn 04-02-2024 08:46 AM

Always worth it to check ChangeLog.txt

For GP you should probably run 'slackpkg install-new' as there have been some additions. Running 'slackpkg clean-system' would be prudent since there have been some removals. Using the "clean-system" option assumes you have third party packages in blacklist or are using slackpkg with slackpkg+.

This is a excellent place to check changes to -current, as it show number of packages and number of Added, Upgraded, Rebuilt and Removed packages.

https://www.linuxquestions.org/quest...0/page100.html


All times are GMT -5. The time now is 09:40 AM.