|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
xfce
Slt,
I am obliged to pass in mode(fashion) console to restart the machine.les buttons put out(switch off) and restart who(which) display in XFCE when we close the session, but about is the administrator of session, they always remain tinted. He indeed has to have there a manip which allows to activate them. |
|
|||
Hi there,
as far as I understand your posting you cannot shut down a xfce-session by using the buttons. Instead you have to switch to the console - right? If this is your problem the following steps should solve it: You have to edit /etc/sudoers to give the according right. This is a special file that you have to edit (as root) with a special command: # visudo ... now add the following line somewhere in the appropriate section (doesn't really matter where, as long as it's there): %users ALL=NOPASSWD:/usr/libexec/xfsm-shutdown-helper (this is the path under OpenBSD, maybe it's a little different under FreeBSD) Effect is immediate, you don't even need to restart anything. And your User has to be in the group "users". One last hint: Before you try to edit /etc/sudoers by visudo, you have to get used to the text editor "vi" (if you haven't used it before). Here you find a detailed description of this solution. Last edited by nihonto; 27th July 2008 at 10:28 AM. |
|
|||
I have been able to edit the sudoers file with the regular 'ee'... No problems at all.
In FreeBSD the path is usr/local/etc/sudoers (you should -of course - edit it as root) |
|
||||
You should set EDITOR to ee and use visudo if you want to use ee to edit the sudoers file, not edit sudoers file directly.
From visudo(8): Code:
visudo edits the sudoers file in a safe fashion, analogous to vipw(8). visudo locks the sudoers file against multiple simultaneous edits, pro- vides basic sanity checks, and checks for parse errors. If the sudoers file is currently being edited you will receive a message to try again later. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HOWTO: Lightest XFCE - Making XFCE lighter and faster | vermaden | Guides | 27 | 2nd September 2010 12:24 PM |
Xfce. Why didnt anyone tell me? | neurosis | FreeBSD Ports and Packages | 4 | 21st October 2008 03:10 PM |
Installing Xfce | rex | FreeBSD General | 9 | 4th September 2008 04:46 AM |
Autostart Xfce | ninjatux | FreeBSD General | 8 | 16th June 2008 06:47 AM |
Xfce on OpenSolaris | aleunix | Solaris | 0 | 4th June 2008 06:23 AM |