diff --git a/plasma-mobile.service b/plasma-mobile.service index 51944625..92945d00 100644 --- a/plasma-mobile.service +++ b/plasma-mobile.service @@ -3,14 +3,14 @@ Description=Open-source user interface for phones, based on Plasma technologies Documentation=https://invent.kde.org/plasma-mobile # replaces the getty -Conflicts=getty@tty7.service -After=getty@tty7.service +Conflicts=getty@tty1.service +After=getty@tty1.service # Needs all the dependencies of the services it's replacing # (currently getty@tty1.service): After=rc-local.service plymouth-quit-wait.service systemd-user-sessions.service -OnFailure=getty@tty7.service +OnFailure=getty@tty1.service # D-Bus is necessary for contacting logind. Logind is required. Wants=dbus.socket @@ -31,7 +31,7 @@ ConditionPathExists=/dev/tty0 [Service] Environment=LANG=C.UTF-8 Environment=XDG_SEAT=seat0 -Environment=XDG_VTNR=tty7 +Environment=XDG_VTNR=tty1 ExecStart=/usr/bin/startplasmamobile TimeoutStartSec=30 User=1000 @@ -41,7 +41,7 @@ Restart=always RestartSec=5s # A virtual terminal is needed. -TTYPath=/dev/tty7 +TTYPath=/dev/tty1 TTYReset=yes TTYVHangup=yes TTYVTDisallocate=yes @@ -52,7 +52,7 @@ StandardOutput=journal StandardError=journal # Log this user with utmp, letting it show up with commands 'w' and 'who'. -UtmpIdentifier=tty7 +UtmpIdentifier=tty1 UtmpMode=user [Install]