[Nix-dev] Redirect SDDM/LightDM (X.0.log & .xsession-errors) to JournalCTL

Roger Qiu roger.qiu at matrix.ai
Fri Jan 29 05:37:14 CET 2016


GDM apparently does this: 
http://worldofgnome.org/in-gnome-3-12-systemd-will-track-xorg-logs/

But I'm not familiar with the source code.

On 29/01/2016 6:07 AM, Tuomas Tynkkynen wrote:
> 2016-01-28 20:47 GMT+02:00 Vladimír Čunát <vcunat at gmail.com>:
>> On 01/28/2016 12:21 PM, Roger Qiu wrote:
>>> But any ideas on how to redirect X.0.log?
>> X has -logfile option which seems like it only accepts paths. It should
>> be possible to hack around that via a named pipe, though that's not a
>> very nice solution. But maybe someone else was doing this already?
>>
> Maybe passing `-logfile /dev/stderr` could work (placing the output to
> display-manager.service's journal category)?

-- 
Founder of Matrix AI
https://matrix.ai/
+61420925975



More information about the nix-dev mailing list