[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: best practices for running Xorg as non-root?



Timo Juhani Lindfors <timo.lindfors@iki.fi> writes:
> chown xorg /var/lib/xdm/authdir/authfiles/*

This hack stopped working today. It seems that on logout xdm does

(void) unlink (d->authFile);
*file = fopen (d->authFile, "w");

which recreates the authfile with root as the owner. Xorg then gets a
SIGHUP and fails to open it => xdm can not talk to non-root X server
anymore.

Would it make sense to add an option to xdm to specify the ownership of
authfiles?


Reply to: