[PATCH 4/6] xserver: log locally

Tiago Vignatti tiago.vignatti at linux.intel.com
Tue Apr 17 06:46:00 PDT 2012

On 04/17/2012 03:54 PM, Kristian Høgsberg wrote:
> 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.

my problem is that I install Xorg in /opt/, which needs special 
privileges to run due the logging. And well, I guess there's no sense on 
installing a non setuid Xorg there anyways... so the solution to choose 
the directory at conf time works fine for me, thanks!


More information about the wayland-devel mailing list