You are not logged in.

#1 2004-12-07 02:42:55

cbozic
Member
From: Morgantown, WV, USA
Registered: 2004-01-31
Posts: 77

shutdown/reboot from gnome actions menu

Does anyone know how to accomplish this in Arch?  I've searched the gnome forums and mail lists and have found many answers to this problem.  The only bad thing is that none of them seem to work.  So, I'm asking the arch community.  smile

Does anyone know how to get shutdown and reboot to show up for non-root users when logging out of gnome on Arch?

Thanks!

Offline

#2 2004-12-07 19:42:12

Alkimyst
Member
Registered: 2004-12-04
Posts: 16

Re: shutdown/reboot from gnome actions menu

You have to do: "chmod +s /sbin/halt" and "chmod +s /sbin/reboot" but I dont know if that's enough....
I think the correct answer should be in the wiki (so if anyone knows the full answer here is my sugestion)

Offline

#3 2004-12-07 20:25:23

cbozic
Member
From: Morgantown, WV, USA
Registered: 2004-01-31
Posts: 77

Re: shutdown/reboot from gnome actions menu

I have tried that because it was posted in the gnome mail archive a few times, but it doesn't work on arch.  Has anyone in the arch community gotten this to work?

Offline

#4 2004-12-07 20:44:22

Alkimyst
Member
Registered: 2004-12-04
Posts: 16

Re: shutdown/reboot from gnome actions menu

I think this will do it:

touch /var/run/console/<username>

Offline

#5 2004-12-08 00:24:05

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,488

Re: shutdown/reboot from gnome actions menu

groupadd shutdown
gpasswd -a <user> shutdown
chgrp shutdown /sbin/halt
chmod 4750 /sbin/halt
mkdir /var/lock/console
touch /var/lock/console/<user>
chattr +i /var/lock/console/<user>

Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#6 2004-12-08 04:26:20

cbozic
Member
From: Morgantown, WV, USA
Registered: 2004-01-31
Posts: 77

Re: shutdown/reboot from gnome actions menu

You are awesome!  smile  Thanks for the help.

Offline

#7 2004-12-08 18:15:49

aias
Member
Registered: 2004-06-28
Posts: 39

Re: shutdown/reboot from gnome actions menu

I strongly agree that this needs to go in the wiki.  has someone already done that?

Offline

#8 2004-12-31 00:55:21

alexmat
Member
Registered: 2004-12-31
Posts: 100

Re: shutdown/reboot from gnome actions menu

Edit: Got it working... too embarrased to say what I was doing wrong  lol

Offline

Board footer

Powered by FluxBB