From 6ceecc4aebabfd8849733911edff16ca9a68e424 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Fri, 20 Mar 2020 11:11:20 +0100 Subject: Add a FAQ entry on issues with running via systemd Fixes #742 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 453b32a..e5ff74c 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,18 @@ Please go to [the issue tracker](https://github.com/jonls/redshift/issues) and check if your issue has already been reported. If not, please open a new issue describing you problem. + +**When running as a systemd service, redshift fails to connect to +Xorg/Wayland** + +You need to export your environment variables when you window manager or +compositor start up. Typically, you want to run this as part of its startup: + + systemctl --user import-environment; systemctl --user start graphical-session.target + +See your compositor's (or window manager's) documentation for further details +of setting up the systemd user session. + Latest builds from master branch -------------------------------- -- cgit v1.2.3-70-g09d2