LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Ubuntu 10.04 64 bit - Suspend often does a log out (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu-10-04-64-bit-suspend-often-does-a-log-out-810702/)

taylorkh 05-28-2010 08:24 AM

Ubuntu 10.04 64 bit - Suspend often does a log out
 
Dell Studio XPS 8000 desktop
i7-860 CPU
8 GB RAM
swap area set to 9 GB
nVIdia GeForce GT220 1 GB
Ubuntu 10.04 64 bit, all patches, nVidia-current 195.36.15

I am finding that about 1 out of 5 times when I "suspend" the computer and then power it back on I am presented with a login screen and any programs which were running at the time of suspend are terminated. Ubuntu 9.10 on this machine experienced the same problem about 1 in 20 times. Hardly an improvement :(

Any suggestions on how I can diagnose this issue?

TIA,

Ken

rubentje1991 05-28-2010 08:28 AM

suspend
 
I always thought that when you wanted to use the suspend feature, you needed a SWAP-area of 2x RAM (in your case 16 Gigabyte :confused: ??)

=> maybe it works in most cases with less swap-space than that???

taylorkh 05-28-2010 08:34 AM

Thanks rubentje1991,

I though that swap was used for "hibernate" rather than suspend. I started with this machine using 4 GB swap. It would suspend with the same issue. I bumped it to 9 GB to see if that helped but it did not. I guess I can bump it up to 16 and see what happens.

Ken

rubentje1991 05-30-2010 07:05 AM

wrong interpretation
 
sorry,

I thought SUSPEND TO DISK (~ hibernate) you were talking about
=> Suspend to RAM doesn't turn off your pc completely (RAM stays using power)... so...

Thus, your problem is with Suspend TO RAM:
  • you don't get a locked computer when you start up (you get the normal loginscreen
  • your apps are closed when you start your computer

OK, maybe there is an expert around here... (I have no idea about this at this moment - never experienced such a thing, maybe later);

One thing to ask: when you power on your pc again: does it the full boot sequence, or does it get directly to the loginprompt (within 10 seconds)???

taylorkh 05-30-2010 07:19 AM

When I power on the PC from suspend it does NOT go through the boot process. It brings up a locked screen "enter password" dialog when it is working correctly or the pink/purple pick user and login screen when it has logged me out.

Ken

P.S. The time is a little longer than 10 seconds. For a quad core processor with a 10K RPM Velociraptor drive - this box is SLOW to boot or come out of suspend. My Latitude 2100 with an Atom processor, I GB RAM and a solid state drive will boot Ubuntu 9.04 within a second or so of the mighty desktop.

Peacepunk 07-18-2010 03:08 AM

[SOLVED] Suspend does a log out
 
Old thread but

Got the same now (july 1010) on a Debian Testing laptop, up to date: suspend logs me off, all the time. It's really back to log-in prompt in a sec (means suspend 'works', resumes super-fast)... only then, you must give password, wait for your new session to be established.

cheapo workaround: use the 'remember running apps' feature from start-up applications. Doesn't make it faster, but you don't loose all of your session; albeit not all is back.

[EDIT - works with suspend button, lid-close still logs off or crashes] cleared everything in /apps/gnome-power-manager/lock from gconf [EDIT]

DaleAmon 10-12-2010 12:41 AM

I just did an update from 10.04 to 10.10 and suspend now kills my session every time. Before it reliably gave me a password prompt to continue, but it now put me back to a login with all my work dead.

I do I fix what Maverick broke?

This is an IBM T23 laptop.


All times are GMT -5. The time now is 05:06 PM.