LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No Shutdown Button in Fedora 8 under GNOME (https://www.linuxquestions.org/questions/linux-newbie-8/no-shutdown-button-in-fedora-8-under-gnome-632021/)

brisbin33 03-31-2008 05:33 PM

No Shutdown Button in Fedora 8 under GNOME
 
Hopefully an easy one for someone out there...

Using Fedora 8:

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?

thanks in advance,
pat

SpecHackers 03-31-2008 05:53 PM

I am not sure, but someone might have edited your bash.rc profile. May be check down there.

DragonSlayer48DX 03-31-2008 06:51 PM

Quote:

Originally Posted by brisbin33 (Post 3106419)
Hopefully an easy one for someone out there...

...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.

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?

I'm anxious to see that, myself. After installing kubuntu-desktop on top of Ubuntu, I have the same exact problem. It's not major for me, but still annoying.

Cheers

brisbin33 04-01-2008 06:28 AM

Quote:

Originally Posted by dragonslayer48dx (Post 3106467)

...It's not major for me, but still annoying...

yeah i agree; two days of googling and all i could find was to verify the control center setting i mentioned in the first post.

i hope someone here has a solution

regards,
pat

Maligree 04-01-2008 06:38 AM

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.

brisbin33 04-14-2008 11:49 AM

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
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
preferred=/usr/sbin/gdm
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=/usr/bin/kdm
elif [ "$DISPLAYMANAGER" = WDM ]; then
preferred=/usr/bin/wdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=/usr/bin/xdm
elif [ -n "$DISPLAYMANAGER" ]; then
preferred=$DISPLAYMANAGER
fi
fi

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?

brisbin33 04-14-2008 05:01 PM

Solved
 
mwaha!

etc/sysconfig/desktop

was:

DESKTOP="KDE"
DISPLAYMANAGER="KDE"

will now be:

DESKTOP="GNOME"
DISPLAYMANAGER="GNOME"

let's hope this fixes it

alainahming 07-28-2008 04:33 AM

Did you try re-creating the button and assigning the correct command to it?

Suggestion:
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.

Alain

sir_com 07-28-2008 06:28 AM

One more suggestion...may be helpful

If the shutdown button is not listed then pressing "crtl+alt+del" will give you the shutdown menu provided if the below entry is present in the /etc/inittab file.

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -h

Cheers
sir_com


All times are GMT -5. The time now is 09:11 PM.