I have strange issue with kde-plasma that I cannot suspend using standard KDE way (buttons in app launcher). Main problem for me is that it does not suspend after closing laptop lid...
Using pm-suspend it works, but I need standard KDE way in order to suspend after closing the lid.
I'm not sure if current problem is permission related or not.
but it don't suspend computer. It only disconnects and reconnects network, it looks like it tries to suspend and wakes up again immediatelly.
I looked into .xsession-errors, but I don't see anything really suspicious (maybe except powerdevil: systemd powersave events handling inhibited, descriptor: 32, this is strange, I don't use systemd):
powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true) ) ( "Type" , QVariant(uint, 1) ) )
powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true) ) ( "SkipFade" , QVariant(bool, true) ) ( "Type" , QVariant(uint, 1) ) )
powerdevil: Starting UPower suspend job
lock called
kscreen.kded: System is going to suspend, won't be changing config (waited for 1001 ms)
Lock window Id: 31457307
CreateNotify: 31457307
CreateNotify: 58720258
CreateNotify: 58720260
CreateNotify: 58720264
CreateNotify: 58720266
Skipped method "moduleDeleted" : Pointers are not supported: KDEDModule*
kcm_keyboard: Fetched layout groups from X server: layouts: ("cz", "us") variants: ("", "")
kcm_keyboard: Fetched layout groups from X server: layouts: ("cz", "us") variants: ("", "")
CreateNotify: 58720267
MapNotify: 58720267
MapNotify: 31457307
CreateNotify: 58720271
Time engine Clock skew signaled
powerdevil: fd passing available: true
powerdevil: systemd powersave events handling inhibited, descriptor: 32
kscreen.kded: Resumed from suspend, checking for screen changes
kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "eDP1" ) ( "eDP1" ) to KScreen::Output(Id: 67 , Name: "eDP1" ) ( "eDP1" )
Currrent active notifications: QHash()
Guessing partOf as: 0
New Notification: "DHCP" "Connection 'DHCP' deactivated." -1 & Part of: 0
CreateNotify: 40035819
MapNotify: 40035819
UnmapNotify: 41943088
Unknown toplevel for MapNotify
UnmapNotify: 40035819
Currrent active notifications: QHash()
Guessing partOf as: 0
New Notification: "DHCP" "Connection 'DHCP' activated." -1 & Part of: 0
CreateNotify: 40036339
MapNotify: 40036339
UnmapNotify: 58720267
UnmapNotify: 58720267
CreateNotify: 58720273
QXcbConnection: XCB error: 3 (BadWindow), sequence: 53270, resource id: 58720273, major code: 18 (ChangeProperty), minor code: 0
Grab Released
I'm even not sure, if that isn't permission issue, because in output of ck-session-list I have active=FALSE, but I cannot figure how to change it to TRUE. I use sddm-0.11.0 (I removed nox11 from /etc/pam.d/system-login to be registered by consolekit). sddm is started with xdm (DISPLAYMANAGER="sddm" in /etc/conf.d/xdm).
Something works with that, I couldn't even use dbus-send... to debug suspend (I got Error org.freedesktop.UPower.GeneralError: not authorized), but suspend still don't work.
Question
pechy
Hi,
I have strange issue with kde-plasma that I cannot suspend using standard KDE way (buttons in app launcher). Main problem for me is that it does not suspend after closing laptop lid...
Using pm-suspend it works, but I need standard KDE way in order to suspend after closing the lid.
I'm not sure if current problem is permission related or not.
If I try dbus-send to debug suspend, I get:
but it don't suspend computer. It only disconnects and reconnects network, it looks like it tries to suspend and wakes up again immediatelly.
I looked into .xsession-errors, but I don't see anything really suspicious (maybe except powerdevil: systemd powersave events handling inhibited, descriptor: 32, this is strange, I don't use systemd):
I'm even not sure, if that isn't permission issue, because in output of ck-session-list I have active=FALSE, but I cannot figure how to change it to TRUE. I use sddm-0.11.0 (I removed nox11 from /etc/pam.d/system-login to be registered by consolekit). sddm is started with xdm (DISPLAYMANAGER="sddm" in /etc/conf.d/xdm).
In order to be override polkit, I created polkit rule:
Thanks for any help.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts