[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bullseye: Redshift and Wayland



On Fri, 5 Mar 2021 14:32:38 -0500
Greg Wooledge <greg@wooledge.org> wrote:

> > Trying location provider `geoclue2'...
> > error: XDG_RUNTIME_DIR not set in the environment.
> > Could not connect to wayland display, exiting.  
> 
> What command did you run?  How did you try to run it?

Line wrapping ahead....

root@orca:~# redshift
Trying location provider `geoclue2'...
Using provider `geoclue2'.
error: XDG_RUNTIME_DIR not set in the environment.
Could not connect to wayland display, exiting.
Failed to start adjustment method wayland.
Trying next method...
No protocol specified
`RANDR Query Version' returned error -1
Initialization of randr failed.
Trying next method...
No protocol specified
X request failed: XOpenDisplay
Initialization of vidmode failed.
Trying next method...
No more methods to try.
root@orca:~# 


charles@orca:~$ redshift
Trying location provider `geoclue2'...
Using provider `geoclue2'.
Could not connect to wayland display, exiting.
Failed to start adjustment method wayland.
Trying next method...
Using method `randr'.
Waiting for initial location to become available...
Unable to start GeoClue client: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: 'redshift' disallowed, no agent for UID 1000.
Access to the current location was denied by GeoClue!
Make sure that location services are enabled and that Redshift is permitted
to use location services. See https://github.com/jonls/redshift#faq for more
information.
Unable to get location from provider.
charles@orca:~$ 


> 
> Are you typing this in a shell that you opened in a graphical terminal
> window inside your Wayland session?

Yes. As both root and user.



-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: