You are not logged in.

#1 2022-07-19 11:46:16

denisuu
Member
Registered: 2022-05-31
Posts: 11

[SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

Hi all,

I have some weird log out behavior on my machine.

When I have both the settings below enabled and I press the power-button I get a prompted, but whatever I select: 'restart, shutdown or suspend' I only get logged out.
When I disable 'Prompt on logout' I immediately get logged out whatever I select under 'Settings > When Power button is pressed ' When I go through Whisker menu I get the same behavior.

Settings > Session & Startup > General > Prompt on logout = Enabled
Settings > Power Management > General > When Power button is pressed = Ask

Even 'Settings > Power management > Display > Blank screen after X minutes' logs me out. I have it set to 1 minute on battery and every time I have to log in again.

Settings > Power management > System > Security > Lock screen when computer is going to sleep = Disabled.

I'm not sure what logs I should provide to troubleshoot this?

Thanks in advance!

Last edited by denisuu (2022-08-05 10:12:54)

Offline

#2 2022-07-19 12:16:36

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 144

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

You probably don't have xfce4-power-manager properly configured. Take a run of the power manager and make general adjustments.

Przechwycenie-obrazu-ekranu-2022-07-19-14-10-58.png


Arch Linux Xfce - 64Bit Linux User #621110

Offline

#3 2022-07-19 13:37:37

denisuu
Member
Registered: 2022-05-31
Posts: 11

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

I don't understand Polish and your menu looks a bit different than mine, so I took some screenshots too. Like I said in the first post, changing these options doesn't change anything.

https://i.imgur.com/NxqtPqX.png
https://i.imgur.com/fcZqH7A.png
https://i.imgur.com/CFWZELw.png
https://i.imgur.com/jdBP7Vb.png

moderator edit -- replaced oversized images with links.
Pasting pictures and code

Last edited by 2ManyDogs (2022-07-19 13:40:05)

Offline

#4 2022-07-19 13:52:30

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

loginctl session-status

Even 'Settings > Power management > Display > Blank screen after X minutes' logs me out. I have it set to 1 minute on battery and every time I have to log in again.

Are you genuinly locked out or is this just a screen locker (do open windows close/running processes terminate when you're "logged out" this way)?

Offline

#5 2022-07-19 14:11:50

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 144

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

You must select an action for all four items.

NxqtPqX.png


Arch Linux Xfce - 64Bit Linux User #621110

Offline

#6 2022-07-19 15:51:18

denisuu
Member
Registered: 2022-05-31
Posts: 11

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

seth wrote:
loginctl session-status

Even 'Settings > Power management > Display > Blank screen after X minutes' logs me out. I have it set to 1 minute on battery and every time I have to log in again.

Are you genuinly locked out or is this just a screen locker (do open windows close/running processes terminate when you're "logged out" this way)?

Yes, I'm actually fully logged out. When I log back in it's like I booted from a complete powered off state.

loginctl session-status output


robson75 wrote:

You must select an action for all four items.

https://i.postimg.cc/qzx4636m/NxqtPqX.png

It does not matter what I select there, result is always a log out.

Offline

#7 2022-07-19 16:01:51

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 144

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]


Arch Linux Xfce - 64Bit Linux User #621110

Offline

#8 2022-07-19 18:16:41

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

Check the system journal, I suspect that the session process (xfce4-session) crashes on those attempts (and that apparently includes DPMS, maybe the DPMS is the ultimate trigger)
It might also be the xorg server, so check the Xorg.0.log.old as well, https://wiki.archlinux.org/title/Xorg#General

Offline

#9 2022-08-04 20:20:28

denisuu
Member
Registered: 2022-05-31
Posts: 11

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

Thanks for the response!

I was on a vacation so didn't have time to look at it.
Here's the content of the last minute in the system journal, I can't really figure out what's happening.: https://pastebin.com/raw/EQXwQZ27

Offline

#10 2022-08-04 20:51:21

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

Aug 04 22:12:53 BLOOGLET systemd-coredump[2672]: Process 2178 (xfce4-session) of user 1000 dumped core.
                                                 Stack trace of thread 2178:
                                                 #0  0x00007f028afadc0a n/a (libc.so.6 + 0xa7c0a)
                                                 #1  0x00007f028b16bece g_string_chunk_insert_len (libglib-2.0.so.0 + 0x7aece)
                                                 #2  0x00007f028bf98a28 n/a (libxfce4util.so.7 + 0x8a28)
                                                 #3  0x00007f028bf968a6 xfce_rc_simple_open (libxfce4util.so.7 + 0x68a6)
                                                 #4  0x000055716b73e2ed xfsm_manager_store_session (xfce4-session + 0x242ed)
                                                 #5  0x000055716b73e658 xfsm_manager_complete_saveyourself (xfce4-session + 0x24658)
                                                 #6  0x00007f028c11023b IceProcessMessages (libICE.so.6 + 0x1123b)
                                                 #7  0x000055716b731be2 n/a (xfce4-session + 0x17be2)
                                                 #8  0x00007f028b145c6b g_main_context_dispatch (libglib-2.0.so.0 + 0x54c6b)
                                                 #9  0x00007f028b19c001 n/a (libglib-2.0.so.0 + 0xab001)
                                                 #10 0x00007f028b1451cf g_main_loop_run (libglib-2.0.so.0 + 0x541cf)
                                                 #11 0x00007f028b960e2f gtk_main (libgtk-3.so.0 + 0x1d8e2f)
                                                 #12 0x000055716b72c177 main (xfce4-session + 0x12177)
                                                 #13 0x00007f028af292d0 n/a (libc.so.6 + 0x232d0)
                                                 #14 0x00007f028af2938a __libc_start_main (libc.so.6 + 0x2338a)
                                                 #15 0x000055716b72c3ce _start (xfce4-session + 0x123ce)
                                                 
                                                 Stack trace of thread 2191:
                                                 #0  0x00007f028b000e9f __poll (libc.so.6 + 0xfae9f)
                                                 #1  0x00007f028b19bf68 n/a (libglib-2.0.so.0 + 0xaaf68)
                                                 #2  0x00007f028b1451cf g_main_loop_run (libglib-2.0.so.0 + 0x541cf)
                                                 #3  0x00007f028b395acc n/a (libgio-2.0.so.0 + 0x108acc)
                                                 #4  0x00007f028b175405 n/a (libglib-2.0.so.0 + 0x84405)
                                                 #5  0x00007f028af8c78d n/a (libc.so.6 + 0x8678d)
                                                 #6  0x00007f028b00d8e4 __clone (libc.so.6 + 0x1078e4)
                                                 
                                                 Stack trace of thread 2190:
                                                 #0  0x00007f028b000e9f __poll (libc.so.6 + 0xfae9f)
                                                 #1  0x00007f028b19bf68 n/a (libglib-2.0.so.0 + 0xaaf68)
                                                 #2  0x00007f028b143392 g_main_context_iteration (libglib-2.0.so.0 + 0x52392)
                                                 #3  0x00007f028b1433e2 n/a (libglib-2.0.so.0 + 0x523e2)
                                                 #4  0x00007f028b175405 n/a (libglib-2.0.so.0 + 0x84405)
                                                 #5  0x00007f028af8c78d n/a (libc.so.6 + 0x8678d)
                                                 #6  0x00007f028b00d8e4 __clone (libc.so.6 + 0x1078e4)
                                                 ELF object binary architecture: AMD x86-64
Aug 04 22:12:53 BLOOGLET pulseaudio[2225]: ICE I/O error handler called
seth wrote:

the session process (xfce4-session) crashes on those attempts

There's a decade old FreeBSD bug w/ that pattern, https://bugs.freebsd.org/bugzilla/show_ … &id=170825
Regardless of the fact that xfce should™ be more robust here, did you do anything wrt https://wiki.archlinux.org/title/Xfce#Session ?
Do you have rw permissions on ~/.cache/sessions and ~/.cache/sessions/* ?

Offline

#11 2022-08-05 10:08:38

denisuu
Member
Registered: 2022-05-31
Posts: 11

Re: [SOLVED] Shutdown, Restart & Blank Display result in Log out [XFCE]

No I didn't change anything (or not intentionally).

I made a CloneZilla backup and tried a clean install with the latest archinstall (2.5.0) including xfce4, I still have the same problem so maybe it's a bug in archinstall?
On Manjaro and Xubuntu I didn't have this problem, switching is not an option though... I love vanilla Arch.

[denisuu@BLOOGLET .cache]$ ls -lh  ~/.cache/sessions
-rw-r--r-- 1 denisuu denisuu 0 Jun 21 21:25 /home/denisuu/.cache/sessions

Edit: I restored the CloneZilla, deleted  ~/.cache and it's working now!

Thanks for the help guys, I appreciate it! ♥

Last edited by denisuu (2022-08-05 10:11:55)

Offline

Board footer

Powered by FluxBB