Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2012 19:16:29 +0000
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        xfce@freebsd.org
Subject:   Re: restart and shutdown permissions
Message-ID:  <CAHcdu2q_9fMTa4MWfJovnGFoGUkVrQC0pZOA9y0JCU11EicE=g@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1210160557300.23367@wonkity.com>
References:  <alpine.BSF.2.00.1210141810030.7522@wonkity.com> <CAHcdu2r%2BcXX3dpCXmzgShMm79GKa99YFqDdCZgpGvhNHnR1OhA@mail.gmail.com> <alpine.BSF.2.00.1210151605250.15551@wonkity.com> <CAHcdu2r9Uczh3sZyJRxQZkNCRtYgHqkOwz=Ee4pYtEr5VX6Pfw@mail.gmail.com> <alpine.BSF.2.00.1210160557300.23367@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/10/16 Warren Block <wblock@wonkity.com>:
> On Tue, 16 Oct 2012, Olivier Duchateau wrote:
>
>> 2012/10/16 Warren Block <wblock@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?

Sorry for delay,

you can use startxfce4, but you should add `--with-ck-launch' option
in your xinitrc like that:

/usr/local/bin/startxfce4 --with-ck-launch



-- 
olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcdu2q_9fMTa4MWfJovnGFoGUkVrQC0pZOA9y0JCU11EicE=g>