Ubuntu :: Disable Login Screen On Return From Suspend / Hibernate
Jan 8, 2010
I would like to disable the login screen when the computer returns from suspension and hibernation, so that it will automatically log me back in. I am using Ubuntu 9.10.When I come back from suspension, for some reason, my key board does not work in the login screen and I cannot type my password.
i want to remove shutdown/restart/hibernate buttons from my gdm login screen on ubuntu 10.10. if i disable these buttons with ubuntu tweak or gdm2setup it is just ignored and all buttons are still there.
I was looking for a way to disable the Suspend and Hibernate options from the logout menu as my laptop hangs on both and requires unplugging/battery removal to restart.
I found a few pages with instructions for older Ubuntu versions but I didn't come across anything that applied directly to 10.04 Lucid Lynx so I thought I'd post what I found worked for me on 10.04.
Open a Terminal from the Applications>Accessories>Terminal. Because the file you will be editing requires root privileges to edit, you will need to use the sudo command:
Enter your password. This will then open the settings file in the text editor with the needed permissions (opening the file directly with the editor you will get an error message if you try to save the file). There are two sections in this file, the first for suspend and the second for hibernate. Near the end of each section will be a line with:
Code: <allow_active>yes</allow_active>
Change this from Yes to No to disable. Save the changes and reboot.
Code: <allow_active>no</allow_active>
Now the power menu will not display these options. To reverse changes just repeat the above and change from no back to yes.
I have a web server running on my laptop(in fact , it's a netbook). But I found it always hibernate automatically in a certain time .(In fact , I don't know what's the differences between hibernate or suspend. So I call this hibernate instead.) I am sure I have disabled the hibernate function in Power-Management from the System menu. But it still hibernates as usual.So could someone tell me how to disable it ( suspend,hibernate whatever )?
Just got Ubuntu 9.10 and I'm liking it a lot, but my computer refuses to go into hibernate or suspend. I have a Dell M1530 but I don't really think it's a dell hardware issue because it's not just when I close the screen, it's also when I click suspend or hibernate from the menu.
out of no where it seems ubuntu no longer wants to cooperate when suspending/hibernating. the screen will just turn to a black screen without shutting down. each time i have to maually power down my laptop.
All is in the thread title. When I log back in after suspend or hibernate I get a lot of flickering on the screen. I noticed (I think) that it calms down a bit when streaming video from the net, if that gives any clue...
I'm using a dual boot with Vista basic/lucid lynx on an Acer Aspire 5100 laptop.
Ok so I'm still a bit of a Ubuntu n00b and I just installed 10.04 on my new laptop (Asus U35F) and it's working pretty well except for one problem.. Every time the laptop goes to sleep/suspends/hibernates, when I try to resume it again it hangs. So I end up seeing the screen to re-log in and I can usually move my mouse around and start typing my password in and all of that for maybe a second, but after that it just freezes!
Especially since right now Ubuntu is the only operating system I have running, and since I use this in school and need to conserve battery as much as possible so it stays running through 6 hours of class, I really need to get this fixed up soon..
I am having some pain with my new Squeeze installation, I am not sure if I am asking to much of it or it is an easy fix.
Firstly my system is laptop which I regularly plug a second monitor into. The video adaptor is an ATI HD4550 mobile.
My problem is that when ever suspend or hibernate my system, and even sometime when I boot up the screen(s) are just blank, although sometime they don't, it always happens if I suspend by closing the lid of my laptop, and only sometime happend with through Gnome is go ->System->Shutdown->Suspend. This is really annoying.
Another issue which I think is connected is that as I said I have a second monitor (most of the time) and when I boot up then it works until I log in, then a message pops up say the configuration can not be applied and it revert to Mirror mode or it does this thing where it places the second screen inside (virtually) the built in Laptop panel, it will not let me fix this through the monitors dialog just displaying the same message. I can fix this by doing
invoke-rc.d gmd3 restart
This gets as far as killing Gnome them it prints an error the to console, at which point Imopen a new terminal by ctrl+alt+f2 and invoke-rc.d gmd3 stop invoke-rc.d gmd3 start
then it works fine and even remember that I set the secondary screen to be the primary monitor through xrandr.
I tried install fgrlx drivers instead but it didn't really fix the issue, so I removed them.
I just bought this desktop from my friend and it runs win 7 and ubuntu 10.04. it worked very well the first two days until I changed the hostname of the system.
I did like: hostname myNewName
And everything worked fine. The problem now is when I start ubuntu and and reach username and password screen , I enter my password to login the screen becomes black and return me again to the screen where I put my password again. If I entered wrong password , the system message stating wrong password. On the other hand, when I try to run ubuntu from live-cd I can login easily and access my account.
My friend told me he removed Naultius package and reinstall it for some reason before he gave it to me. Note windows 7 is working properly.
I installed a bunch of updates this morning and am encountering the following problem since I restarted after that: After I login, the screen will flicker once and then return to the login screen. I assumed that something must be wrong with my graphic settings (as so often). So I logged in via Ctrl+Alt+F3 and checked the xorg.conf and Xorg.0.log for erros. Everything seemed all fine. I also ran
Code: sudo apt-get install --reinstall gdm && sudo dpkg-reconfigure gdm as recommended in this thread. Also no success. I ran "sudo service gdm restart". That showed me at first a dialog box saying that my graphics card and input device settings could not be detected. I then chose to have a new configuration for this hardware created. This only resulted in the screen flickering for longer when I logged in again and then returning to the login screen.
I recently upgraded from Lucid to Maverick I can't seem to disable screen lock after resume from suspend. It's a minor annoyance, but still a considerable annoyance to have to enter my password every time the computer wakes up.
I've thusfar
1 - changed screensaver preferences to not lock
2 - set the gnome_keyring_hibernate, gnome_keyring_suspend, hibernate, and suspend, values all to false in gconf-editor
3 - commented out the line LOCK_SCREEN=true in /etc/default/acpi-support
BUT am still being prompted for a password every time the computer wakes up from suspend. I'm stumped, what could I be forgetting?
First of all, I searched the forums but I couldn't find anything- I don't want to be the poster who posts something that's been solved 14 times already Anyway, primary question first and then "why" below- I was wondering if there was a quick way to hibernate Ubuntu to Swap -> boot to Windows 7 and work -> Hibernate Windows 7 -> boot to Ubuntu and work, repeat until Windows glitches
I have, new Acer Aspire: i3 370M 4GB RAM 640GB HDD as follows, from inside to outside: X GB 3 Primary Windows partitions, 125 GB unnallocated, 50GB /home, 6 GB .boot, 4 GB SWAP
Ok, why would I want to do that? I ask because while Ubuntu boots fast at just under 1 minute at the end of my hard drive (90Mbps, I had it install from "end" when I partitioned the boot file), Windows boots slowly at about 2.5 minutes on the inside of my drive (23sh Mbps). To be able to switch between them would be useful for iTunes, ProEngineer, Matlab, and other stuff that is Windows based. Windows boots much faster from hibernation. I love Ubuntu, the speed and simplicity and the actual FRIENDLY atmosphere (what a concept WINDOWS) But I find myself needing to do some quick editing in Windows, then I can go back to my business on Ubuntu. Is there some kind of selective boot managing like GRUB that I can bring up after telling one to hibernate? Because once on SWAP, it should hold relatively indefinitely until I return, right??
Any ideas??? It sounds like some clever Terminal coding could manage the Linux side of the booting, but Windows might have to be tricked into a selective boot..
I recently installed Ubuntu 10.04 Lucid Lynx. When I partitioned my HDD, I ran out of available partitions and so couldn't make a Swap Partition.I pushed on anyway, because I read here that you can create a Swap File instead of a partition that does the same thing. I've made the Swap File and it's activated (I know because during shutdown there's a message that flashes very quickly that says "Deactivating Swap [OK]".
But here's the real problem. My Ubuntu refuses to Suspend or Hibernate. The screen just goes black and the backlight stays on. Since one of the main functions of the swap file is to facilitate Suspend and Hibernate,I upgraded from 9.10 Karmic Koala, which suspended and hibernated normally.
I upgraded to 4.4.3 from 4.4.2 this morning from AlienBob's packages (although I see they are now part of -current, but the mirrors are still behind) and I can no longer return from suspend on my laptop. I get a black screen with a mouse pointer that moves freely but it does not bring up my desktop. Ctrl-Alt-Backspace will bring me back to the console as it should, but this is a huge step backward. A few times I got a message about a new screen being detected after resuming but now it's just blank. I am running an intel onboard graphics card on an Asus laptop.
I'd like to disable the log-in screen sound. Not after you log on. Since it's my laptop I can't just switch a knob or press the off button. The function keys don't work before log-in.. Well not for sound at least.. I guess you could say it's a bug.. unless it was intended. Anyway, without filling a bug report how can I disable sound @ the login screen?
I enabled Magnifier on login screen , then it didn't worked correctly and covered right half of my screen! Now I cannot login and cannot disable magnifier and if I restart my computer the magnifier will start again, How can I disable it?
jeff@jeff-lappy:~$ sudo hibernate hibernate:Warning: Tuxonice binary signature file not found. Some modules failed to unload: nvidia hibernate: Aborting suspend due to errors in ModulesUnloadBlacklist (use --force to override).
I even installed this tuxonice thing but to no avail...
I can Suspend or Hibernate my Gateway notebook but I have no idea how to wake it up.The power button is set to suspend or hibernate....I not sure which it does, but I can't wake the computer up.
which ubuntu log file records when a suspend happened?I was ssh'ing into my ubuntu box periodically yesterday, when I discovered that it was no longer reachable. On getting home last night I discovered that it was still switched on, but I think in suspend mode as moving the mouse brought it back to life. The clock however, still showed 12:15pm, which is roughly when I stopped being able to ssh to it. I'd like to see the logs to confirm this.
My Ubuntu 10.10 on my laptop Lenovo T400 is not able to suspend or hibernate. Whenever I click Suspend or Hibernate in Startup options of the OS: * the moon LED on the bottom of the lid flashes a few seconds, the screen quickly shows something like "some devices fail to suspend, error 5", * and then the moon LED goes off and the display still has ambient light illumination. I suppose in suspend or hibernation state, the display should have no illumination, just like when the laptop is turned off, right? * If I press any key, the unlock screen dialogue will pop out. I have installed 'acpi-support' and 'hibernate 1.99-1.1'. But I don't know how to use these methods to suspend or hibernate my OS. Are they by commands in terminate, or can they be called by clicking Suspend or Hibernate in Startup options of the OS? For example, I type the hibernation command and it shows something is missing although I have installed "tuxonice-userui" ( I don't know if it will provide Tuxonice binary signature file):
I am running Lucid on this machine, but I have had this problem on every machine with Snort. When I awaken the system from suspend or hibernation, snort pegs out one of the CPUs.
I'm using ubuntu 8.04 . Each time I return form suspend mode, the network icon in the right upper conner show a sign "!", which maybe mean there's limited network connection as in windwos. How can I solve this problem?
i created a user apache in group apache and by useradd and groupadd command. i am working on a user called server and group is also server. The login screen shows both the users apache and server. My concern is that if sombody has the password to the username apache, hecan login. How do you disable user apache on the login screen so that it only shows user server.
I think it might have to do with an app I installed called Jupiter (http://sourceforge.net/projects/jupiter/) that missed with my power configs, I removed it but I still can't hibernate or suspend. Whenever I try to do either, my screen fades to black and nothing happens. If I move the mouse or touch the keyboard, it comes back.
I just got a Dell Inspiron 1764 and am dual booting it with Win7 and Ubuntu 9.10.Whenever I hibernate or suspend, it goes through everything fine, but then when I resume it just boots to a black screen and I have to do a hard shutdown. Is there a fix for this? I know it's a fairly common issue.
I've got a Thinkpad X31 with ATI M6 Ly card. Since Karmic, and Lucid, I get no suspend/hibernate/resume. If/when I select resume or close the lid, Lucid goes through the suspend cycle, and for approximately half a second it actually seems to go into suspend, then the screen comes back on, black, but definitely on, and absolutely no response to any keyboard input - have to hard-shutdown by holding down the power button. I've read that the problem is with the Ubuntu kernel, and that installing/compiling 2.6.33 fixes the issue, but causes other ones.