Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-06-14 10:38:47

daunbailo
Member
From: Italy
Registered: 2015-11-22
Posts: 72

Logout kills the apps

Hi, everytime I come back after launching the "xfce4-session-logout --logout" command I see all my apps not running anymore (example: Firefox).
Can I do a logout keeping all my app and windows running?

Last edited by daunbailo (2023-06-14 10:39:05)

Offline

#2 2023-06-14 16:39:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Logout kills the apps

Thats what logout does, though. It logs you out of your session and closes all the apps. If you want to keep the applications running, you need to lock your computer instead (xfce4-screensaver, light-locker, xscreensaver) - this will preserve your session.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2023-06-14 17:35:50

daunbailo
Member
From: Italy
Registered: 2015-11-22
Posts: 72

Re: Logout kills the apps

what if I use "xfce4-session-logout --switch-user"? it is the same thing of your proposals?

Last edited by daunbailo (2023-06-14 17:36:13)

Offline

#4 2023-06-14 18:49:01

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Logout kills the apps

"switch-user" will only work if you are using a display manager capable of switching users, like lightdm. The effect will be the same. It will suspend the current session (not log it out) and offer you the login screen to log into another user. Similar in nature to locking the screen.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2023-06-19 15:56:19

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: Logout kills the apps

You can try saving your current session before logging out.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 530.64 KiB (Peak: 531.92 KiB) ]