Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XSession abrupt termination
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Wed May 30, 2018 10:38 am    Post subject: XSession abrupt termination Reply with quote

Hello,

The issue is I'm working on Xfce4 and suddenly I'm presented with the login screen with all my applications terminated and my work lost. This happens about once a day now, and I can't establish a relation with any other event, app running..., very frustrating :(

I've been suffering this problem for many months now. I've been posting essencially the same question but with different data, as the issue evolves.

So, now I think I pinpointed it to this:
Code:
May 30 10:52:48 mypc sddm-helper[11737]: pam_unix(sddm:session): session closed for user myuser
May 30 10:52:48 mypc kernel: elogind[7645]: Got message type=method_call sender=:1.102 destination=org.freedesktop.login1 object=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager member=ReleaseSession cookie=2 reply_cookie=0 error-name=n/a error-message=n/a
May 30 10:52:48 mypc kernel: elogind[7645]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetConnectionUnixUser cookie=141 reply_cookie=0 error-name=n/a error-message=n/a
May 30 10:52:48 mypc kernel: elogind[7645]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.2 object=n/a interface=n/a member=n/a cookie=40 reply_cookie=141 error-name=n/a error-message=n/a
May 30 10:52:48 mypc kernel: elogind[7645]: Sent message type=method_return sender=n/a destination=:1.102 object=n/a interface=n/a member=n/a cookie=142 reply_cookie=2 error-name=n/a error-message=n/a
May 30 10:52:48 mypc kernel: elogind[7645]: Electing new display for user myuser
May 30 10:52:48 mypc kernel: elogind[7645]: Ignoring session 4
May 30 10:52:48 mypc kernel: elogind[7645]: Removed session 4.
May 30 10:52:48 mypc kernel: elogind[7645]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager member=SessionRemoved cookie=143 reply_cookie=0 error-name=n/a error-message=n/a

The line before the first happens one minute before and it's a firewall block, so I don't think it is related.

I've tried slim, sddm, lightdm and it makes no difference.

Anyone can give me a clue why and how the session is being closed? Would it help uninstalling elogind? I think it can be replaced by consolekit which I'm not using, true?

Thank you in advance for any tips.
jss
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Thu May 31, 2018 9:59 am    Post subject: Reply with quote

Boot from livecd ?
Back to top
View user's profile Send private message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Thu May 31, 2018 10:37 pm    Post subject: Reply with quote

Thank you for jumping in.
Fulgurance wrote:
Boot from livecd ?

Actually not because that would mean one or more days staring at the screen, waiting for the thing to happen, without being able to perform any work because my applications and data are not there. As I said, I couldn't establish a cause-effect relation up to this moment.

Any other ideas?
Thank you,
jss
Back to top
View user's profile Send private message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Thu May 31, 2018 11:41 pm    Post subject: Reply with quote

It happening again a while ago, with a difference: I had logged in with "nox" in kernel parameters, so no DM, changed to VT6 and startx.

I was working on firefox, I think, and suddenly the console shows-up with a few Xorg lines, I think it was the log-on messages, and apparently frozen to the keyboard, didn't even change VT with ctrl-alt-F1 (or F2 to F6). Then I pressed the on/off button that I have linked to poweroff through acpi, and it did in fact poweroff.

Messages:
Code:

Jun  1 00:02:03 mypc kernel: panel-7-xfce4-s[10230]: segfault at 2a8 ip 00007fcc804ac996 sp 00007ffffdfca238 error 4 in libc-2.26.so[7fcc8040f000+1b9000]
Jun  1 00:02:11 mypc root[10539]: ACPI event unhandled: button/volumedown VOLDN 00000080 00000000 K
Jun  1 00:02:12 mypc root[10544]: ACPI event unhandled: button/volumedown VOLDN 00000080 00000000 K
Jun  1 00:02:46 mypc bluetoothd[8051]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource
Jun  1 00:02:46 mypc bluetoothd[8051]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSink
Jun  1 00:02:46 mypc polkitd[7942]: Unregistered Authentication Agent for unix-session:3 (system bus name :1.28, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8) (disconnected from bus)
Jun  1 00:02:46 mypc kernel: elogind[7589]: Inhibitor xfce4-power-manager (xfce4-power-manager handles these events) pid=8841 uid=1000 mode=block stopped.
Jun  1 00:02:46 mypc kernel: elogind[7589]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/login1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=87 reply_cookie=0 error-name=n/a error-message=n/a
Jun  1 00:03:04 mypc acpid[8024]: client 8704[0:1000] has disconnected
...
Jun  1 00:05:17 medusa shutdown[10628]: shutting down for system halt

Look at the first row, the segfault. Is this relevant?

I know what the unhandled acpi events are. The volume buttons are handled elsewhere but I never disconnected the acpi event/action, but it does nothing and I think don't hurt.

The last message is when I pressed the poweroff.

Any clues?
TIA,
jss
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