unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* TTY auto-login broken
@ 2024-01-14 15:31 Christian Miller
  2024-01-14 20:24 ` Joshua Branson
  2024-11-24 14:41 ` Tomas Volf
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Miller @ 2024-01-14 15:31 UTC (permalink / raw)
  To: guix-devel

Hello,

this is how I configured my system:

(modify-services %desktop-services
  (delete gdm-service-type)
  (mingetty-service-type config =>
    (mingetty-configuration
      (inherit config)
      (auto-login "cm")
      ;; TODO: Work around to fix "Error in service module"
      (login-pause? #t))))

Without the (login-pause? #t) I would get "Error in service module" as
an error message in my TTY and can't use the system.

There is also someone else with that issue[0]

I asked on the IRC[1] some time ago (somenickname was me in that case)
and nckx had an assumption why this is happening.

[0]: https://issues.guix.gnu.org/68384
[1]: https://logs.guix.gnu.org/guix/2023-09-28.log#211350

-- 
Christian Miller


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

* Re: TTY auto-login broken
  2024-01-14 15:31 TTY auto-login broken Christian Miller
@ 2024-01-14 20:24 ` Joshua Branson
  2024-11-24 14:41 ` Tomas Volf
  1 sibling, 0 replies; 3+ messages in thread
From: Joshua Branson @ 2024-01-14 20:24 UTC (permalink / raw)
  To: Christian Miller; +Cc: guix-devel

Christian Miller <christian.miller@dadoes.de> writes:

> Hello,
>
> this is how I configured my system:
>
> (modify-services %desktop-services
>   (delete gdm-service-type)
>   (mingetty-service-type config =>
>     (mingetty-configuration
>       (inherit config)
>       (auto-login "cm")
>       ;; TODO: Work around to fix "Error in service module"
>       (login-pause? #t))))
>
> Without the (login-pause? #t) I would get "Error in service module" as
> an error message in my TTY and can't use the system.
>
> There is also someone else with that issue[0]
>
> I asked on the IRC[1] some time ago (somenickname was me in that case)
> and nckx had an assumption why this is happening.
>
> [0]: https://issues.guix.gnu.org/68384
> [1]: https://logs.guix.gnu.org/guix/2023-09-28.log#211350

Also the cookbook describes something similar and it is apparently not
working anymore either.  I've reported it some time ago.

https://issues.guix.gnu.org/56958

Thanks,

Joshua

-- 

Joshua Branson
Sent from the Hurd


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

* Re: TTY auto-login broken
  2024-01-14 15:31 TTY auto-login broken Christian Miller
  2024-01-14 20:24 ` Joshua Branson
@ 2024-11-24 14:41 ` Tomas Volf
  1 sibling, 0 replies; 3+ messages in thread
From: Tomas Volf @ 2024-11-24 14:41 UTC (permalink / raw)
  To: Christian Miller; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1795 bytes --]

Hi,

Christian Miller <christian.miller@dadoes.de> writes:

> Hello,
>
> this is how I configured my system:
>
> (modify-services %desktop-services
>   (delete gdm-service-type)
>   (mingetty-service-type config =>
>     (mingetty-configuration
>       (inherit config)
>       (auto-login "cm")
>       ;; TODO: Work around to fix "Error in service module"
>       (login-pause? #t))))
>
> Without the (login-pause? #t) I would get "Error in service module" as
> an error message in my TTY and can't use the system.
>
> There is also someone else with that issue[0]
>
> I asked on the IRC[1] some time ago (somenickname was me in that case)
> and nckx had an assumption why this is happening.
>
> [0]: https://issues.guix.gnu.org/68384
> [1]: https://logs.guix.gnu.org/guix/2023-09-28.log#211350

I just send a two-patch series[0] that allows this to be solved.  If it
is merged, it will allow to do the following:

--8<---------------cut here---------------start------------->8---
(modify-services (operating-system-user-services %basic-os)
  (mingetty-service-type config =>
                         (mingetty-configuration
                          (inherit config)
                          (auto-login "user")
                          (shepherd-requirement
                           (cons 'dbus-system
                                 (mingetty-configuration-shepherd-requirement
                                  config))))))
--8<---------------cut here---------------end--------------->8---

At least in QEMU it seems to solve the issue.

Have a nice day,
Tomas

0: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74508

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

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

end of thread, other threads:[~2024-11-24 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-14 15:31 TTY auto-login broken Christian Miller
2024-01-14 20:24 ` Joshua Branson
2024-11-24 14:41 ` Tomas Volf

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).