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

What do we gain with higher order logics?

Building a road to escape Earth's gravity by making a pyramid on Antartica

C SIGINT signal in Linux

How is it possible that Gollum speaks Westron?

Credit card offering 0.5 miles for every cent rounded up. Too good to be true?

Their answer is discrete, mine is continuous. They baited me into the wrong answer. I have a P Exam question

PC video game involving floating islands doing aerial combat

How can drunken, homicidal elves successfully conduct a wild hunt?

What is the advantage of carrying a tripod and ND-filters when you could use image stacking instead?

Does an ice chest packed full of frozen food need ice? 18 day Grand Canyon trip

What risks are there when you clear your cookies instead of logging off?

Does the first version of Linux developed by Linus Torvalds have a GUI?

Word for a small burst of laughter that can't be held back

Why does the Schrödinger equation work so well for the Hydrogen atom despite the relativistic boundary at the nucleus?

Through what methods and mechanisms can a multi-material FDM printer operate?

You've spoiled/damaged the card

When writing an error prompt, should we end the sentence with a exclamation mark or a dot?

Can a 2nd-level sorcerer use sorcery points to create a 2nd-level spell slot?

What are the words for people who cause trouble believing they know better?

What happened to all the nuclear material being smuggled after the fall of the USSR?

Adding two lambda-functions in C++

Importance sampling estimation of power function

Is it legal in the UK for politicians to lie to the public for political gain?

How hard would it be to convert a glider into an powered electric aircraft?



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;








3















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






























    3















    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


























      3












      3








      3








      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 6 hours ago









      Kevin Bowen

      15.2k156072




      15.2k156072










      asked 9 hours ago









      ubuntububuntuubuntububuntu

      354




      354




















          2 Answers
          2






          active

          oldest

          votes


















          1














          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
            7 hours ago


















          2














          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









            1














            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
              7 hours ago















            1














            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
              7 hours ago













            1












            1








            1







            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 6 hours ago









            Kevin Bowen

            15.2k156072




            15.2k156072










            answered 7 hours ago









            George UdosenGeorge Udosen

            22.5k104976




            22.5k104976












            • 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
              7 hours ago

















            • 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
              7 hours ago
















            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
            7 hours ago





            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
            7 hours ago













            2














            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



























              2














              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

























                2












                2








                2







                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 8 hours ago









                N0rbertN0rbert

                28.1k964132




                28.1k964132



























                    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

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її