Redhshift, Geoclue error -> Filesystem faulty?

tinfoil-hat

Active Member
Joined
Oct 24, 2021
Messages
462
Reaction score
234
Credits
3,201
Hi,
I wanted to start Redshift-GTK and it's not starting due to geoclue doesn't work. when checking the systemd status i get

Code:
● geoclue.service - Location Lookup Service
     Loaded: loaded (/lib/systemd/system/geoclue.service; static)
     Active: active (running) since Tue 2024-10-08 19:57:20 CEST; 6min ago
   Main PID: 3331863 (geoclue)
      Tasks: 4 (limit: 76872)
     Memory: 13.6M
        CPU: 136ms
     CGroup: /system.slice/geoclue.service
             └─3331863 /usr/libexec/geoclue

Okt 08 19:57:20 goliath geoclue[3331863]: unable to create directory '/var/lib/geoclue/.cache/dconf': Das Dateisystem ist nur lesbar.  dconf will not work properly.
Okt 08 19:57:20 goliath geoclue[3331863]: unable to create directory '/var/lib/geoclue/.cache/dconf': Das Dateisystem ist nur lesbar.  dconf will not work properly.
Okt 08 19:57:20 goliath geoclue[3331863]: unable to create directory '/var/lib/geoclue/.cache/dconf': Das Dateisystem ist nur lesbar.  dconf will not work properly.
Okt 08 19:57:20 goliath geoclue[3331863]: unable to create directory '/var/lib/geoclue/.cache/dconf': Das Dateisystem ist nur lesbar.  dconf will not work properly.
Okt 08 19:57:20 goliath geoclue[3331863]: Failed to query location: Failed to query location: Not Found
Okt 08 19:59:19 goliath systemd[1]: Started geoclue.service - Location Lookup Service.
Okt 08 19:59:41 goliath geoclue[3331863]: No feature manager for feature of type 'GProxyResolver'
Okt 08 19:59:41 goliath geoclue[3331863]: Failed to query location: Failed to query location: Not Found
Okt 08 20:02:22 goliath geoclue[3331863]: No feature manager for feature of type 'GProxyResolver'
Okt 08 20:02:22 goliath geoclue[3331863]: Failed to query location: Failed to query location: Not Found

in English there stands:

'/var/lib/geoclue/.cache/dconf': Filesystem Read-only

Now I fear, that my root partition is broken / faulty
My Distro is LMDE6, the filesystem is plain ext4. if you need more information, let me know

Edit: it's also encrypted via cryptsetup
 


I tried to own / create the path as the geoclue user and I was able to create the full path and "touch" a file. i am not sure if the filesystem ins read-only
 

Redshift​

Mozilla retired its location service: https://github.com/mozilla/ichnaea/issues/2065.

This service was used by Geoclue to give Redshift the geographical coordinates of the computer and determine local sunset and sunrise times.

Redshift can still be installed and used in manual mode by entering these coordinates in its configuration files but it's no longer useful out of the box for casual users.

apt install redshift-gtk
 
On mint not sure of other distros geoloacate has been dropped from the install But you can still use redshift by providing your location coordinates manually I do it on mint Cinnamon by editing the main menu (Redshift and adding the coordinates with a launch command similar to this.
Code:
redshif-gtk -l xx.xx:-xx.xx -t 6500:3300
Replace the xx's with your Lat and Long numbers.
or you can modify the redshift desktop file also in Mint it is found at
Code:
/home/kc1di/.local/share/applications/redshift-gtk.desktop
Change the exec= line by adding the lat & long number and color sturation you want so it look similar to this
Code:
Exec=redshift-gtk -l xx.xx:-xx.xx -t 6500:3300

Good luck.
 

Redshift​

Mozilla retired its location service: https://github.com/mozilla/ichnaea/issues/2065.

This service was used by Geoclue to give Redshift the geographical coordinates of the computer and determine local sunset and sunrise times.

Redshift can still be installed and used in manual mode by entering these coordinates in its configuration files but it's no longer useful out of the box for casual users.

apt install redshift-gtk
I already have redshift-gtk installed
 
On mint not sure of other distros geoloacate has been dropped from the install But you can still use redshift by providing your location coordinates manually I do it on mint Cinnamon by editing the main menu (Redshift and adding the coordinates with a launch command similar to this.
Code:
redshif-gtk -l xx.xx:-xx.xx -t 6500:3300
Replace the xx's with your Lat and Long numbers.
or you can modify the redshift desktop file also in Mint it is found at
Code:
/home/kc1di/.local/share/applications/redshift-gtk.desktop
Change the exec= line by adding the lat & long number and color sturation you want so it look similar to this
Code:
Exec=redshift-gtk -l xx.xx:-xx.xx -t 6500:3300

Good luck.
redshif-gtk -l xx.xx:-xx.xx -t 6500:3300 worked like charm, thanks. The ~/.local/share/applications/redshift-gtk.desktop isn't existing
 


Top