trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: July 2012

[Patch] Re: [trinity-devel] tdm login screen - gentdmconf, need to check existence of /etc/X11/Xsession before sourcing

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 20 Jul 2012 11:06:42 -0500
On 07/19/2012 12:45 PM, David C. Rankin wrote:
> Tim, Darrell,
>
>    One problem with gentdmconf is that arch does not have an /etc/X11/Xsession
> file. So when gentdeconf creates the Xsession file with an include for
> /etc/X11/Xsession, the login fails. What needs to be changed is a simple check
> to make sure the file exists before sourcing it. i.e.:
>
> [[ -r /etc/X11/Xsession ]] && . /etc/X11/Xsession
>
>
>

Patch attached.

-- 
David C. Rankin, J.D.,P.E.



Attachments: