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

                    Tom Holland Mục lục Đầu đời và giáo dục | Sự nghiệp | Cuộc sống cá nhân | Phim tham gia | Giải thưởng và đề cử | Chú thích | Liên kết ngoài | Trình đơn chuyển hướngProfile“Person Details for Thomas Stanley Holland, "England and Wales Birth Registration Index, 1837-2008" — FamilySearch.org”"Meet Tom Holland... the 16-year-old star of The Impossible""Schoolboy actor Tom Holland finds himself in Oscar contention for role in tsunami drama"“Naomi Watts on the Prince William and Harry's reaction to her film about the late Princess Diana”lưu trữ"Holland and Pflueger Are West End's Two New 'Billy Elliots'""I'm so envious of my son, the movie star! British writer Dominic Holland's spent 20 years trying to crack Hollywood - but he's been beaten to it by a very unlikely rival"“Richard and Margaret Povey of Jersey, Channel Islands, UK: Information about Thomas Stanley Holland”"Tom Holland to play Billy Elliot""New Billy Elliot leaving the garage"Billy Elliot the Musical - Tom Holland - Billy"A Tale of four Billys: Tom Holland""The Feel Good Factor""Thames Christian College schoolboys join Myleene Klass for The Feelgood Factor""Government launches £600,000 arts bursaries pilot""BILLY's Chapman, Holland, Gardner & Jackson-Keen Visit Prime Minister""Elton John 'blown away' by Billy Elliot fifth birthday" (video with John's interview and fragments of Holland's performance)"First News interviews Arrietty's Tom Holland"“33rd Critics' Circle Film Awards winners”“National Board of Review Current Awards”Bản gốc"Ron Howard Whaling Tale 'In The Heart Of The Sea' Casts Tom Holland"“'Spider-Man' Finds Tom Holland to Star as New Web-Slinger”lưu trữ“Captain America: Civil War (2016)”“Film Review: ‘Captain America: Civil War’”lưu trữ“‘Captain America: Civil War’ review: Choose your own avenger”lưu trữ“The Lost City of Z reviews”“Sony Pictures and Marvel Studios Find Their 'Spider-Man' Star and Director”“‘Mary Magdalene’, ‘Current War’ & ‘Wind River’ Get 2017 Release Dates From Weinstein”“Lionsgate Unleashing Daisy Ridley & Tom Holland Starrer ‘Chaos Walking’ In Cannes”“PTA's 'Master' Leads Chicago Film Critics Nominations, UPDATED: Houston and Indiana Critics Nominations”“Nominaciones Goya 2013 Telecinco Cinema – ENG”“Jameson Empire Film Awards: Martin Freeman wins best actor for performance in The Hobbit”“34th Annual Young Artist Awards”Bản gốc“Teen Choice Awards 2016—Captain America: Civil War Leads Second Wave of Nominations”“BAFTA Film Award Nominations: ‘La La Land’ Leads Race”“Saturn Awards Nominations 2017: 'Rogue One,' 'Walking Dead' Lead”Tom HollandTom HollandTom HollandTom Hollandmedia.gettyimages.comWorldCat Identities300279794no20130442900000 0004 0355 42791085670554170004732cb16706349t(data)XX5557367