restart and shutdown permissions
Warren Block
wblock at wonkity.com
Tue Oct 16 11:59:53 UTC 2012
On Tue, 16 Oct 2012, Olivier Duchateau wrote:
> 2012/10/16 Warren Block <wblock at wonkity.com>:
>> On Mon, 15 Oct 2012, Olivier Duchateau wrote:
>>
>>> How do you launch your session ? With xinitrc file provides by
>>> x11-wm/xfce4-session or with your own xinitrc.
>>
>>
>> My own .xinitrc, which is just
>>
>> /usr/local/bin/startxfce4
>>
>>
>>> What's your login manager ? You must use login manager which supports
>>> sysutils/consolekit. Like x11/slim, x11/gdm (there's an issue with
>>> x11/xdm).
>>
>>
>> None, just startx. Aha, that is why people are using ck-launch-session.
>> Using that to run startxfce4, it works, and without sudo.
>
> Ok, you must add in your xinitrc file `ck-launch-session' before
> xfce4-session (don't use startxfce4).
> You can look at /usr/local/etc/xdg/xfce4/xinitrc file. It provides
> this case (line 84 to 107).
>
> You can test with xinitrc file provided by x11-wm/xfce4-session, and
> then adjust your own.
Why should startxfce4 not be used?
More information about the freebsd-xfce
mailing list