diff --git a/extra/latchd.pam b/extra/latchd.pam new file mode 100644 index 0000000..fef863f --- /dev/null +++ b/extra/latchd.pam @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include login +account include login +session include login +password include login diff --git a/extra/latchd.service b/extra/latchd.service new file mode 100644 index 0000000..27e4bb7 --- /dev/null +++ b/extra/latchd.service @@ -0,0 +1,15 @@ +[Unit] +Description=latchd display manager +After=systemd-user-sessions.service plymouth-quit-wait.service getty@tty2.service +Conflicts=getty@tty2.service + +[Service] +ExecStart=/usr/bin/latchd +StandardInput=tty +TTYPath=/dev/tty2 +TTYReset=yes +TTYVHangup=yes +Type=idle + +[Install] +Alias=display-manager.service