Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfce4 shutdown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
cascamorto
Guru
Guru


Joined: 28 Feb 2005
Posts: 373

PostPosted: Wed Mar 30, 2005 5:20 pm    Post subject: xfce4 shutdown Reply with quote

What do i need to do to be able to shut the comp down without going back to the text mode and shutting down directly from xfce4?? My only option available at the moment is to end the session...
_________________
The real world isn't what you thought it was going to be?
re-emerge it with gentoo linux!
Back to top
View user's profile Send private message
remik
n00b
n00b


Joined: 21 Mar 2005
Posts: 41
Location: Poland

PostPosted: Wed Mar 30, 2005 5:37 pm    Post subject: Reply with quote

package: sudo
_________________
Look it...
Back to top
View user's profile Send private message
cascamorto
Guru
Guru


Joined: 28 Feb 2005
Posts: 373

PostPosted: Wed Mar 30, 2005 6:27 pm    Post subject: Reply with quote

i have that what do i do after?
_________________
The real world isn't what you thought it was going to be?
re-emerge it with gentoo linux!
Back to top
View user's profile Send private message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 650
Location: Jackson, TN

PostPosted: Wed Mar 30, 2005 6:42 pm    Post subject: Reply with quote

From Xfce 4 Session Manager manual

Shutdown/reboot options
xfce4-session supports shutting down your computer when you log out of your desktop session. To be able to shutdown the computer, you have to be listed in the systems sudoers file, in particular, you must be allowed to execute the command ${libexecdir}/xfsm-shutdown-helper (/usr/sbin/xfsm-shutdown-helper on Debian GNU/Linux) as user root (where ${libexecdir} is the libexec sub directory in the prefix you installed xfce4-session, for example /usr/local/libexec).

For example, lets say, you installed xfce4-session into /usr/local, your hostname is myhost and your user account is named myuser, then you would have to add the following line to your sudoers file (remember to use visudo to edit that file):

myuser myhost=/usr/local/libexec/xfsm-shutdown-helper
_________________
-----------------------------------------
Michael
Back to top
View user's profile Send private message
iainvt
Guru
Guru


Joined: 12 Sep 2004
Posts: 462
Location: UK

PostPosted: Thu Mar 31, 2005 12:31 pm    Post subject: Reply with quote

emerge sudo
run visudo as root
uncomment line
%wheel ALL=(ALL) NOPASSWORD=ALL
_________________
iain
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Fri Sep 29, 2006 7:24 am    Post subject: Reply with quote

Moved from Desktop Environments to Duplicate Threads.

See https://forums.gentoo.org/viewtopic-t-281205.html
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum