After adding a new user, its not possible to login via the gui with that user












1















I cannot login via the gui with a new user account I created in ubuntu 16.0.4.5



I've read alot of other threads that are similar to this problem, but nothing I've tried has worked.



The user has been added with a custom uid and gid - both 789.
The new user doesn't have a .Xauthority file in its home dir.
I attempted to remove the user and add it again with adduser but without luck.



The original user created during installation of ubuntu 16.04.5 is able to login to the gui without any problems.



I have tried uninstalling, reinstalling, and restarting the service lightdm without any luck.



I should also add that the new user has these permissions on its homedir, same as the other functioning user. drwxr-xr-x. Also I forgot to mention that on the login screen, the new users name is not displayed at all as an option, only the original user during installation and "guest" are available.










share|improve this question









New contributor




openCivilisation is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    I cannot login via the gui with a new user account I created in ubuntu 16.0.4.5



    I've read alot of other threads that are similar to this problem, but nothing I've tried has worked.



    The user has been added with a custom uid and gid - both 789.
    The new user doesn't have a .Xauthority file in its home dir.
    I attempted to remove the user and add it again with adduser but without luck.



    The original user created during installation of ubuntu 16.04.5 is able to login to the gui without any problems.



    I have tried uninstalling, reinstalling, and restarting the service lightdm without any luck.



    I should also add that the new user has these permissions on its homedir, same as the other functioning user. drwxr-xr-x. Also I forgot to mention that on the login screen, the new users name is not displayed at all as an option, only the original user during installation and "guest" are available.










    share|improve this question









    New contributor




    openCivilisation is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I cannot login via the gui with a new user account I created in ubuntu 16.0.4.5



      I've read alot of other threads that are similar to this problem, but nothing I've tried has worked.



      The user has been added with a custom uid and gid - both 789.
      The new user doesn't have a .Xauthority file in its home dir.
      I attempted to remove the user and add it again with adduser but without luck.



      The original user created during installation of ubuntu 16.04.5 is able to login to the gui without any problems.



      I have tried uninstalling, reinstalling, and restarting the service lightdm without any luck.



      I should also add that the new user has these permissions on its homedir, same as the other functioning user. drwxr-xr-x. Also I forgot to mention that on the login screen, the new users name is not displayed at all as an option, only the original user during installation and "guest" are available.










      share|improve this question









      New contributor




      openCivilisation is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I cannot login via the gui with a new user account I created in ubuntu 16.0.4.5



      I've read alot of other threads that are similar to this problem, but nothing I've tried has worked.



      The user has been added with a custom uid and gid - both 789.
      The new user doesn't have a .Xauthority file in its home dir.
      I attempted to remove the user and add it again with adduser but without luck.



      The original user created during installation of ubuntu 16.04.5 is able to login to the gui without any problems.



      I have tried uninstalling, reinstalling, and restarting the service lightdm without any luck.



      I should also add that the new user has these permissions on its homedir, same as the other functioning user. drwxr-xr-x. Also I forgot to mention that on the login screen, the new users name is not displayed at all as an option, only the original user during installation and "guest" are available.







      login lightdm gui






      share|improve this question









      New contributor




      openCivilisation is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      openCivilisation is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 7 mins ago







      openCivilisation













      New contributor




      openCivilisation is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 12 mins ago









      openCivilisationopenCivilisation

      61




      61




      New contributor




      openCivilisation is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      openCivilisation is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      openCivilisation is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Unix-like systems including Linux derive some special meaning from user IDs of less than 1000. Here is a Unix Stack Exchange answer that explains some of the speciifcs, and a quick summary:




          • Less than 50 to 99 == high risks of conflicts with system applications

          • Less than 499 = risk of conflicts with programs

          • Less than 1000 = small risk of conflicts with programs

          • For network UID systems, you want to use only high numbers


          Looking at the lightdm source code it does seem to treat UIDs below 1000 as "system" accounts and I found this question which provides information on a config file to specify the minimum user ID, which probably defaults to 1000:



          How to make users with UID under 1000 appear in LightDM?





          share























            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
            });


            }
            });






            openCivilisation is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112698%2fafter-adding-a-new-user-its-not-possible-to-login-via-the-gui-with-that-user%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Unix-like systems including Linux derive some special meaning from user IDs of less than 1000. Here is a Unix Stack Exchange answer that explains some of the speciifcs, and a quick summary:




            • Less than 50 to 99 == high risks of conflicts with system applications

            • Less than 499 = risk of conflicts with programs

            • Less than 1000 = small risk of conflicts with programs

            • For network UID systems, you want to use only high numbers


            Looking at the lightdm source code it does seem to treat UIDs below 1000 as "system" accounts and I found this question which provides information on a config file to specify the minimum user ID, which probably defaults to 1000:



            How to make users with UID under 1000 appear in LightDM?





            share




























              0














              Unix-like systems including Linux derive some special meaning from user IDs of less than 1000. Here is a Unix Stack Exchange answer that explains some of the speciifcs, and a quick summary:




              • Less than 50 to 99 == high risks of conflicts with system applications

              • Less than 499 = risk of conflicts with programs

              • Less than 1000 = small risk of conflicts with programs

              • For network UID systems, you want to use only high numbers


              Looking at the lightdm source code it does seem to treat UIDs below 1000 as "system" accounts and I found this question which provides information on a config file to specify the minimum user ID, which probably defaults to 1000:



              How to make users with UID under 1000 appear in LightDM?





              share


























                0












                0








                0







                Unix-like systems including Linux derive some special meaning from user IDs of less than 1000. Here is a Unix Stack Exchange answer that explains some of the speciifcs, and a quick summary:




                • Less than 50 to 99 == high risks of conflicts with system applications

                • Less than 499 = risk of conflicts with programs

                • Less than 1000 = small risk of conflicts with programs

                • For network UID systems, you want to use only high numbers


                Looking at the lightdm source code it does seem to treat UIDs below 1000 as "system" accounts and I found this question which provides information on a config file to specify the minimum user ID, which probably defaults to 1000:



                How to make users with UID under 1000 appear in LightDM?





                share













                Unix-like systems including Linux derive some special meaning from user IDs of less than 1000. Here is a Unix Stack Exchange answer that explains some of the speciifcs, and a quick summary:




                • Less than 50 to 99 == high risks of conflicts with system applications

                • Less than 499 = risk of conflicts with programs

                • Less than 1000 = small risk of conflicts with programs

                • For network UID systems, you want to use only high numbers


                Looking at the lightdm source code it does seem to treat UIDs below 1000 as "system" accounts and I found this question which provides information on a config file to specify the minimum user ID, which probably defaults to 1000:



                How to make users with UID under 1000 appear in LightDM?






                share











                share


                share










                answered 1 min ago









                Kristopher IvesKristopher Ives

                2,09211117




                2,09211117






















                    openCivilisation is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    openCivilisation is a new contributor. Be nice, and check out our Code of Conduct.













                    openCivilisation is a new contributor. Be nice, and check out our Code of Conduct.












                    openCivilisation is a new contributor. Be nice, and check out our Code of Conduct.
















                    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%2f1112698%2fafter-adding-a-new-user-its-not-possible-to-login-via-the-gui-with-that-user%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

                    GameSpot

                    connect to host localhost port 22: Connection refused

                    Getting a Wifi WPA2 wifi connection