Not able to login into newly created user accountUbuntu gets stuck in a login loopUnable to login into my...

Has the Isbell–Freyd criterion ever been used to check that a category is concretisable?

Does Windows 10's telemetry include sending *.doc files if Word crashed?

Can chords be played on the flute?

What is better: yes / no radio, or simple checkbox?

How to approximate rolls for potions of healing using only d6's?

How can I make an algorithm in C++ for finding variations of a set without repetition (i.e. n elements, choose k)?

What can I substitute for soda pop in a sweet pork recipe?

Should I choose Itemized or Standard deduction?

Is there a way to help users from having to clicking emails twice before logging into a new sandbox

Activating a Alphanet Faucet Wallet Remotely (without tezos-client)

raspberry pi change directory (cd) command not working with USB drive

Eww, those bytes are gross

Do commercial flights continue with an engine out?

What's the rationale behind the objections to these measures against human trafficking?

How to satisfy a player character's curiosity about another player character?

Why do neural networks need so many training examples to perform?

What's a good word to describe a public place that looks like it wouldn't be rough?

How do I add a variable to this curl command?

On what did Lego base the appearance of the new Hogwarts minifigs?

What are these green text/line displays shown during the livestream of Crew Dragon's approach to dock with the ISS?

Can a person refuse a presidential pardon?

Walking in a rotating spacecraft and Newton's 3rd Law of Motion

If all harmonics are generated by plucking, how does a guitar string produce a pure frequency sound?

Criticizing long fiction. How is it different from short?



Not able to login into newly created user account


Ubuntu gets stuck in a login loopUnable to login into my user account12.04 User-account not listedUnable to login - account disabledLogging in the New Created User Ubuntu12.04 ltsLost user login on upgrade to Ubuntu 13.10New User Account has no password even sudo passwd accountnameCannot log into new user accountUser account not loading after installationunable to login into recently created administrative user accountKubuntu - newly created user delayed from showing













3















I created a new user account from System Settings > User Accounts.



I can log in to new user account from the terminal but I can't log in to user account from GUI.



When I try to log in to the newly created user account from GUI it doesn't show any error and goes back to the login window. (When I type a wrong password it shows the incorrect password error but when I enter the right password, it simply goes back to the login window without any message.)



I am using Ubuntu 14.04.4 LTS










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Probably wrong permissions on the new user's ~/.Xauthority

    – UniversallyUniqueID
    Apr 16 '16 at 7:00











  • @BharadwajRaju how to check .Xauthority permission for user?

    – Pragnesh Chauhan
    Apr 18 '16 at 3:56











  • Can this issue be locale-related, as mentioned here?

    – whtyger
    Apr 18 '16 at 19:49











  • Did you try all the solutions mentioned here?

    – Byte Commander
    Apr 20 '16 at 17:34











  • yes, I have tried that also, even I can't login with guest account

    – Pragnesh Chauhan
    Apr 22 '16 at 5:26
















3















I created a new user account from System Settings > User Accounts.



I can log in to new user account from the terminal but I can't log in to user account from GUI.



When I try to log in to the newly created user account from GUI it doesn't show any error and goes back to the login window. (When I type a wrong password it shows the incorrect password error but when I enter the right password, it simply goes back to the login window without any message.)



I am using Ubuntu 14.04.4 LTS










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Probably wrong permissions on the new user's ~/.Xauthority

    – UniversallyUniqueID
    Apr 16 '16 at 7:00











  • @BharadwajRaju how to check .Xauthority permission for user?

    – Pragnesh Chauhan
    Apr 18 '16 at 3:56











  • Can this issue be locale-related, as mentioned here?

    – whtyger
    Apr 18 '16 at 19:49











  • Did you try all the solutions mentioned here?

    – Byte Commander
    Apr 20 '16 at 17:34











  • yes, I have tried that also, even I can't login with guest account

    – Pragnesh Chauhan
    Apr 22 '16 at 5:26














3












3








3








I created a new user account from System Settings > User Accounts.



I can log in to new user account from the terminal but I can't log in to user account from GUI.



When I try to log in to the newly created user account from GUI it doesn't show any error and goes back to the login window. (When I type a wrong password it shows the incorrect password error but when I enter the right password, it simply goes back to the login window without any message.)



I am using Ubuntu 14.04.4 LTS










share|improve this question
















I created a new user account from System Settings > User Accounts.



I can log in to new user account from the terminal but I can't log in to user account from GUI.



When I try to log in to the newly created user account from GUI it doesn't show any error and goes back to the login window. (When I type a wrong password it shows the incorrect password error but when I enter the right password, it simply goes back to the login window without any message.)



I am using Ubuntu 14.04.4 LTS







14.04 login adduser






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 16 '16 at 8:16







Pragnesh Chauhan

















asked Apr 16 '16 at 6:18









Pragnesh ChauhanPragnesh Chauhan

8617




8617





bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1





    Probably wrong permissions on the new user's ~/.Xauthority

    – UniversallyUniqueID
    Apr 16 '16 at 7:00











  • @BharadwajRaju how to check .Xauthority permission for user?

    – Pragnesh Chauhan
    Apr 18 '16 at 3:56











  • Can this issue be locale-related, as mentioned here?

    – whtyger
    Apr 18 '16 at 19:49











  • Did you try all the solutions mentioned here?

    – Byte Commander
    Apr 20 '16 at 17:34











  • yes, I have tried that also, even I can't login with guest account

    – Pragnesh Chauhan
    Apr 22 '16 at 5:26














  • 1





    Probably wrong permissions on the new user's ~/.Xauthority

    – UniversallyUniqueID
    Apr 16 '16 at 7:00











  • @BharadwajRaju how to check .Xauthority permission for user?

    – Pragnesh Chauhan
    Apr 18 '16 at 3:56











  • Can this issue be locale-related, as mentioned here?

    – whtyger
    Apr 18 '16 at 19:49











  • Did you try all the solutions mentioned here?

    – Byte Commander
    Apr 20 '16 at 17:34











  • yes, I have tried that also, even I can't login with guest account

    – Pragnesh Chauhan
    Apr 22 '16 at 5:26








1




1





Probably wrong permissions on the new user's ~/.Xauthority

– UniversallyUniqueID
Apr 16 '16 at 7:00





Probably wrong permissions on the new user's ~/.Xauthority

– UniversallyUniqueID
Apr 16 '16 at 7:00













@BharadwajRaju how to check .Xauthority permission for user?

– Pragnesh Chauhan
Apr 18 '16 at 3:56





@BharadwajRaju how to check .Xauthority permission for user?

– Pragnesh Chauhan
Apr 18 '16 at 3:56













Can this issue be locale-related, as mentioned here?

– whtyger
Apr 18 '16 at 19:49





Can this issue be locale-related, as mentioned here?

– whtyger
Apr 18 '16 at 19:49













Did you try all the solutions mentioned here?

– Byte Commander
Apr 20 '16 at 17:34





Did you try all the solutions mentioned here?

– Byte Commander
Apr 20 '16 at 17:34













yes, I have tried that also, even I can't login with guest account

– Pragnesh Chauhan
Apr 22 '16 at 5:26





yes, I have tried that also, even I can't login with guest account

– Pragnesh Chauhan
Apr 22 '16 at 5:26










3 Answers
3






active

oldest

votes


















0














It seems like that account is disabled. Open the system settings, select the account, unlock changes. Look next to "password," and if it says "account disabled," click that and select an option. If that doesn't work, it is an issue I do not know how to fix. I was on 15.10, and all my logins broke. In that case, backup your computer, get a Live CD or USB from another computer, and reinstall Ubuntu. I had to do it. I hope it's the first.






share|improve this answer
























  • password is set so account is not disabled

    – Pragnesh Chauhan
    Apr 25 '16 at 5:40











  • Hi! I am sorry you are having trouble with your login. This is an issue I do not know how to fix. All I can suggest is to back up your data and re-install Ubuntu.

    – user531011
    Apr 26 '16 at 3:14











  • well, now I am shifted to xubuntu and it is working fine for me

    – Pragnesh Chauhan
    Apr 26 '16 at 6:38



















0














Had the same issue once I created a new user either via command line or the GUI. Everything would look like it created without any errors but when I tried to login it would blink to loading the desktop of a second then flip back to the login screen.



Looked and the useradd nor the GUI-Users both failed to create the users home folder '/home/$USER' so I copied another users folder:



cd /home
sudo cp -R bob $USER


Replacing bob with the name of the good users folder and replace $USER with the account name of the new user. Then you have to set the permissions to the new folder.



sudo chown -R $USER:$USER $USER


Replacing $USER with the account name of the new user again. So if the new account name was rsmith then it would look like this.



sudo chown -R rsmith:rsmith rsmith


This fixed my issue and allowed me to finally login as the new user.






share|improve this answer































    -1














    Maybe your home directory's permission is set to root thats why it goes back to login window. I also had the same problem a while ago, i can log in but after a seconds, it goes back to login window.



    try changing your home directory using your terminal:



    sudo chown -R $USER:$USER /home/user_name





    share|improve this answer


























    • That command changes all the permissions to root, why not do sudo chown -R $USER:$USER /home/$USER?

      – Zzzach...
      Apr 22 '16 at 21:58











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f757921%2fnot-able-to-login-into-newly-created-user-account%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    It seems like that account is disabled. Open the system settings, select the account, unlock changes. Look next to "password," and if it says "account disabled," click that and select an option. If that doesn't work, it is an issue I do not know how to fix. I was on 15.10, and all my logins broke. In that case, backup your computer, get a Live CD or USB from another computer, and reinstall Ubuntu. I had to do it. I hope it's the first.






    share|improve this answer
























    • password is set so account is not disabled

      – Pragnesh Chauhan
      Apr 25 '16 at 5:40











    • Hi! I am sorry you are having trouble with your login. This is an issue I do not know how to fix. All I can suggest is to back up your data and re-install Ubuntu.

      – user531011
      Apr 26 '16 at 3:14











    • well, now I am shifted to xubuntu and it is working fine for me

      – Pragnesh Chauhan
      Apr 26 '16 at 6:38
















    0














    It seems like that account is disabled. Open the system settings, select the account, unlock changes. Look next to "password," and if it says "account disabled," click that and select an option. If that doesn't work, it is an issue I do not know how to fix. I was on 15.10, and all my logins broke. In that case, backup your computer, get a Live CD or USB from another computer, and reinstall Ubuntu. I had to do it. I hope it's the first.






    share|improve this answer
























    • password is set so account is not disabled

      – Pragnesh Chauhan
      Apr 25 '16 at 5:40











    • Hi! I am sorry you are having trouble with your login. This is an issue I do not know how to fix. All I can suggest is to back up your data and re-install Ubuntu.

      – user531011
      Apr 26 '16 at 3:14











    • well, now I am shifted to xubuntu and it is working fine for me

      – Pragnesh Chauhan
      Apr 26 '16 at 6:38














    0












    0








    0







    It seems like that account is disabled. Open the system settings, select the account, unlock changes. Look next to "password," and if it says "account disabled," click that and select an option. If that doesn't work, it is an issue I do not know how to fix. I was on 15.10, and all my logins broke. In that case, backup your computer, get a Live CD or USB from another computer, and reinstall Ubuntu. I had to do it. I hope it's the first.






    share|improve this answer













    It seems like that account is disabled. Open the system settings, select the account, unlock changes. Look next to "password," and if it says "account disabled," click that and select an option. If that doesn't work, it is an issue I do not know how to fix. I was on 15.10, and all my logins broke. In that case, backup your computer, get a Live CD or USB from another computer, and reinstall Ubuntu. I had to do it. I hope it's the first.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Apr 24 '16 at 15:55







    user531011




















    • password is set so account is not disabled

      – Pragnesh Chauhan
      Apr 25 '16 at 5:40











    • Hi! I am sorry you are having trouble with your login. This is an issue I do not know how to fix. All I can suggest is to back up your data and re-install Ubuntu.

      – user531011
      Apr 26 '16 at 3:14











    • well, now I am shifted to xubuntu and it is working fine for me

      – Pragnesh Chauhan
      Apr 26 '16 at 6:38



















    • password is set so account is not disabled

      – Pragnesh Chauhan
      Apr 25 '16 at 5:40











    • Hi! I am sorry you are having trouble with your login. This is an issue I do not know how to fix. All I can suggest is to back up your data and re-install Ubuntu.

      – user531011
      Apr 26 '16 at 3:14











    • well, now I am shifted to xubuntu and it is working fine for me

      – Pragnesh Chauhan
      Apr 26 '16 at 6:38

















    password is set so account is not disabled

    – Pragnesh Chauhan
    Apr 25 '16 at 5:40





    password is set so account is not disabled

    – Pragnesh Chauhan
    Apr 25 '16 at 5:40













    Hi! I am sorry you are having trouble with your login. This is an issue I do not know how to fix. All I can suggest is to back up your data and re-install Ubuntu.

    – user531011
    Apr 26 '16 at 3:14





    Hi! I am sorry you are having trouble with your login. This is an issue I do not know how to fix. All I can suggest is to back up your data and re-install Ubuntu.

    – user531011
    Apr 26 '16 at 3:14













    well, now I am shifted to xubuntu and it is working fine for me

    – Pragnesh Chauhan
    Apr 26 '16 at 6:38





    well, now I am shifted to xubuntu and it is working fine for me

    – Pragnesh Chauhan
    Apr 26 '16 at 6:38













    0














    Had the same issue once I created a new user either via command line or the GUI. Everything would look like it created without any errors but when I tried to login it would blink to loading the desktop of a second then flip back to the login screen.



    Looked and the useradd nor the GUI-Users both failed to create the users home folder '/home/$USER' so I copied another users folder:



    cd /home
    sudo cp -R bob $USER


    Replacing bob with the name of the good users folder and replace $USER with the account name of the new user. Then you have to set the permissions to the new folder.



    sudo chown -R $USER:$USER $USER


    Replacing $USER with the account name of the new user again. So if the new account name was rsmith then it would look like this.



    sudo chown -R rsmith:rsmith rsmith


    This fixed my issue and allowed me to finally login as the new user.






    share|improve this answer




























      0














      Had the same issue once I created a new user either via command line or the GUI. Everything would look like it created without any errors but when I tried to login it would blink to loading the desktop of a second then flip back to the login screen.



      Looked and the useradd nor the GUI-Users both failed to create the users home folder '/home/$USER' so I copied another users folder:



      cd /home
      sudo cp -R bob $USER


      Replacing bob with the name of the good users folder and replace $USER with the account name of the new user. Then you have to set the permissions to the new folder.



      sudo chown -R $USER:$USER $USER


      Replacing $USER with the account name of the new user again. So if the new account name was rsmith then it would look like this.



      sudo chown -R rsmith:rsmith rsmith


      This fixed my issue and allowed me to finally login as the new user.






      share|improve this answer


























        0












        0








        0







        Had the same issue once I created a new user either via command line or the GUI. Everything would look like it created without any errors but when I tried to login it would blink to loading the desktop of a second then flip back to the login screen.



        Looked and the useradd nor the GUI-Users both failed to create the users home folder '/home/$USER' so I copied another users folder:



        cd /home
        sudo cp -R bob $USER


        Replacing bob with the name of the good users folder and replace $USER with the account name of the new user. Then you have to set the permissions to the new folder.



        sudo chown -R $USER:$USER $USER


        Replacing $USER with the account name of the new user again. So if the new account name was rsmith then it would look like this.



        sudo chown -R rsmith:rsmith rsmith


        This fixed my issue and allowed me to finally login as the new user.






        share|improve this answer













        Had the same issue once I created a new user either via command line or the GUI. Everything would look like it created without any errors but when I tried to login it would blink to loading the desktop of a second then flip back to the login screen.



        Looked and the useradd nor the GUI-Users both failed to create the users home folder '/home/$USER' so I copied another users folder:



        cd /home
        sudo cp -R bob $USER


        Replacing bob with the name of the good users folder and replace $USER with the account name of the new user. Then you have to set the permissions to the new folder.



        sudo chown -R $USER:$USER $USER


        Replacing $USER with the account name of the new user again. So if the new account name was rsmith then it would look like this.



        sudo chown -R rsmith:rsmith rsmith


        This fixed my issue and allowed me to finally login as the new user.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 30 '17 at 20:59









        Jaksh_EetJaksh_Eet

        1




        1























            -1














            Maybe your home directory's permission is set to root thats why it goes back to login window. I also had the same problem a while ago, i can log in but after a seconds, it goes back to login window.



            try changing your home directory using your terminal:



            sudo chown -R $USER:$USER /home/user_name





            share|improve this answer


























            • That command changes all the permissions to root, why not do sudo chown -R $USER:$USER /home/$USER?

              – Zzzach...
              Apr 22 '16 at 21:58
















            -1














            Maybe your home directory's permission is set to root thats why it goes back to login window. I also had the same problem a while ago, i can log in but after a seconds, it goes back to login window.



            try changing your home directory using your terminal:



            sudo chown -R $USER:$USER /home/user_name





            share|improve this answer


























            • That command changes all the permissions to root, why not do sudo chown -R $USER:$USER /home/$USER?

              – Zzzach...
              Apr 22 '16 at 21:58














            -1












            -1








            -1







            Maybe your home directory's permission is set to root thats why it goes back to login window. I also had the same problem a while ago, i can log in but after a seconds, it goes back to login window.



            try changing your home directory using your terminal:



            sudo chown -R $USER:$USER /home/user_name





            share|improve this answer















            Maybe your home directory's permission is set to root thats why it goes back to login window. I also had the same problem a while ago, i can log in but after a seconds, it goes back to login window.



            try changing your home directory using your terminal:



            sudo chown -R $USER:$USER /home/user_name






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 23 '16 at 5:07

























            answered Apr 22 '16 at 11:11









            florentine franciscoflorentine francisco

            652210




            652210













            • That command changes all the permissions to root, why not do sudo chown -R $USER:$USER /home/$USER?

              – Zzzach...
              Apr 22 '16 at 21:58



















            • That command changes all the permissions to root, why not do sudo chown -R $USER:$USER /home/$USER?

              – Zzzach...
              Apr 22 '16 at 21:58

















            That command changes all the permissions to root, why not do sudo chown -R $USER:$USER /home/$USER?

            – Zzzach...
            Apr 22 '16 at 21:58





            That command changes all the permissions to root, why not do sudo chown -R $USER:$USER /home/$USER?

            – Zzzach...
            Apr 22 '16 at 21:58


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f757921%2fnot-able-to-login-into-newly-created-user-account%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

            Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

            Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...