tty1 missing login prompt

The name of the pictureThe name of the pictureThe name of the pictureClash 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 to NAutoVTs=1


  • Used systemctl edit getty@tty1 and added (where username 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?










share|improve this question

























    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 to NAutoVTs=1


    • Used systemctl edit getty@tty1 and added (where username 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?










    share|improve this question























      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 to NAutoVTs=1


      • Used systemctl edit getty@tty1 and added (where username 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?










      share|improve this question













      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 to NAutoVTs=1


      • Used systemctl edit getty@tty1 and added (where username 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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 31 at 18:00









      Keelan

      63131025




      63131025




















          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





          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            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






























            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





            share|improve this answer
























              up vote
              1
              down vote



              accepted










              You should enable the getty@tty1.service again:



              systemctl enable getty@tty1.service





              share|improve this answer






















                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





                share|improve this answer












                You should enable the getty@tty1.service again:



                systemctl enable getty@tty1.service






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 1 at 10:27









                GAD3R

                22.9k164895




                22.9k164895



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    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













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay