autorandr
autorandr copied to clipboard
systemd[1]: Failed to start autorandr.service - autorandr execution hook when switching from Windows 10 to Ubuntu
Good afternoon, I am running a Windows + Kubuntu 23.10 installation with Grub and I have discovered that my random autorandr errors happened everytime I switched OS. I have an RX6600 with the default drivers and KDE plasma if it helps. Here I leave some useful info:
sg@ubuntuPC:~$ journalctl -a -u autorandr.service
jul 30 18:06:26 ubuntuPC systemd[1]: Starting autorandr.service - autorandr execution hook...
jul 30 18:06:26 ubuntuPC systemd[1]: autorandr.service: Deactivated successfully.
jul 30 18:06:26 ubuntuPC systemd[1]: Finished autorandr.service - autorandr execution hook.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Start request repeated too quickly.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Failed with result 'start-limit-hit'.
jul 30 18:06:28 ubuntuPC systemd[1]: Failed to start autorandr.service - autorandr execution hook.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Start request repeated too quickly.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Failed with result 'start-limit-hit'.
jul 30 18:06:28 ubuntuPC systemd[1]: Failed to start autorandr.service - autorandr execution hook.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Start request repeated too quickly.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Failed with result 'start-limit-hit'.
jul 30 18:06:28 ubuntuPC systemd[1]: Failed to start autorandr.service - autorandr execution hook.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Start request repeated too quickly.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Failed with result 'start-limit-hit'.
/lib/systemd/system/autorandr.service:
[Unit]
Description=autorandr execution hook
After=sleep.target
StartLimitIntervalSec=5
StartLimitBurst=1
[Service]
ExecStart=/usr/bin/autorandr --batch --change --default default
Type=oneshot
RemainAfterExit=false
KillMode=process
[Install]
WantedBy=sleep.target