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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Logging in as root and checking control center... system admin... login manager i verified that all users have the ability to shutdown locally
if i then log in as a user in a KDE environment the logoff button gives me the options to shutdown or restart that i want.
however, if i log in as a user in a GNOME environment the logoff button only gives me the option to logoff and then i have to shutdown from the login manager. also using the commands /usr/shutdown or shutdown -h now wont work unless i become root.
is there a setting i have to change as root in a GNOME environment to let all users shutdown the computer from a GNOME environment?
Wow, weird. I know this was (or is it still?) caused by using compiz and I'd probably bet on that if I wasn't running F8 with GNOME myself.. Even if I enable desktop-effects the shutdown button is still there.
so since this isn't really a show stopper of a problem i haven't been attempting a fix as often as i like; but i gave it another try last night...
when i am in my gnome environment i only have the log off option. from there i am taken back to the logon screen (the only one i've seen since i installed)
from there if i choose menu... shutdown.. i get the shutdown, restart, hibernate, options in exactly the same graphical representation as if i had been in a KDE desktop and chosen the (very accessible) shutdown button.
it seems i'm using a KDE display manager.
i read a post online of solving their lack of a shutdown button by editing the X11 conf file to read /gdm at the end instead /kdm... sounds great, makes sense; i've been trapped with a KDE logon disply if i change it to /gdm i'll get an ubuntu looking logon screen and have my shutdown buttons as usual.
well the only config file i could find in etc/X11 was under a slightly different name, etc/X11/prefdm; i figured, ok ubuntu/fedora translation, let's check this one out...
it contained (among other things) this:
# Run preferred X display manager
if [ -f /etc/sysconfig/desktop ]; then
if [ "$DISPLAYMANAGER" = GNOME ]; then
elif [ "$DISPLAYMANAGER" = KDE ]; then
elif [ "$DISPLAYMANAGER" = WDM ]; then
elif [ "$DISPLAYMANAGER" = XDM ]; then
elif [ -n "$DISPLAYMANAGER" ]; then
looks like if im using GNOME then it should go to /gdm, right?
well, now i'm confused.
anyone still following this thread,
care to comment?
Did you try re-creating the button and assigning the correct command to it?
1. On panel, right click on System, click 'Edit menus'
2. Choose the section where you want to add the button
3. Assign the appropriate icon, command (e.g. shutdown -h now). click close and your new Shut down button will be visible.