This is how to fix Redshift in Debian by disabling Wayland.
Download the script. Navigate to the script file through the terminal and activate the execution permissions by using 'chmod +x filename.sh'. After that run the file by typing './filename.sh'. Reboot after you run the script. A fast way to reboot is to type 'poweroff --r' in the terminal