Log out on various suspend /resume

Report Bugs, Issues and non- package Requests
Post Reply
Message
Author
yann
Posts: 24
Joined: Fri Jan 04, 2019 9:11 am

Log out on various suspend /resume

#1 Post by yann »

Hello,
When I suspend / resume in general more than once, it logs me out. Someone mentions it also on distrowatch. It happened in MX 17 and now also on 18.

System: Host: Q6600 Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3
Distro: MX-18_x64 Continuum March 14 2018
Machine: Type: Desktop Mobo: ASUSTeK model: P5K v: Rev 1.xx serial: <root required>
BIOS: American Megatrends v: 1201 date: 10/14/2008
CPU: Topology: Quad Core model: Intel Core2 Quad Q6600 bits: 64 type: MCP
L2 cache: 4096 KiB
Speed: 1814 MHz min/max: 1596/2394 MHz Core speeds (MHz): 1: 1604 2: 1604 3: 1604
4: 1604
Graphics: Device-1: NVIDIA GT218 [GeForce 210] driver: nvidia v: 340.107
Display: x11 server: X.Org 1.19.2 driver: nvidia resolution: 1280x1024~60Hz
OpenGL: renderer: GeForce 210/PCIe/SSE2 v: 3.3.0 NVIDIA 340.107
Audio: Device-1: NVIDIA High Definition Audio driver: snd_hda_intel
Device-2: Creative Labs EMU10k1 [Sound Blaster Live! Series] driver: snd_emu10k1
Sound Server: ALSA v: k4.15.0-1-amd64
Network: Device-1: Qualcomm Atheros Attansic L1 Gigabit Ethernet driver: atl1
IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:1e:8c:cd:02:a9
Drives: Local Storage: total: 447.14 GiB used: 309.83 GiB (69.3%)
ID-1: /dev/sda vendor: Seagate model: ST3360320AS size: 335.35 GiB
ID-2: /dev/sdb vendor: Hitachi model: HTS541612J9SA00 size: 111.79 GiB
Partition: ID-1: / size: 50.11 GiB used: 12.21 GiB (24.4%) fs: ext4 dev: /dev/sdb1
ID-2: swap-1 size: 2.00 GiB used: 2.8 MiB (0.1%) fs: swap dev: /dev/sdb2
Sensors: System Temperatures: cpu: 49.0 C mobo: N/A gpu: nvidia temp: 45 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 40%
Info: Processes: 276 Uptime: 4h 46m Memory: 3.86 GiB used: 902.5 MiB (22.9%) Shell: bash
inxi: 3.0.29
Last edited by yann on Sat Jan 05, 2019 1:03 pm, edited 1 time in total.

User avatar
dolphin_oracle
Developer
Posts: 20011
Joined: Sun Dec 16, 2007 1:17 pm

Re: Log out on various suspend /resume

#2 Post by dolphin_oracle »

yann wrote: Sat Jan 05, 2019 11:52 am Hello,
When I suspend / resume in general more than once, it logs me out. Someone mentions it also on distrowatch. It happened in MX 17 and now also on 18.
are you logged out or just getting the lock screen? by default the session is locked on suspend.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
richb
Administrator
Posts: 10343
Joined: Wed Jul 12, 2006 2:17 pm

Re: Log out on various suspend /resume

#3 Post by richb »

yann wrote: Sat Jan 05, 2019 11:52 am Hello,
When I suspend / resume in general more than once, it logs me out. Someone mentions it also on distrowatch. It happened in MX 17 and now also on 18.
System Settings> Power Manager. Click the Security Tab and uncheck "Lock Screen when going to sleep"
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

yann
Posts: 24
Joined: Fri Jan 04, 2019 9:11 am

Re: Log out on various suspend /resume

#4 Post by yann »

Thank you for your help.
It's already unchecked.
The first time I suspend it never logs out. It happens on the second or third time but I can't foretell when it will.
And when I relogin I can't find my desktop as I left it, that is to say that all my programs that were open are not visible. But when I reboot firefox tells me to restore the tabs.
Hope I explained well.

User avatar
richb
Administrator
Posts: 10343
Joined: Wed Jul 12, 2006 2:17 pm

Re: Log out on various suspend /resume

#5 Post by richb »

yann wrote: Sat Jan 05, 2019 1:08 pm Thank you for your help.
It's already unchecked.
The first time I suspend it never logs out. It happens on the second or third time but I can't foretell when it will.
And when I relogin I can't find my desktop as I left it, that is to say that all my programs that were open are not visible. But when I reboot firefox tells me to restore the tabs.
Hope I explained well.
Regarding preserving your desktop. I believe that is normal behavior for suspend. Hibernate saves open programs as is, not suspend.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

yann
Posts: 24
Joined: Fri Jan 04, 2019 9:11 am

Re: Log out on various suspend /resume

#6 Post by yann »

"Suspend does not turn off your computer. It puts the computer and all peripherals on a low power consumption mode. If the battery runs out or the computer turns off for some reason, the current session and unsaved changes will be lost.

Hibernate saves the state of your computer to the hard disk and completely powers off. When resuming, the saved state is restored to RAM."

The problem here is that the system has two different behaviors for the same action.

User avatar
richb
Administrator
Posts: 10343
Joined: Wed Jul 12, 2006 2:17 pm

Re: Log out on various suspend /resume

#7 Post by richb »

ON my desktop suspend has always closed open applications in my case and continues to do so. On my laptop open programs are preserved. Hibernate has always brought back what was open as is.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
Jerry3904
Administrator
Posts: 21941
Joined: Wed Jul 19, 2006 6:13 am

Re: Log out on various suspend /resume

#8 Post by Jerry3904 »

Desktop and laptop are separate settings in Power Manager, right?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
richb
Administrator
Posts: 10343
Joined: Wed Jul 12, 2006 2:17 pm

Re: Log out on various suspend /resume

#9 Post by richb »

Jerry3904 wrote: Sat Jan 05, 2019 1:50 pm Desktop and laptop are separate settings in Power Manager, right?
I do not see a distinction in Power Manager on my desktop. There are no separate Desktop/Laptop settings. On the Laptop there is an additional laptop lid item.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

Post Reply

Return to “Bugs and Non-Package Requests Forum”