LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 05-28-2010, 09:24 AM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,200

Rep: Reputation: 96
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
 
Old 05-28-2010, 09:28 AM   #2
rubentje1991
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: PCLinuxOS
Posts: 102

Rep: Reputation: 22
Question 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 ??)

=> maybe it works in most cases with less swap-space than that???
 
Old 05-28-2010, 09:34 AM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,200

Original Poster
Rep: Reputation: 96
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
 
Old 05-30-2010, 08:05 AM   #4
rubentje1991
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: PCLinuxOS
Posts: 102

Rep: Reputation: 22
Question 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)???
 
Old 05-30-2010, 08:19 AM   #5
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,200

Original Poster
Rep: Reputation: 96
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.
 
Old 07-18-2010, 04:08 AM   #6
Peacepunk
Member
 
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51

Rep: Reputation: 16
[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]

Last edited by Peacepunk; 07-18-2010 at 05:01 AM. Reason: SOLVED with caveat
 
Old 10-12-2010, 01:41 AM   #7
DaleAmon
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
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.
 
  


Reply

Tags
logoff, resume, suspend


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit cpu-64 bit Ubuntu-are there 32 bit app issues? sofasurfer Ubuntu 7 04-09-2014 03:02 PM
Audio Recording Problem, SBx00 Azalia (Intel HDA), Ubuntu 10.04, 32 bit, 64 bit. MIJ-VI Ubuntu 2 05-20-2010 01:24 PM
LXer: Ubuntu 32-bit, 32-bit PAE, 64-bit Benchmarks LXer Syndicated Linux News 0 12-30-2009 12:00 PM
Ubuntu 8.04, 64 bit suspend/hiberhate with Asus P5Q3 broken brianpbarnes Linux - Software 3 03-24-2009 05:57 AM
Q: how to create dual boot disk with ubuntu 32-bit and 64-bit maxreason Ubuntu 4 08-07-2008 12:11 PM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration