I have no Shut Down or Reboot options on screen, only Sleep and Hibernate
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Ok so lets try and see if you have the following. /etc/X11/gdm/gdm.conf If you do then lets edit it and see if you have the following key in there. SystemMenu = false if you see that change it to true. Then reboot or logout or both.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
This sounds interesting.
I use gnome on Ubuntu. Just out of interest, what comes up if you check your power management system. On mine there is an option to have the comp shut down when you press the power button. This is nice to have set in case you get a freeze for some reason.
Do you have the installation CD? Is it a Live CD? If you have and it is, try running from the CD and see if you have the reboot and shut down options there.
Ok,
First Widget:
I have done as you suggest. It now shuts down on the power button. It did before, but only if held off for 6 seconds, and then it simply powered off. Now it will shut down, doing so properly and progressively, after a simple press of the power button. So that is progress even if it isn't via the on-screen dialog. Thanks!
I don't have the installation CD and these Netbooks have no built in CD drive - I would need to get an external USB drive.
jstephens84:
I tried typing /etc/X11/gdm/gdm.conf but just get a :No such file or directory. The terminal opens with: linux:~ #
Should I be entering /etc/X... straight after this or do I need to change to a different directory first?
Rsearcy:
typing : vi/etc/sysconfig/displaymanager gets me the same response of No such File or Directory.
Maybe I am starting from the wrong directory in the Terminal window for this as well?
Sorry to be so dim; as I said, this is my first look at Linux.
But I do appreciate all your efforts to help!
Oops forgot to tell you that you will need to place vi or vim before the /etc/X11/gdm/gdm.conf. This will open up the vi editor. Once you open that up you will press the down arrow and see if you find the specified input. If you find it press i so that it says insert and then change the false to true. Once finished just hit :wq to write quit. If you don't find it then just press :q! .
OK,
Getting something now. (it required a lower case x, as /x11/ not /X11/ which was how I read your message.)
Anyway, I now get a response E325: ATTENTION
found a swap file "/var/tmp/gdm.conf.swp"
followed by further details including "process ID 3336 (still running)"
If I ignore this and go to E (Edit anyway,
I then just get a page of tildes (~)
cursor keys don't take me down this page, which is full displayed anyway,
this will search your entire hdd for gdm.conf which I really think is what you are using but I could be wrong. Post back what you get. gdm.conf.swap I believe is of no use to us. the above command is best ran as root.
Returns:
find: /proc/0: No such file or directory
find: WARNING: Hard link count is wrong for /: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
/etc/opt/gnome/gdm/gdm.conf
linux:~ #
I ran that gdm.conf file and now get the idea what we are talking about!
I have looked carefully through it all and cannot find a SysteMenu=False key. Or anything similar. Most of the stuff there relates to log in and what settings result.
I did find:
Line 213.1 said "Whether you can shut down from GDM and Logout dialog"
AllowShutdown=true
So I assume I leave that as it is.
What's the protocol for exiting the gdm.conf without making changes?
SOLVED!
Did a bit of searching and found some info on how to use vi to edit the file and save changes.
activated "Allow Shutdown=true" by removing the #
activated "SystemMenu=true" by removing the #
enabled "Display last host login=true" by changing to true
Result!
From the normal desktop, if I go to shutdown it now brings up all 4 options: sleep; hibernate; reboot and shutdown. And they all work!
When I log out, it remembers my last login name for next time. I just enter my password
I can also shut down directly from the log-in screen if I wish.
So that is now all sorted! Thanks for the help, especially jstephens84
Now I need to fix my WiFi which appears not to exist, but I know it is in there somewhere! I will start a new thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.