Ubuntu 10.04 64 bit - Suspend often does a log out
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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]
Last edited by Peacepunk; 07-18-2010 at 04:01 AM.
Reason: SOLVED with caveat
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.