polkit-gnome: Change After target (#7137)

Before this change, I was getting `cannot open display:` errors
This commit is contained in:
Lyndon Sanche
2025-05-27 18:14:03 -06:00
committed by GitHub
parent ad22169efa
commit f5b12be834
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ in
systemd.user.services.polkit-gnome = {
Unit = {
Description = "GNOME PolicyKit Agent";
After = [ "graphical-session-pre.target" ];
After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ];
};

View File

@@ -13,7 +13,7 @@
ExecStart=@polkit-gnome@/libexec/polkit-gnome-authentication-agent-1
[Unit]
After=graphical-session-pre.target
After=graphical-session.target
Description=GNOME PolicyKit Agent
PartOf=graphical-session.target
''}