You are not logged in.
Hi, everybody,
Using Wiki and forum search, installed slim; all is nice enough, except for the Xfce Quit dialog. The only available option is Log Out: neither Restart nor Shut Down for me. How to enable the rest?
Moreover, logout ends up with another login screen; just as it should, I guess
Last edited by Llama (2008-03-04 15:39:07)
Offline
I've not tested it lately but I always as a habit add users to the group "power"; at least it has been a requirement in the past.
If you installed xfce4 and xfce4-goodies you have all the packages needed. Instead of making some difficult configuration, all what should be needed is that HAL is added to the daemon section in "rc.conf" (if adding HAL you don't need to list dbus, because it will be loaded by HAL).
For XFCE4 4.4 this should allow you to as a user shutdown or restart the computer as much as like to.
Offline
DAEMONS=(... ... hal) ? It's a newbie corner, after all .
Offline
Can you post your .xinitrc?
Offline
Sorry Llama, it wasn't my intent to talk over your head.
If HAL alone doesn't allow shutdown/restart (from root): gpasswd -A your_user_name power
You're correct about where to add the daemon: /etc/rc.conf
I don't know if you start SLiM as a daemon as well, but if so put "hal fam" before "slim" (you need "fam", otherwise you desktop won't refresh).
Keep on asking if it doesn't make sense.
Offline
Thank you very much, KimTjik! The HAL makes no difference in this respect, though it must make a lot of difference in general . Adding myself to the power group did the thing; what is the meaning of this group (a newbie question )? What is fam? By the way, when I push either Restart or Shut Down buttons, and the desktop goes away, I see the console login prompt instead of the shutdown script output. Why?
Offline
I have to go now, but a short answer: look for the inittab method in the Wiki. Besides that, make sure you don't use both slim as a daemon and also getting slim started by the inittab method.
Bye, I have to go!
Offline
The wiki page on groups: http://wiki.archlinux.org/index.php/Groups.
Offline
WOW, Not to take our llama thread here... I was wondering the exact same thing... Gotta love the forum so much info and the WIKI is awesome to boot.
Offline
What used to work for me when I used Xfce was to add a line to the /etc/sudoers file as root:
%shutdown ALL=(root) NOPASSWD: /usr/lib/xfce4/xfsm-shutdown-helper
After doing that the shutdown and restart buttons show up when you quit. Or at least it used to work that way.
Edit: Duh... and of course you would have to add yourself to a group called shutdown in /etc/group.
Last edited by bgc1954 (2008-03-05 15:57:17)
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
yea, I actually used the power group method when I first installed and forgot about it and just saw the sudoers file method. So if I do logout of xfce and X to do something in console then I cant reboot or shutdown while im a user right. The power group method only works if im in xfce?.. or just that if hal is running then I can shutdown reboot from the console anyway?
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline