Can't log in to Kali with a user who is not the root user

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm using Kali Linux with Virtual Box, after the installation I made another user with useradd and passwd commands, but I can't Log in... If I put the credentials of this account during the Log in, then the Log in screen is loaded again.



I've tried 2 "solutions" I've found...



1.



During Log in screen Ctrl + Alt + F2 and then:



dpkg --configure -a
apt-get update
apt-get upgrade
reboot


2.



In /etc/X11/Xwrapper.config changed the following entry:



allowed_users=console


to



allowed_users=anybody


But none worked for me...



The only weird thing I noticed was that at the beginning (I mean, the first time I logged in after the installation) /etc/apt/sources.list was empty (it only had 2 commented lines), so I added deb:http://http/kali.org/kali kali-rolling main contrib non-free manually.










share|improve this question

























    up vote
    0
    down vote

    favorite












    I'm using Kali Linux with Virtual Box, after the installation I made another user with useradd and passwd commands, but I can't Log in... If I put the credentials of this account during the Log in, then the Log in screen is loaded again.



    I've tried 2 "solutions" I've found...



    1.



    During Log in screen Ctrl + Alt + F2 and then:



    dpkg --configure -a
    apt-get update
    apt-get upgrade
    reboot


    2.



    In /etc/X11/Xwrapper.config changed the following entry:



    allowed_users=console


    to



    allowed_users=anybody


    But none worked for me...



    The only weird thing I noticed was that at the beginning (I mean, the first time I logged in after the installation) /etc/apt/sources.list was empty (it only had 2 commented lines), so I added deb:http://http/kali.org/kali kali-rolling main contrib non-free manually.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm using Kali Linux with Virtual Box, after the installation I made another user with useradd and passwd commands, but I can't Log in... If I put the credentials of this account during the Log in, then the Log in screen is loaded again.



      I've tried 2 "solutions" I've found...



      1.



      During Log in screen Ctrl + Alt + F2 and then:



      dpkg --configure -a
      apt-get update
      apt-get upgrade
      reboot


      2.



      In /etc/X11/Xwrapper.config changed the following entry:



      allowed_users=console


      to



      allowed_users=anybody


      But none worked for me...



      The only weird thing I noticed was that at the beginning (I mean, the first time I logged in after the installation) /etc/apt/sources.list was empty (it only had 2 commented lines), so I added deb:http://http/kali.org/kali kali-rolling main contrib non-free manually.










      share|improve this question













      I'm using Kali Linux with Virtual Box, after the installation I made another user with useradd and passwd commands, but I can't Log in... If I put the credentials of this account during the Log in, then the Log in screen is loaded again.



      I've tried 2 "solutions" I've found...



      1.



      During Log in screen Ctrl + Alt + F2 and then:



      dpkg --configure -a
      apt-get update
      apt-get upgrade
      reboot


      2.



      In /etc/X11/Xwrapper.config changed the following entry:



      allowed_users=console


      to



      allowed_users=anybody


      But none worked for me...



      The only weird thing I noticed was that at the beginning (I mean, the first time I logged in after the installation) /etc/apt/sources.list was empty (it only had 2 commented lines), so I added deb:http://http/kali.org/kali kali-rolling main contrib non-free manually.







      kali-linux






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 2 '17 at 0:19









      OiciTrap

      13616




      13616




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          Maybe you haven't used the right useradd combination, have you added your extra user to the respective groups? usually lp wheel video audio cdrom input usb and have you created it's home directory with -d.



          Hope it helps






          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%2f395540%2fcant-log-in-to-kali-with-a-user-who-is-not-the-root-user%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













            Maybe you haven't used the right useradd combination, have you added your extra user to the respective groups? usually lp wheel video audio cdrom input usb and have you created it's home directory with -d.



            Hope it helps






            share|improve this answer


























              up vote
              1
              down vote













              Maybe you haven't used the right useradd combination, have you added your extra user to the respective groups? usually lp wheel video audio cdrom input usb and have you created it's home directory with -d.



              Hope it helps






              share|improve this answer
























                up vote
                1
                down vote










                up vote
                1
                down vote









                Maybe you haven't used the right useradd combination, have you added your extra user to the respective groups? usually lp wheel video audio cdrom input usb and have you created it's home directory with -d.



                Hope it helps






                share|improve this answer














                Maybe you haven't used the right useradd combination, have you added your extra user to the respective groups? usually lp wheel video audio cdrom input usb and have you created it's home directory with -d.



                Hope it helps







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Oct 3 '17 at 6:43









                GAD3R

                22.7k154895




                22.7k154895










                answered Oct 2 '17 at 1:04









                Christopher Díaz Riveros

                1,238314




                1,238314



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f395540%2fcant-log-in-to-kali-with-a-user-who-is-not-the-root-user%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?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?