Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redshift not starting up automatically #72

Closed
samhh opened this issue Jul 18, 2020 · 5 comments
Closed

Redshift not starting up automatically #72

samhh opened this issue Jul 18, 2020 · 5 comments

Comments

@samhh
Copy link
Owner

samhh commented Jul 18, 2020

User systemd unit is enabled but fails. Running it manually works.

@samhh
Copy link
Owner Author

samhh commented Jul 18, 2020

systemd[1014]: redshift.service: Scheduled restart job, restart counter is at 5.
systemd[1014]: Stopped Redshift display colour temperature adjustment.
systemd[1014]: redshift.service: Start request repeated too quickly.
systemd[1014]: redshift.service: Failed with result 'exit-code'.
systemd[1014]: Failed to start Redshift display colour temperature adjustment.

@samhh
Copy link
Owner Author

samhh commented Jul 18, 2020

From journalctl, it tries this a few times:

systemd[1298]: Started Redshift display colour temperature adjustment.
redshift[1304]: Trying location provider `geoclue2'...
redshift[1304]: Using provider `geoclue2'.
redshift[1304]: `RANDR Query Version' returned error -1
redshift[1304]: Initialisation of randr failed.
redshift[1304]: Trying next method...
redshift[1304]: X request failed: XOpenDisplay
redshift[1304]: Initialisation of vidmode failed.
redshift[1304]: Trying next method...
redshift[1304]: No more methods to try.
systemd[1298]: redshift.service: Main process exited, code=exited, status=1/FAILURE
systemd[1298]: redshift.service: Failed with result 'exit-code'.
systemd[1298]: redshift.service: Scheduled restart job, restart counter is at 1.
systemd[1298]: Stopped Redshift display colour temperature adjustment.

@samhh
Copy link
Owner Author

samhh commented Jul 18, 2020

Possibly fixed by this PR that's merged but not yet in a release: jonls/redshift#753

@samhh samhh added the blocked label Jul 21, 2020
@samhh
Copy link
Owner Author

samhh commented Aug 6, 2020

Probably not, I don't have a graphical-session service. Superceded by #124.

@samhh samhh closed this as completed Aug 6, 2020
@samhh
Copy link
Owner Author

samhh commented Aug 10, 2020

69d3551

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant