|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
enable shutdown/reboot xfce4
How can I enable shutdown reboot option of xfce4?
|
|
|||
I was reading the documentation and one of the ways that I "think" (please read the docs and make sure that I'm correct) you can enable shutdown, is that you edit your sudoers file (if you have sudo installed).
xfce has a file called "xfsm-shutdown-helper". In FreeBSD, this file should be located under: /usr/local/libexec/xfsm-shutdown-helper You then edit the sudoers file and add the following to it (replace myuser and myhost with your user and host): Code:
myuser myhost=/usr/local/libexec/xfsm-shutdown-helper Code:
myuser ALL = NOPASSWD: /usr/local/libexec/xfsm-shutdown-helper |
|
|||
Thanks bigb89, unfortunately I don't use sudo. Isn't there a way other then this. A way which do not require sudo installed.
|
|
|||
Like killasmurf86 said, I guess you can try changing permissions on /usr/local/libexec/xfsm-shutdown-helper so that other users will have permission to run that command. (But keep in mind the security risks).
Let us know how it goes. |
|
|||
What should be the permissions for /usr/local/libexec/xfsm-shutdown-helper file.
Right now the permission for the file is -r-xxr-xr-x, but it didn't work I also tried setting the permisions to 777 event then it didn't worked. |
|
|||
I did, I didn't worked for me .
|
|
|||
Code:
# ls -l /usr/local/libexec/xfsm-shutdown-helper -r-sr-sr-x 1 root wheel 4712 Oct 16 09:13 /usr/local/libexec/xfsm-shutdown-helper |
|
|||
After executing this, permissions stayed the same.
Code:
chmod uog+rxs /usr/local/libexec/xfsm-shutdown-helper |
|
|||
no luck. For Now I've addes a special entry in the menu to let me shutit down.
By the way is this a bug or it is designed in such a strange way? |
|
|||
Quote:
anyways I didn't like xfce4 too much. moving back to wm2 , where one need not to worry about all these things (even if one wants to). |
Tags |
reboot, shutdown, xfce4 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD xfce4 | kaschei | OpenBSD General | 5 | 28th June 2009 08:45 PM |
Xorg + Xfce4 resolution problem | sniper007 | FreeBSD General | 4 | 30th April 2009 04:38 PM |
shutdown message | Mr-Biscuit | FreeBSD General | 1 | 16th November 2008 11:59 PM |
Shutdown problems | radtek | FreeBSD General | 11 | 13th September 2008 12:42 AM |
XFCE4 on 7.0 | TMD3 | FreeBSD Ports and Packages | 3 | 26th July 2008 03:22 AM |