View previous topic :: View next topic |
Author |
Message |
cascamorto Guru
Joined: 28 Feb 2005 Posts: 373
|
Posted: Wed Mar 30, 2005 5:20 pm Post subject: xfce4 shutdown |
|
|
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 |
|
|
remik n00b
Joined: 21 Mar 2005 Posts: 41 Location: Poland
|
Posted: Wed Mar 30, 2005 5:37 pm Post subject: |
|
|
package: sudo _________________ Look it... |
|
Back to top |
|
|
cascamorto Guru
Joined: 28 Feb 2005 Posts: 373
|
Posted: Wed Mar 30, 2005 6:27 pm Post subject: |
|
|
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 |
|
|
mpsii l33t
Joined: 11 Mar 2003 Posts: 658 Location: Jackson, TN
|
Posted: Wed Mar 30, 2005 6:42 pm Post subject: |
|
|
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 |
|
|
iainvt Guru
Joined: 12 Sep 2004 Posts: 462 Location: UK
|
Posted: Thu Mar 31, 2005 12:31 pm Post subject: |
|
|
emerge sudo
run visudo as root
uncomment line
%wheel ALL=(ALL) NOPASSWORD=ALL _________________ iain |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
|
Back to top |
|
|
|