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

                    RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos