Ubuntu :: Disable Shutdown/Reboot/Hibernate Buttons On LOGIN SCREEN
Oct 24, 2010
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 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 disable Reboot and Shutdown options from the drop down menu in Ubuntu 9.10. I tried this:[URL] I also tried to modify the gdm.conf file, but the changes I made, made no difference.
Every time I reboot or shutdown my PC, the login window shortly pops up. The PC does shutdown or reboot normally afterwards. When I use the terminal to shutdown/reboot (sudo shutdown -h now or sudo reboot) all goes well. The PC is running Debian Squeeze with the GNOME desktop environment.
I remember that in previous Ubuntu releases, it was possible to restart/shutdown at the logon screen via the keyboard. I think it was via the F10 key. Can this function be brought back?
I'm using pm-hibernate, and would like to reboot the machine after it's done hibernating, rather than having the machine turn off.Is there a way to do this with pm-hibernate, or any other Linux hibernate thing?
everytime I try to shutdown/reboot, it gets to the screen where it has the green/bold status messages on the side, but then it simply stops. The cursor doesn't blink, nothing happens...you could wait 10 minutes, and it would still be at that same screen. I don't know if I've described this well enough for anyone to understand, but I hope so! I don't have a camera, but if I did...I'd post a picture of where I mean...
But like I said, after getting to a certain, without actually shutting down, it simply stops and does absolutely nothing. This is rather inconvenient, and I'd like to find a solution to this if possible. EDIT: I'm sorry I didn't provide any hardware info, but I'm using Gnome...This didn't happen 100% of the time KDE like it does now though. (But it DID happen in KDE as well) I'm using OpenSUSE 11.2... I'll be back in a moment with hardware info, assuming it may aid in a solution.
Further to this LQ thread which Tinkster solved by suggesting the last command (thanks Tinkster) I have been exploring last -x reboot and have found that the reported duration is incorrect for the last reboot and shutdown when a old wtmp file is used. Not having a record for the following shutdown, last assumes that the system has been up until the current time and similarly for the shutdown.
The output comes in time order, latest first, each line showing the time of the reboot and the uptime from then to shutdown. Using last -x reboot shutdown to show the shutdown time, here's an illustration
Code:
shutdown system down 2.6.29.6-smp Sun Mar 7 15:35 - 03:02 (11:27) reboot system boot 2.6.29.6-smp Sun Mar 7 09:35 (05:59) 09:35 until 15:35 is 05:59.
When the uptime exceeds 24 hours it is shown as (<days>+<hours:minutes) like this Code: shutdown system down 2.6.29.6-smp Sun Feb 21 12:39 - 13:20 (00:40) reboot system boot 2.6.29.6-smp Sat Feb 20 09:39 (1+02:59) 09:39 until 12:39 the next day is 1 day 02:59.
The time in parentheses at the end of the shutdown lines is normally the time until the next shutdown.
So far so good. The incorrect output is for the last reboot and shutdown of an old wtmp file. Here's the output of last /var/log/wtmp -x reboot shutdown; last -f /var/log/wtmp.1 -x reboot shutdown
Code:
[snip] reboot system boot 2.6.29.6-smp Fri Mar 12 07:42 (01:54) shutdown system down 2.6.29.6-smp Fri Mar 12 01:31 - 09:37 (08:05) wtmp begins Thu Mar 11 08:25:26 2010 [snip] reboot system boot 2.6.29.6-smp Wed Mar 10 14:12 (15+01:42) shutdown system down 2.6.29.6-smp Wed Mar 10 12:41 - 15:54 (15+03:13) [snip]
The boot started at "Wed Mar 10 14:12" which had an actual uptime of 1 day 11:20 is reported as 15 days 03:13 which is the time from then until the last -f /var/log/wtmp.1 -x reboot shutdown command was issued. The time from shutdown to shutdown is similarly affected.
I'm running Ubuntu 10.04 (and, on another server, 10.10) and can't seem to figure out how to remove the Shutdown and Restart options from the menu on the bottom right of the login screen.
I've tried
Code: gksudo -u gdm dbus-launch gconf-editor and checking the /apps/gdm/simple-greeter/disable_restart_buttons, but it doesn't do anything even after a reboot. I've also tried the above command as root (without the "-u gdm").
I have also tried adding the following lines to /etc/gdm/custom.conf:
Code: RebootCommand= ShutdownCommand= These seem to have no effect either. Is this a Gnome bug, or am I doing something wrong?
My Suspend and Hibernate buttons disappeared on my laptop.And i can't find a way to restore that I heard that i could restore them with Ubuntu tweak but i can't find how.
I have a netbook, on which I installed the netbook remix. It had ran fine until one day, I shut it down while it was updating. Now, on bootup, it will take me to the login screen and then basically freezes. The keyboard and mouse do not work and I cannot login to any profile. I tried a clean reinstall, but it only finds the preferences I have and sends me right back to the login screen.
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?
I've tried editing .xinitrc to contain ck-launch-session and dbus-launch to no avail. Console kit is installed. I'm using Sid without a login manager, and xfce's suspend and hibernate work fine on my Wheezy computer. Xfce4-session and consolekit are installed. Is this a problem with permissions?
I have some problems getting some of the buttons on my Thinkpad working properly. Volume buttons, thinklight, etc. work through tpb. It's the other buttons (sleep, hibernate, etc.) that are causing problems. The wireless radio button also works. I can hibernate and suspend successfully from the command-line using pm-suspend, etc. I have copied the 30-keymap-module-thinkpad-acpi.fdi file to /etc/hal/fdi/policy, where it sits alongside my UK keyboard layout policy (10-keymap.fdi). In this file, I have edited the 'radio' button to call a 'bluetooth' event instead, but it seems to be ignored and pressing Fn+F5 toggles both bluetooth and wlan radios and not just bluetooth... Is there something I have to do to merge the 2 files together? Or do I have to rename the thinkpad .fdi file so I have 10-keymap.fdi and 30-keymap.fdi?
I have the tpb daemon running but it's set not to block keystrokes and when I run xev and press the key combination for sleep, it reports 'xf86sleep' correctly, hibernate reports 'xf86suspend', etc., so I know the keys are getting recognized in some form... However, it seems that the HAL daemon is not picking up these events and running the corresponding commands. I am a member of the 'power' group, nevertheless, even running as root does not seem to make any difference. Finally, I am running wmii as a windowmanager with no desktop environment, and none of these buttons is configured in the window manager. hald should be picking up the events but it seems it isn't
I am running Opensuse 11.3 which had the KDE desktop loaded by default. I have since installed the Gnome desktop which I access via the log in screen whenever I want to use it.
One thing that is annoying me is that whenever I load gnome I am unable to shut down the computer directly from the gnome panel.
When I click the shutdown button, I want the computer to shut down, but rather gnome exits into the login screen and it is from there that I need to click the shutdown button in order to shutdown the computer.
Is there a way to avoid this and be able to shutdown from the gnome panel?
I do not want to uninstall KDE as a solution, I would like the flexibility of having both desktops.
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 was messing around with the screen orientation and thought it would be funny to orient it sideways. Big mistake The screen went black.I can force a shutdown, login and I get the same black screen. I tried hooking up an external monitor and the monitor showed no input so I'm guessing my laptop doesn't have that capability with Fedora.This is my main computer.
When I used to use ubuntu there was a option at login screen if u are not in the list of users, create a new account now same thing in debian, at the login screen there is written under my name
" not listed? "
when clicked it let u make a new account, i want to disable it.
On two of my machines that have Ubuntu 10.10 on them, I cannot shut down, restart or log out by pressing the "power button" on Gnome panel. I can not even do "Alt + Ctl + Backspace" either. However, I can shutdown or restart by: Quote: sudo shutdown -h now sudo shutdown -r now
I have installed Fedora 15 Alpha with GNOME 3. Everything is working fine. However, I can't see any option to hibernate or shutdown.
In the top panel when I click my user name, I only have one option and that is to suspend. Normally I like to hibernate or shutdown. And I can't see any option of what to do when I close my netbook. Normally, I prefer to hibernate.
I have installed Ubuntu as wubi (next to windows 7). When I expect the computer to shut down (either to hibernate or as part of, you know, shutdown), it doesn't. All the programs end, I am logged out, but I still have a picture on the screen (ubuntu default picture).
For some reason the shutdown/hibernate/logout options has disappeared from the Indicator session. I can still set my status in EmpathyI have tried reverting to gnome panel defaults (gconftool --recursive-unset /apps/panel && killall gnome-panel), removing and readding and I've checked synaptics and it seems I have everything indicator-related installed.
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.
Running Lucid. Every time I hibernate, when I come back, it requires entering a password. I would like to disable this.In the config editor, under apps -> gnome-power-manager -> lock, I've already unchecked _everything_ there, and it still asks me for a password after hiberate.