Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE5 does not close X clients on logout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
motig
n00b
n00b


Joined: 11 Oct 2016
Posts: 15

PostPosted: Sat Dec 17, 2016 9:21 pm    Post subject: KDE5 does not close X clients on logout Reply with quote

Hello,
I have installed KDE5 on a new computer and I am having a slightly annoying problem. When I log out (restart, log out, power off), applications which are running do not close and they are killed when the X server restarts. When I log in again, I can see the "restore session" screen in Firefox, in other software like gqview the window position is not stored, telepathy does not remember the last logged in state, screen brightness is set to maximum, etc..

Previously I was using KDE4 on my old laptop and there were no such issues, the clients were gracefully terminated.

Here is the .xsession-errors from logging out:
Code:

Shutdown called with confirm  1  type  -1  and mode  -1
After modifications confirm is  1  type is  0  and mode  3
XmbTextListToTextProperty result code -2
Could not resolve property : radialGradient3118
Could not resolve property : radialGradient3112
Could not resolve property : radialGradient3118
Could not resolve property : radialGradient3112
Could not resolve property : radialGradient3321
Could not resolve property : radialGradient3321
Could not resolve property : radialGradient3327
Could not resolve property : radialGradient3327
Could not resolve property : radialGradient3085
Could not resolve property : radialGradient3101
Could not resolve property : radialGradient3139
Could not resolve property : radialGradient3133
Could not resolve property : radialGradient3499
Could not resolve property : radialGradient3505
Could not resolve property : radialGradient3047
Could not resolve property : radialGradient3041
Could not resolve property : radialGradient3079
Could not resolve property : radialGradient3073
Could not resolve property : radialGradient3499
Could not resolve property : radialGradient3505
Could not resolve property : radialGradient3118
Could not resolve property : radialGradient3112
Could not resolve property : radialGradient3118
Could not resolve property : radialGradient3112
Could not resolve property : radialGradient3321
Could not resolve property : radialGradient3321
Could not resolve property : radialGradient3327
Could not resolve property : radialGradient3327
Could not resolve property : radialGradient3085
Could not resolve property : radialGradient3101
Could not resolve property : radialGradient3139
Could not resolve property : radialGradient3133
Could not resolve property : radialGradient3499
Could not resolve property : radialGradient3505
Could not resolve property : radialGradient3047
Could not resolve property : radialGradient3041
Could not resolve property : radialGradient3079
Could not resolve property : radialGradient3073
Could not resolve property : radialGradient3499
Could not resolve property : radialGradient3505
powerdevil: Scheduling inhibition from ":1.11" "ksmserver" with cookie 1 and reason "Shutting down system"
saveSession is  true
ksmserver: Saving legacy session apps
ksmserver: Done saving  2  legacy session apps
clients should be empty,  false
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
state is  7
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
ksmserver: Starting killing clients
ksmserver: completeShutdown: client  "/usr/bin/krunner" ( 10d66f6d65000148180363700000031750000 )
ksmserver: completeShutdown: client  "/usr/bin/kwalletd5" ( 10d66f6d65000148180363800000031750001 )
powerdevil: Enforcing inhibition from ":1.11" "ksmserver" with cookie 1 and reason "Shutting down system"
ksmserver: completeShutdown: client  "kwinsmhelper" ( 10d66f6d65000148180363800000031750002 )
ksmserver: completeShutdown: client  "/usr/bin/plasmashell" ( 10d66f6d65000148180363800000031750003 )
ksmserver: completeShutdown: client  "/usr/lib64/libexec/polkit-kde-authentication-agent-1" ( 10d66f6d65000148180363800000031750004 )
ksmserver: completeShutdown: client  "/usr/bin/xembedsniproxy" ( 10d66f6d65000148180363800000031750005 )
ksmserver: completeShutdown: client  "/usr/bin/kwalletmanager5" ( 10d66f6d65000147777744400000028890088 )
ksmserver: completeShutdown: client  "pulseaudio" ( 10d66f6d65000148180363800000031750006 )
ksmserver: completeShutdown: client  "/usr/bin/konsole" ( 10d66f6d65000148180628800000031750018 )
ksmserver:  We killed all clients. We have now clients.count()= 10

ksmserver: KSMServer::completeKilling clients.count()= 10

powerdevil: Added interrupt session
kde.xembedsniproxy: closing
Destroying listener
Removing listener  PolkitQt1::Agent::Listener(0x1fca3a0)
ksmserver: KSMServer::completeKilling clients.count()= 9

ksmserver: KSMServer::completeKilling clients.count()= 8

Service  "org.kde.StatusNotifierItem-3307-1" unregistered
ksmserver: KSMServer::completeKilling clients.count()= 7

ksmserver: KSMServer::completeKilling clients.count()= 6

powerdevil: Can't contact systemd
powerdevil: Can't contact ck
QXcbConnection: XCB error: 3 (BadWindow), sequence: 7342, resource id: 46137350, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 7343, resource id: 39845903, major code: 15 (QueryTree), minor code: 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 7397, resource id: 41943044, major code: 18 (ChangeProperty), minor code: 0
ksmserver: KSMServer::completeKilling clients.count()= 5

ksmserver: KSMServer::completeKilling clients.count()= 4

ksmserver: KSMServer::completeKilling clients.count()= 3

QXcbConnection: XCB error: 3 (BadWindow), sequence: 7441, resource id: 37748740, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 7448, resource id: 18874392, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 7454, resource id: 23068688, major code: 18 (ChangeProperty), minor code: 0
Service  "org.kde.StatusNotifierHost-3266" unregistered
The kwalletd service has been registered
ksmserver: KSMServer::completeKilling clients.count()= 2

"There are still \"-1\" items in the process of being created at engine destruction."
ksmserver: KSMServer::completeKilling clients.count()= 1

ksmserver: Starting killing WM
ksmserver: killWM: client  "kwin_x11" ( 10d66f6d65000147638395000000032640003 )
ksmserver: KSMServer::completeKillingWM clients.count()= 1

ksmserver: KSMServer::completeKillingWM clients.count()= 1

ksmserver: KSMServer::completeKillingWM clients.count()= 0

powerdevil: Releasing inhibition with cookie  1
startkde: Shutting down...
klauncher: Exiting on signal 1
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
bluedevil: Destroyed
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
startkde: Done.
The X11 connection broke (error 1). Did the X11 server die?
QThread: Destroyed while thread is still running
Closing SQL connection:  "kactivities_db_resources_140476658644864_readwrite"
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 4 (Přerušené volání systému) on X server ":0"
      after 7480 requests (7480 known processed) with 0 events remaining.


No mention of either Firefox or any other programs being shut down and I can see them borderless stacked on the screen for a split second just before the X server restarts.

I have also found one post on KDE forums with what appeared to be the same problem but the problem was not solved.
Back to top
View user's profile Send private message
MickKi
Veteran
Veteran


Joined: 08 Feb 2004
Posts: 1157

PostPosted: Sun Jan 21, 2018 11:32 pm    Post subject: Reply with quote

Same error here. If I restart xdm I can login into the full plasma desktop instead of a black screen. I have two monitors in case this makes a difference. I'm assuming this is caused by sddm which has more than year to work correctly here on various machines.

I'd be interested if anyone has a fix?
_________________
Regards,
Mick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum