Avoid enabling getty@tty1.service when enabling xfce
This commit is contained in:
parent
3859d5f68d
commit
dff1cffcaf
|
|
@ -15,6 +15,10 @@ in {
|
|||
description = "XFCE Desktop Environment";
|
||||
after = [ "getty.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
# XFCE needs exclusive access to tty1 to prevent the getty login prompt
|
||||
# from interfering with the graphical display. This conflict ensures
|
||||
# that getty@tty1.service does not run alongside the XFCE desktop.
|
||||
conflicts = [ "getty@tty1.service" ];
|
||||
serviceConfig = {
|
||||
Environment = "DISPLAY=:0";
|
||||
ExecStart = "${startXfce}/bin/start_xfce";
|
||||
|
|
|
|||
Loading…
Reference in New Issue