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

Why don't B747s start takeoffs with full throttle?

How can Iron Man's suit withstand this?

Did thousands of women die every year due to illegal abortions before Roe v. Wade?

Smooth switching between 12v batteries, with toggle switch

Who operates delivery flights for commercial airlines?

What can plausibly explain many of my very long and low-tech bridges?

PC video game involving floating islands doing aerial combat

Does the "6 seconds per round" rule apply to speaking/roleplaying during combat situations?

Incremental Ranges!

How is it possible that Gollum speaks Westron?

C SIGINT signal in Linux

What is in `tex.print` or `tex.sprint`?

Accidentally renamed tar.gz file to a non tar.gz file, will my file be messed up

Function to extract float from different price patterns

Can a magnetic field of an object be stronger than its gravity?

Secure offsite backup, even in the case of hacker root access

Finding the constrain of integral

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

How do I write "Show, Don't Tell" as an Asperger?

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

Is the decompression of compressed and encrypted data without decryption also theoretically impossible?

How is TD(0) method helpful? What good does it do?

How to skip replacing first occurrence of a character in each line?

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



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









      Kevin Bowen

      15.2k156072




      15.2k156072










      asked 8 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
            6 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
              6 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
              6 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 5 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
              6 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
              6 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
            6 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
            6 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 7 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

                    ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

                    Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

                    19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу