LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-02-2024, 01:04 AM   #1
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Rep: Reputation: 22
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
 
Old 04-02-2024, 05:31 AM   #2
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Original Poster
Rep: Reputation: 22
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
 
Old 04-02-2024, 07:55 AM   #3
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Original Poster
Rep: Reputation: 22
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.
 
Old 04-02-2024, 08:46 AM   #4
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,976

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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

Last edited by chrisretusn; 04-02-2024 at 08:54 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
March 2024: Slackware-current AArch64 Installation Images refresh drmozes Slackware - ARM 0 03-12-2024 07:44 PM
To hibernate or not to hibernate? Lysander666 Slackware 23 06-09-2020 06:49 AM
Hibernate one distro, de-hibernate another Ulysses_ Linux - Software 8 12-28-2010 09:34 AM
13.1 Beta1 :: KDE SC 4.4.3 :: pm-hibernate works, KDE hibernate just locks the screen zordrak Slackware 7 05-12-2010 03:55 AM
cli hibernate works but gnome panel hibernate fails BCarey Linux - Desktop 1 06-08-2007 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration