unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Auto login stopped working
@ 2024-11-04  4:29 Fredrik Salomonsson
  2024-11-05 17:43 ` Rutherther
  0 siblings, 1 reply; 3+ messages in thread
From: Fredrik Salomonsson @ 2024-11-04  4:29 UTC (permalink / raw)
  To: help-guix

Hi Guix,

A few weeks back the auto-login for my media machine stopped working.  I
can still login fine with the user — `htpc`.  I've been scratching my
head on what could be the issue.  I followed the suggestion in the cookbook:

```
;; From cookbook [0]
;; [0] https://guix.gnu.org/cookbook/en/html_node/Auto_002dLogin-to-a-Specific-TTY.html
(define (auto-login-to-tty config tty user)
  (if (string=? tty (mingetty-configuration-tty config))
        (mingetty-configuration
         (inherit config)
         (auto-login user))
        config))

 (modify-services
          %plt-base-services
        (mingetty-service-type
         config => (auto-login-to-tty
                    config "tty3" "htpc")))
```

Checking the `/var/log/secure` all I see is:

```
Nov  2 13:03:16 localhost login[269]: pam_elogind(login:session): Failed to connect to system bus: No such file or directory
Nov  2 13:03:16 localhost login[269]: pam_unix(login:session): session opened for user htpc(uid=1010) by LOGIN(uid=0)
Nov  2 13:03:16 localhost login[269]: Error in service module
```

elogind and dbus-system is running, and it works fine if I manually
login on another tty, tty3 just shows the `Error in service module`
message.  Anyone know what could be the issue?

Thanks

-- 
s/Fred[re]+i[ck]+/Fredrik/g


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-05 23:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04  4:29 Auto login stopped working Fredrik Salomonsson
2024-11-05 17:43 ` Rutherther
2024-11-05 23:50   ` Fredrik Salomonsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).