Re: best practices for running Xorg as non-root?
- To: firstname.lastname@example.org
- Subject: Re: best practices for running Xorg as non-root?
- From: Timo Juhani Lindfors <email@example.com>
- Date: Wed, 16 Feb 2011 19:18:07 +0200
- Message-id: <[🔎] firstname.lastname@example.org>
- In-reply-to: <email@example.com> (Timo Juhani Lindfors's message of "Mon, 06 Sep 2010 11:50:49 +0300")
- References: <firstname.lastname@example.org>
Timo Juhani Lindfors <email@example.com> 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
Would it make sense to add an option to xdm to specify the ownership of