jonls / redshift

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.
http://jonls.dk/redshift
GNU General Public License v3.0
5.91k stars 429 forks source link

running redshift on dedian returns a “Segmentation fault” #793

Open elad2109 opened 3 years ago

elad2109 commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: I ran:

sudo apt-get install redshift redshift-gtk sudo apt-get install geoclue-2.0

and then:

$ /usr/bin/redshift -l 52.3:16.3 -t 6700:3500
Segmentation fault

DISTRIB_CODENAME=rodete
DISTRIB_DESCRIPTION="Debian GNU/Linux rodete"
DISTRIB_ID=Debian
DISTRIB_RELEASE=rodete

I restart my machine and I saw a popup with cannot run redshift.

I tried to run it from the cmd, and got the above Segmentation fault error.

Expected behavior A clear and concise description of what you expected to happen.

Error output/logs/screenshots If applicable, add screenshots to help explain your problem.

$ redshift -O 3000 Segmentation fault

Software versions (please complete the following information):

cashpw commented 3 years ago

I'm having the same issue.

$ redshift -V
Segmentation fault

$ redshift -O 3000
Segmentation fault
spacime commented 3 years ago

I solved it by restart my desktop.

Hope it works on your side!

wiltwong commented 11 months ago

This seems to be related to #672

cashpw commented 11 months ago

This seems to be related to #672

That's it! I had the config as a symlink. I've copied the file into ~/.config/redshift.conf directly (rather than use a symlink) and redshift is working.