“Failed to start session” on login












0















I have a machine (let's name it my-machine), which runs Ubuntu 16.04.



my-machine is connected to LDAP, and I use an LDAP account to login to it. With my LDAP account, I use exclusively this machine.



However, today, I used my LDAP account to connect to another machine (let's call it second-machine), which runs Kubuntu.



After that, I am not able to login to my-machine anymore. The graphical user prompt prints error message Failed to start session.



However, when I switch to console, using ctrl + alt + F1, I still am able to login successfully.



Now, when listening to file /var/log/lightdm/lightdm.log in console, during a graphical login, here are the logs I see:



DEBUG: Authenticate result for user myuser: Success
DEBUG: User myuser authorized
DEBUG: Greeter requests default session
DEBUG: Seat seat0: Failed to find session configuration default
DEBUG: Seat seat0: Can't find session 'default'


Question



Why am I not anymore able to GUI-login on my Ubuntu machine?



How can I fix the problem?










share|improve this question







New contributor




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

























    0















    I have a machine (let's name it my-machine), which runs Ubuntu 16.04.



    my-machine is connected to LDAP, and I use an LDAP account to login to it. With my LDAP account, I use exclusively this machine.



    However, today, I used my LDAP account to connect to another machine (let's call it second-machine), which runs Kubuntu.



    After that, I am not able to login to my-machine anymore. The graphical user prompt prints error message Failed to start session.



    However, when I switch to console, using ctrl + alt + F1, I still am able to login successfully.



    Now, when listening to file /var/log/lightdm/lightdm.log in console, during a graphical login, here are the logs I see:



    DEBUG: Authenticate result for user myuser: Success
    DEBUG: User myuser authorized
    DEBUG: Greeter requests default session
    DEBUG: Seat seat0: Failed to find session configuration default
    DEBUG: Seat seat0: Can't find session 'default'


    Question



    Why am I not anymore able to GUI-login on my Ubuntu machine?



    How can I fix the problem?










    share|improve this question







    New contributor




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























      0












      0








      0








      I have a machine (let's name it my-machine), which runs Ubuntu 16.04.



      my-machine is connected to LDAP, and I use an LDAP account to login to it. With my LDAP account, I use exclusively this machine.



      However, today, I used my LDAP account to connect to another machine (let's call it second-machine), which runs Kubuntu.



      After that, I am not able to login to my-machine anymore. The graphical user prompt prints error message Failed to start session.



      However, when I switch to console, using ctrl + alt + F1, I still am able to login successfully.



      Now, when listening to file /var/log/lightdm/lightdm.log in console, during a graphical login, here are the logs I see:



      DEBUG: Authenticate result for user myuser: Success
      DEBUG: User myuser authorized
      DEBUG: Greeter requests default session
      DEBUG: Seat seat0: Failed to find session configuration default
      DEBUG: Seat seat0: Can't find session 'default'


      Question



      Why am I not anymore able to GUI-login on my Ubuntu machine?



      How can I fix the problem?










      share|improve this question







      New contributor




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












      I have a machine (let's name it my-machine), which runs Ubuntu 16.04.



      my-machine is connected to LDAP, and I use an LDAP account to login to it. With my LDAP account, I use exclusively this machine.



      However, today, I used my LDAP account to connect to another machine (let's call it second-machine), which runs Kubuntu.



      After that, I am not able to login to my-machine anymore. The graphical user prompt prints error message Failed to start session.



      However, when I switch to console, using ctrl + alt + F1, I still am able to login successfully.



      Now, when listening to file /var/log/lightdm/lightdm.log in console, during a graphical login, here are the logs I see:



      DEBUG: Authenticate result for user myuser: Success
      DEBUG: User myuser authorized
      DEBUG: Greeter requests default session
      DEBUG: Seat seat0: Failed to find session configuration default
      DEBUG: Seat seat0: Can't find session 'default'


      Question



      Why am I not anymore able to GUI-login on my Ubuntu machine?



      How can I fix the problem?







      16.04 kubuntu lightdm ldap






      share|improve this question







      New contributor




      Elouan Keryell-Even 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




      Elouan Keryell-Even 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






      New contributor




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









      asked 8 hours ago









      Elouan Keryell-EvenElouan Keryell-Even

      1011




      1011




      New contributor




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





      New contributor





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






      Elouan Keryell-Even 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














          Answering my own question



          It turns out logging into the Kubuntu machine added/modified a ~/.dmrc file in my LDAP home folder, with the following content:



          [Desktop]
          Session=default


          This is where the Can't find session 'default' log line comes from. Indeed, when taking a look at /usr/share/xsessions (as hinted in this post), the only file I find is



          /usr/share/xsessions/ubuntu.desktop


          Session default does not seem to exist.



          Modifying ~/.dmrc to Session=ubuntu fixed the GUI-login.






          share|improve this answer








          New contributor




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




















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


            }
            });






            Elouan Keryell-Even 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%2f1109685%2ffailed-to-start-session-on-login%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














            Answering my own question



            It turns out logging into the Kubuntu machine added/modified a ~/.dmrc file in my LDAP home folder, with the following content:



            [Desktop]
            Session=default


            This is where the Can't find session 'default' log line comes from. Indeed, when taking a look at /usr/share/xsessions (as hinted in this post), the only file I find is



            /usr/share/xsessions/ubuntu.desktop


            Session default does not seem to exist.



            Modifying ~/.dmrc to Session=ubuntu fixed the GUI-login.






            share|improve this answer








            New contributor




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

























              0














              Answering my own question



              It turns out logging into the Kubuntu machine added/modified a ~/.dmrc file in my LDAP home folder, with the following content:



              [Desktop]
              Session=default


              This is where the Can't find session 'default' log line comes from. Indeed, when taking a look at /usr/share/xsessions (as hinted in this post), the only file I find is



              /usr/share/xsessions/ubuntu.desktop


              Session default does not seem to exist.



              Modifying ~/.dmrc to Session=ubuntu fixed the GUI-login.






              share|improve this answer








              New contributor




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























                0












                0








                0







                Answering my own question



                It turns out logging into the Kubuntu machine added/modified a ~/.dmrc file in my LDAP home folder, with the following content:



                [Desktop]
                Session=default


                This is where the Can't find session 'default' log line comes from. Indeed, when taking a look at /usr/share/xsessions (as hinted in this post), the only file I find is



                /usr/share/xsessions/ubuntu.desktop


                Session default does not seem to exist.



                Modifying ~/.dmrc to Session=ubuntu fixed the GUI-login.






                share|improve this answer








                New contributor




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










                Answering my own question



                It turns out logging into the Kubuntu machine added/modified a ~/.dmrc file in my LDAP home folder, with the following content:



                [Desktop]
                Session=default


                This is where the Can't find session 'default' log line comes from. Indeed, when taking a look at /usr/share/xsessions (as hinted in this post), the only file I find is



                /usr/share/xsessions/ubuntu.desktop


                Session default does not seem to exist.



                Modifying ~/.dmrc to Session=ubuntu fixed the GUI-login.







                share|improve this answer








                New contributor




                Elouan Keryell-Even 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 answer



                share|improve this answer






                New contributor




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









                answered 8 hours ago









                Elouan Keryell-EvenElouan Keryell-Even

                1011




                1011




                New contributor




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





                New contributor





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






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






















                    Elouan Keryell-Even is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    Elouan Keryell-Even is a new contributor. Be nice, and check out our Code of Conduct.













                    Elouan Keryell-Even is a new contributor. Be nice, and check out our Code of Conduct.












                    Elouan Keryell-Even 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%2f1109685%2ffailed-to-start-session-on-login%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