You are not logged in.

#1 2021-08-03 23:03:11

dmi_dmi_dmi
Member
Registered: 2021-08-03
Posts: 4

[SOLVED] Why can I not login at tty1

tty1 shows

Starting version 294.2-1-arch

and nothing else while all others ttys (2-6) show login prompt and tty7 offers LightDM prompt

> systemctl status getty@tty1.service 
○ getty@tty1.service - Getty on tty1
     Loaded: loaded (/usr/lib/systemd/system/getty@.service; enabled; vendor preset: enabled)
     Active: inactive (dead)
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             http://0pointer.de/blog/projects/serial-console.html

If I try to enable tty1 it still doesn't work after reboot

systemctl enable getty@tty1.service 

The log shows following

> journalctl -u getty@tty1 -b -1
-- Journal begins at Thu 2021-07-29 06:53:47 +10, ends at Wed 2021-08-04 08:44:32 +10. --
aug 04 07:40:12 zephyrus systemd[1]: Started Getty on tty1.
aug 04 07:41:47 zephyrus systemd[1]: Stopping Getty on tty1...
aug 04 07:41:47 zephyrus systemd[1]: getty@tty1.service: Deactivated successfully.
aug 04 07:41:47 zephyrus systemd[1]: Stopped Getty on tty1.

I want to understand what is the reason behind tty1 deactivation

Last edited by dmi_dmi_dmi (2021-08-03 23:30:35)

Offline

#2 2021-08-03 23:06:22

loqs
Member
Registered: 2014-03-06
Posts: 19,008

Re: [SOLVED] Why can I not login at tty1

See the output of `systemctl cat lightdm.service` partitularly the Conflicts entry.

Offline

#3 2021-08-03 23:15:13

dmi_dmi_dmi
Member
Registered: 2021-08-03
Posts: 4

Re: [SOLVED] Why can I not login at tty1

loqs wrote:

See the output of `systemctl cat lightdm.service` partitularly the Conflicts entry.

Thanks - LightDM conflicts with getty@tty1 indeed.

Now this brings two other questions:
1. Why does LightDM want to deactivate tty1 while it is showing prompt on tty7?
2. How one would find which unit file lists given service in its `Conflicts` section in a general case?

Offline

#4 2021-08-03 23:21:51

loqs
Member
Registered: 2014-03-06
Posts: 19,008

Offline

Board footer

Powered by FluxBB