Can't login after removing FlatpakLogin failure after new installUbuntu 11.10 won't let me login; it kicks me back to login screenBlack screen after login on main account, after LaTex install failedMouse and Keyboard suddenly don't work upon loginDell XPS13 9360 stuck at login after update to Ubuntu 17.04 because keyboard and mouse don't workUbuntu 18.04 Login window loopExtensions Ubuntu Dock and Ubuntu Appindicators not working after upgrade to 19.04main sound device disappear after sleep modeDramatic Slowdown After 19.04 UpdateNvidia driver issues after installing 19.04 on Asus UX433F

Implementation of the Jacobi Symbol in C

Am I legally required to provide a (GPL licensed) source code even after a project is abandoned?

Justifying Affordable Bespoke Spaceships

Why there is a red color in right side?

"Correct me if I'm wrong"

Examples of protocols that are insecure when run concurrently

Help with coding a matrix

How are で and いう being used in this context?

How to sort human readable size

Print the new site header

King or Queen-Which piece is which?

How would one carboxylate CBG into its acid form, CBGA?

What is this plant I saw for sale at a Romanian farmer's market?

How to write a nice frame challenge?

How do you transpose samples in cents?

I calculated that we should be able to see the sun well beyond the observable universe. Where did I go wrong?

Boundaries and Buddhism

Does there exist a non-trivial group that is both perfect and complete?

reverse a call to mmap()

How can a warlock learn from a spellbook?

Math symbols in math operators

Setting up the trap

Predict the product from the reaction

Time at 1 g acceleration to travel 100 000 light years



Can't login after removing Flatpak


Login failure after new installUbuntu 11.10 won't let me login; it kicks me back to login screenBlack screen after login on main account, after LaTex install failedMouse and Keyboard suddenly don't work upon loginDell XPS13 9360 stuck at login after update to Ubuntu 17.04 because keyboard and mouse don't workUbuntu 18.04 Login window loopExtensions Ubuntu Dock and Ubuntu Appindicators not working after upgrade to 19.04main sound device disappear after sleep modeDramatic Slowdown After 19.04 UpdateNvidia driver issues after installing 19.04 on Asus UX433F






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















I had installed flatpak to run an application. Since it didn't quite work, I removed it using the following command:



sudo apt remove flatpak


On restart, I'm getting the error below. There is an OK button, but I can't hit it and can't even get to the desktop. The mouse isn't working and neither is the keyboard.



I am running Ubuntu 19.04. Here is the error:



Error found when loading /etc/profile:

/etc/profile.d/flatpak.sh: line25: flatpak: command not found

As a result the session will not be configured correctly.
You should fix the problem as soon as feasibile.









share|improve this question






























    4















    I had installed flatpak to run an application. Since it didn't quite work, I removed it using the following command:



    sudo apt remove flatpak


    On restart, I'm getting the error below. There is an OK button, but I can't hit it and can't even get to the desktop. The mouse isn't working and neither is the keyboard.



    I am running Ubuntu 19.04. Here is the error:



    Error found when loading /etc/profile:

    /etc/profile.d/flatpak.sh: line25: flatpak: command not found

    As a result the session will not be configured correctly.
    You should fix the problem as soon as feasibile.









    share|improve this question


























      4












      4








      4








      I had installed flatpak to run an application. Since it didn't quite work, I removed it using the following command:



      sudo apt remove flatpak


      On restart, I'm getting the error below. There is an OK button, but I can't hit it and can't even get to the desktop. The mouse isn't working and neither is the keyboard.



      I am running Ubuntu 19.04. Here is the error:



      Error found when loading /etc/profile:

      /etc/profile.d/flatpak.sh: line25: flatpak: command not found

      As a result the session will not be configured correctly.
      You should fix the problem as soon as feasibile.









      share|improve this question
















      I had installed flatpak to run an application. Since it didn't quite work, I removed it using the following command:



      sudo apt remove flatpak


      On restart, I'm getting the error below. There is an OK button, but I can't hit it and can't even get to the desktop. The mouse isn't working and neither is the keyboard.



      I am running Ubuntu 19.04. Here is the error:



      Error found when loading /etc/profile:

      /etc/profile.d/flatpak.sh: line25: flatpak: command not found

      As a result the session will not be configured correctly.
      You should fix the problem as soon as feasibile.






      login 19.04 flatpak






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 1 at 21:45









      Kevin Bowen

      15.2k156072




      15.2k156072










      asked Jun 1 at 18:55









      ubuntububuntuubuntububuntu

      404




      404




















          2 Answers
          2






          active

          oldest

          votes


















          2














          To fix this situation you have to remove or comment out that line in your profile file the steps are:



          1. Switch to the login console Ctrl + Alt + F1, then



          2. Locate that file and remove that line that is causing the boot issue:



            sudo sed -i.bak '25d' /etc/profile



          3. Remove any remnants



            sudo rm -rf /etc/profile.d/flatpak.sh
            sudo rm -rf /etc/X11/Xsession.d/20flatpak


          4. Reboot the system






          share|improve this answer

























          • Thanks this helped me in to console mode, since the GUI was not loading at all. I couldnt even get to the login screen. I had to purge as @Norbert0 suggested above.

            – ubuntububuntu
            Jun 1 at 20:45


















          3














          You can try to remove it again by purging



          sudo apt-get purge flatpak


          or remove its leftovers with



          sudo rm /etc/profile.d/flatpak.sh
          sudo rm /etc/X11/Xsession.d/20flatpak


          and then reboot.






          share|improve this answer























            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%2f1147920%2fcant-login-after-removing-flatpak%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            To fix this situation you have to remove or comment out that line in your profile file the steps are:



            1. Switch to the login console Ctrl + Alt + F1, then



            2. Locate that file and remove that line that is causing the boot issue:



              sudo sed -i.bak '25d' /etc/profile



            3. Remove any remnants



              sudo rm -rf /etc/profile.d/flatpak.sh
              sudo rm -rf /etc/X11/Xsession.d/20flatpak


            4. Reboot the system






            share|improve this answer

























            • Thanks this helped me in to console mode, since the GUI was not loading at all. I couldnt even get to the login screen. I had to purge as @Norbert0 suggested above.

              – ubuntububuntu
              Jun 1 at 20:45















            2














            To fix this situation you have to remove or comment out that line in your profile file the steps are:



            1. Switch to the login console Ctrl + Alt + F1, then



            2. Locate that file and remove that line that is causing the boot issue:



              sudo sed -i.bak '25d' /etc/profile



            3. Remove any remnants



              sudo rm -rf /etc/profile.d/flatpak.sh
              sudo rm -rf /etc/X11/Xsession.d/20flatpak


            4. Reboot the system






            share|improve this answer

























            • Thanks this helped me in to console mode, since the GUI was not loading at all. I couldnt even get to the login screen. I had to purge as @Norbert0 suggested above.

              – ubuntububuntu
              Jun 1 at 20:45













            2












            2








            2







            To fix this situation you have to remove or comment out that line in your profile file the steps are:



            1. Switch to the login console Ctrl + Alt + F1, then



            2. Locate that file and remove that line that is causing the boot issue:



              sudo sed -i.bak '25d' /etc/profile



            3. Remove any remnants



              sudo rm -rf /etc/profile.d/flatpak.sh
              sudo rm -rf /etc/X11/Xsession.d/20flatpak


            4. Reboot the system






            share|improve this answer















            To fix this situation you have to remove or comment out that line in your profile file the steps are:



            1. Switch to the login console Ctrl + Alt + F1, then



            2. Locate that file and remove that line that is causing the boot issue:



              sudo sed -i.bak '25d' /etc/profile



            3. Remove any remnants



              sudo rm -rf /etc/profile.d/flatpak.sh
              sudo rm -rf /etc/X11/Xsession.d/20flatpak


            4. Reboot the system







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 1 at 21:47









            Kevin Bowen

            15.2k156072




            15.2k156072










            answered Jun 1 at 20:17









            George UdosenGeorge Udosen

            22.7k105277




            22.7k105277












            • Thanks this helped me in to console mode, since the GUI was not loading at all. I couldnt even get to the login screen. I had to purge as @Norbert0 suggested above.

              – ubuntububuntu
              Jun 1 at 20:45

















            • Thanks this helped me in to console mode, since the GUI was not loading at all. I couldnt even get to the login screen. I had to purge as @Norbert0 suggested above.

              – ubuntububuntu
              Jun 1 at 20:45
















            Thanks this helped me in to console mode, since the GUI was not loading at all. I couldnt even get to the login screen. I had to purge as @Norbert0 suggested above.

            – ubuntububuntu
            Jun 1 at 20:45





            Thanks this helped me in to console mode, since the GUI was not loading at all. I couldnt even get to the login screen. I had to purge as @Norbert0 suggested above.

            – ubuntububuntu
            Jun 1 at 20:45













            3














            You can try to remove it again by purging



            sudo apt-get purge flatpak


            or remove its leftovers with



            sudo rm /etc/profile.d/flatpak.sh
            sudo rm /etc/X11/Xsession.d/20flatpak


            and then reboot.






            share|improve this answer



























              3














              You can try to remove it again by purging



              sudo apt-get purge flatpak


              or remove its leftovers with



              sudo rm /etc/profile.d/flatpak.sh
              sudo rm /etc/X11/Xsession.d/20flatpak


              and then reboot.






              share|improve this answer

























                3












                3








                3







                You can try to remove it again by purging



                sudo apt-get purge flatpak


                or remove its leftovers with



                sudo rm /etc/profile.d/flatpak.sh
                sudo rm /etc/X11/Xsession.d/20flatpak


                and then reboot.






                share|improve this answer













                You can try to remove it again by purging



                sudo apt-get purge flatpak


                or remove its leftovers with



                sudo rm /etc/profile.d/flatpak.sh
                sudo rm /etc/X11/Xsession.d/20flatpak


                and then reboot.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 1 at 19:41









                N0rbertN0rbert

                28.5k964136




                28.5k964136



























                    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%2f1147920%2fcant-login-after-removing-flatpak%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

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company