Re: best practices for running Xorg as non-root?
- To: debian-x@lists.debian.org
- Subject: Re: best practices for running Xorg as non-root?
- From: Timo Juhani Lindfors <timo.lindfors@iki.fi>
- Date: Wed, 16 Feb 2011 19:18:07 +0200
- Message-id: <[🔎] 84r5b73nlc.fsf@sauna.l.org>
- In-reply-to: <84iq2jmf12.fsf@sauna.l.org> (Timo Juhani Lindfors's message of "Mon, 06 Sep 2010 11:50:49 +0300")
- References: <84iq2jmf12.fsf@sauna.l.org>
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: