LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-08-2021, 10:10 AM   #1
shpenat
Member
 
Registered: Dec 2008
Distribution: LFS
Posts: 99

Rep: Reputation: 21
Cannot connect to consolekit after suspension


I have a system built loosely on LFS linux. I am currently running XFCE 4.12 desktop.

Everything works as expected, unless I suspend the computer. After I resume from suspend mode, I am no longer able to shutdown my computer. There is only logout option available.

I can see the issue in my .xsession-error file, where it reads:

Code:
xfce4-session-WARNING **: Failed to reconnect to consolekit: Could not get owner of name 'org.freedesktop.ConsoleKit': no such name
When I log out and log back, everything works again as expected.

Can someone point me to where the resume issue might be? I probably have something mis-configured regarding dbus and consolekit.
 
Old 07-07-2021, 11:49 AM   #2
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 74
Make sure your user is in the "power" group if not create one.
Then suspend is different than sleep so make sure a boot time you told the
kernel where your going to resume from.
mine is
Quote:
resume=/dev/sda4
sda4 is my swap partition.
As for for suspend to ram. Sleep.

Then again it isn't reloading console kit.
This means it is unable to create a socket.
Because there is one already in use. But it is stale.
When you logout it clears that /tmp/socket
log back it it creates a new one.
I hope this points you.
Good place to also look at and understand D-Bus
~/.dbus
 
  


Reply

Tags
dbus, suspend issue



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
LCD off: during boot/after waking up from inactivity/after suspension geladynata Linux - Laptop and Netbook 2 12-14-2018 01:49 AM
wi-fi doesn't work after sleep/suspension in Debian7 xiongnu Debian 1 12-23-2013 11:23 PM
no /dev/sr0 (DVD/CDROM) detected after resume from suspension brobr Slackware 1 03-21-2013 06:57 AM
Function keys only start working after suspension in Linux Mint pableski Linux - Laptop and Netbook 0 10-16-2012 02:26 PM
[SOLVED] Slackware 13.1 beta1 "Cannot open ConsoleKit session: Unable to open session..." fl0 Slackware 2 05-13-2010 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
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