[PATCH 4/6] xserver: log locally

Kristian Høgsberg krh at bitplanet.net
Tue Apr 17 05:54:30 PDT 2012


On Tue, Apr 17, 2012 at 6:17 AM, Tiago Vignatti
<tiago.vignatti at linux.intel.com> wrote:
> On 04/16/2012 11:41 PM, Kristian Hoegsberg wrote:
>>
>> On Mon, Apr 16, 2012 at 05:31:43PM +0300, Tiago Vignatti wrote:
>>>
>>> useful for weston on non-suid environments.
>>
>>
>> I'm not sure about this one.  We're just launching the X server, it
>> needs to know how to start up and log in the right place.
>
>
> right, I agree it's subjective whether is X server's or Weston task to do
> this task.
>
> But do you see another *viable* alternative for logging Xorg locally, when
> an user starts it? Don't tell me to fix Xorg :P

The only package I don't just install in /usr these days is actually
the xwayland build of Xorg.  I install Xorg in ~/install and it logs
in ~/install/var/log without problems.  If I choose to install Xorg in
/usr, it will be installed setuid and log in /var/log.  If you install
Xorg without setuid, you have to change (./configure
--with-log-dir=DIR) where it logs anyway so regular users can start
it.

Kristian


More information about the wayland-devel mailing list