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 <[email protected]>: >> 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 _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
