tty1 missing login prompt
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a clean Debian Stretch installation. It used to be the case that after booting I would end up on tty1 with a login prompt, and after logging X is started. I wanted to automate the logging in (because I'm the only user and my disk is encrypted already) so I followed the exact instructions given here:
- In
/etc/systemd/logind.conf
, changed#NAutoVTs=6
toNAutoVTs=1
Used
systemctl edit getty@tty1
and added (whereusername
is my username):[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin username --noclear %I 38400 linux- Enabled the service:
systemctl enable getty@tty1.service
After rebooting, the login prompt was gone from tty1 and nothing else happened. It still showed the boot log. On tty2-5, only a cursor appeared, no login prompt as before. Luckily, tty6 was still available to recover the system. So I did:
- Disable the service:
systemctl disable getty@tty1.service
- Undid the change to
/etc/systemd/logind.conf
Now, I can use all ttys except tty1 to login as normally, but somehow tty1 remains damaged. How can I repair this as well?
debian login tty getty agetty
add a comment |Â
up vote
0
down vote
favorite
I have a clean Debian Stretch installation. It used to be the case that after booting I would end up on tty1 with a login prompt, and after logging X is started. I wanted to automate the logging in (because I'm the only user and my disk is encrypted already) so I followed the exact instructions given here:
- In
/etc/systemd/logind.conf
, changed#NAutoVTs=6
toNAutoVTs=1
Used
systemctl edit getty@tty1
and added (whereusername
is my username):[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin username --noclear %I 38400 linux- Enabled the service:
systemctl enable getty@tty1.service
After rebooting, the login prompt was gone from tty1 and nothing else happened. It still showed the boot log. On tty2-5, only a cursor appeared, no login prompt as before. Luckily, tty6 was still available to recover the system. So I did:
- Disable the service:
systemctl disable getty@tty1.service
- Undid the change to
/etc/systemd/logind.conf
Now, I can use all ttys except tty1 to login as normally, but somehow tty1 remains damaged. How can I repair this as well?
debian login tty getty agetty
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a clean Debian Stretch installation. It used to be the case that after booting I would end up on tty1 with a login prompt, and after logging X is started. I wanted to automate the logging in (because I'm the only user and my disk is encrypted already) so I followed the exact instructions given here:
- In
/etc/systemd/logind.conf
, changed#NAutoVTs=6
toNAutoVTs=1
Used
systemctl edit getty@tty1
and added (whereusername
is my username):[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin username --noclear %I 38400 linux- Enabled the service:
systemctl enable getty@tty1.service
After rebooting, the login prompt was gone from tty1 and nothing else happened. It still showed the boot log. On tty2-5, only a cursor appeared, no login prompt as before. Luckily, tty6 was still available to recover the system. So I did:
- Disable the service:
systemctl disable getty@tty1.service
- Undid the change to
/etc/systemd/logind.conf
Now, I can use all ttys except tty1 to login as normally, but somehow tty1 remains damaged. How can I repair this as well?
debian login tty getty agetty
I have a clean Debian Stretch installation. It used to be the case that after booting I would end up on tty1 with a login prompt, and after logging X is started. I wanted to automate the logging in (because I'm the only user and my disk is encrypted already) so I followed the exact instructions given here:
- In
/etc/systemd/logind.conf
, changed#NAutoVTs=6
toNAutoVTs=1
Used
systemctl edit getty@tty1
and added (whereusername
is my username):[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin username --noclear %I 38400 linux- Enabled the service:
systemctl enable getty@tty1.service
After rebooting, the login prompt was gone from tty1 and nothing else happened. It still showed the boot log. On tty2-5, only a cursor appeared, no login prompt as before. Luckily, tty6 was still available to recover the system. So I did:
- Disable the service:
systemctl disable getty@tty1.service
- Undid the change to
/etc/systemd/logind.conf
Now, I can use all ttys except tty1 to login as normally, but somehow tty1 remains damaged. How can I repair this as well?
debian login tty getty agetty
debian login tty getty agetty
asked Aug 31 at 18:00
Keelan
63131025
63131025
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
You should enable the getty@tty1.service
again:
systemctl enable getty@tty1.service
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
You should enable the getty@tty1.service
again:
systemctl enable getty@tty1.service
add a comment |Â
up vote
1
down vote
accepted
You should enable the getty@tty1.service
again:
systemctl enable getty@tty1.service
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
You should enable the getty@tty1.service
again:
systemctl enable getty@tty1.service
You should enable the getty@tty1.service
again:
systemctl enable getty@tty1.service
answered Sep 1 at 10:27
GAD3R
22.9k164895
22.9k164895
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f466088%2ftty1-missing-login-prompt%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password