Keyboard, Touchpad and external mouse not working after Nvidia driver uninstallation, xorg reinstallation












1















I tried to install the Nvidia graphics drivers via System Settings → Software & Updates → Additional Drivers. However got several error messages and ended up with corrupted drivers as it seems.



I rebooted and landed in a login loop, which I fixed by going into Ctrl+Alt+F1 menu, removed all nvidia related drivers via purge nvidia*.



Then reinstalled the xorg stuff with some autoremove I guess and sudo apt-get install lightdm xserver-xorg-core and something else like… xorg-id-19.



I just wanted to use my external screen as second screen and I ended up with this total mess. My idea now was to somehow uninstall all the xorg related stuff and lightdm and reinstall it somehow. However it appears to be rather difficult because I can't use any command as soon as Ubuntu booted.



I use Ubuntu 16.04 LTS.










share|improve this question

























  • Edit: it does boot to my normal desktop but i can neither use the keyboard nor the mouse (or touchpad). the screen is not just frozen, i can see the wifi signal change the number of bars.

    – Greg
    Apr 10 '18 at 16:51








  • 1





    My mistake. You can boot into text mode to investigate or fix the installation. I recommend that for a start you remove the packages nvidia* and lightdm and install the ubuntu-desktop meta-package ( together sudo apt-get install -f ubuntu-desktop lightdm- nvidia*-). You can also reset the X.org configuration by (re-)moving /etc/X11/xorg.conf.

    – David Foerster
    Apr 10 '18 at 18:18













  • @DavidFoerster If that becomes an answer, ping me in chat and I'll come back and upvote.

    – Fabby
    Apr 10 '18 at 19:49











  • @DavidFoerster when i try to enter the text mode the way it is described in your link, i end up in the BusyBox where i can't use any commands like sudo apt-get install etc.. How can I enter a terminal with established network connection to remove and download the stuff you specified?

    – Greg
    Apr 11 '18 at 8:10













  • Did you somehow remove Systemd and replaced it with a different Init daemon while you tried to fix the graphics driver issue? Can you try the “traditional” method instead and add text to the end of the linux command in Grub?

    – David Foerster
    Apr 11 '18 at 9:18


















1















I tried to install the Nvidia graphics drivers via System Settings → Software & Updates → Additional Drivers. However got several error messages and ended up with corrupted drivers as it seems.



I rebooted and landed in a login loop, which I fixed by going into Ctrl+Alt+F1 menu, removed all nvidia related drivers via purge nvidia*.



Then reinstalled the xorg stuff with some autoremove I guess and sudo apt-get install lightdm xserver-xorg-core and something else like… xorg-id-19.



I just wanted to use my external screen as second screen and I ended up with this total mess. My idea now was to somehow uninstall all the xorg related stuff and lightdm and reinstall it somehow. However it appears to be rather difficult because I can't use any command as soon as Ubuntu booted.



I use Ubuntu 16.04 LTS.










share|improve this question

























  • Edit: it does boot to my normal desktop but i can neither use the keyboard nor the mouse (or touchpad). the screen is not just frozen, i can see the wifi signal change the number of bars.

    – Greg
    Apr 10 '18 at 16:51








  • 1





    My mistake. You can boot into text mode to investigate or fix the installation. I recommend that for a start you remove the packages nvidia* and lightdm and install the ubuntu-desktop meta-package ( together sudo apt-get install -f ubuntu-desktop lightdm- nvidia*-). You can also reset the X.org configuration by (re-)moving /etc/X11/xorg.conf.

    – David Foerster
    Apr 10 '18 at 18:18













  • @DavidFoerster If that becomes an answer, ping me in chat and I'll come back and upvote.

    – Fabby
    Apr 10 '18 at 19:49











  • @DavidFoerster when i try to enter the text mode the way it is described in your link, i end up in the BusyBox where i can't use any commands like sudo apt-get install etc.. How can I enter a terminal with established network connection to remove and download the stuff you specified?

    – Greg
    Apr 11 '18 at 8:10













  • Did you somehow remove Systemd and replaced it with a different Init daemon while you tried to fix the graphics driver issue? Can you try the “traditional” method instead and add text to the end of the linux command in Grub?

    – David Foerster
    Apr 11 '18 at 9:18
















1












1








1








I tried to install the Nvidia graphics drivers via System Settings → Software & Updates → Additional Drivers. However got several error messages and ended up with corrupted drivers as it seems.



I rebooted and landed in a login loop, which I fixed by going into Ctrl+Alt+F1 menu, removed all nvidia related drivers via purge nvidia*.



Then reinstalled the xorg stuff with some autoremove I guess and sudo apt-get install lightdm xserver-xorg-core and something else like… xorg-id-19.



I just wanted to use my external screen as second screen and I ended up with this total mess. My idea now was to somehow uninstall all the xorg related stuff and lightdm and reinstall it somehow. However it appears to be rather difficult because I can't use any command as soon as Ubuntu booted.



I use Ubuntu 16.04 LTS.










share|improve this question
















I tried to install the Nvidia graphics drivers via System Settings → Software & Updates → Additional Drivers. However got several error messages and ended up with corrupted drivers as it seems.



I rebooted and landed in a login loop, which I fixed by going into Ctrl+Alt+F1 menu, removed all nvidia related drivers via purge nvidia*.



Then reinstalled the xorg stuff with some autoremove I guess and sudo apt-get install lightdm xserver-xorg-core and something else like… xorg-id-19.



I just wanted to use my external screen as second screen and I ended up with this total mess. My idea now was to somehow uninstall all the xorg related stuff and lightdm and reinstall it somehow. However it appears to be rather difficult because I can't use any command as soon as Ubuntu booted.



I use Ubuntu 16.04 LTS.







drivers nvidia xorg lightdm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 10 '18 at 15:50









David Foerster

28.6k1367113




28.6k1367113










asked Apr 10 '18 at 14:50









GregGreg

114




114













  • Edit: it does boot to my normal desktop but i can neither use the keyboard nor the mouse (or touchpad). the screen is not just frozen, i can see the wifi signal change the number of bars.

    – Greg
    Apr 10 '18 at 16:51








  • 1





    My mistake. You can boot into text mode to investigate or fix the installation. I recommend that for a start you remove the packages nvidia* and lightdm and install the ubuntu-desktop meta-package ( together sudo apt-get install -f ubuntu-desktop lightdm- nvidia*-). You can also reset the X.org configuration by (re-)moving /etc/X11/xorg.conf.

    – David Foerster
    Apr 10 '18 at 18:18













  • @DavidFoerster If that becomes an answer, ping me in chat and I'll come back and upvote.

    – Fabby
    Apr 10 '18 at 19:49











  • @DavidFoerster when i try to enter the text mode the way it is described in your link, i end up in the BusyBox where i can't use any commands like sudo apt-get install etc.. How can I enter a terminal with established network connection to remove and download the stuff you specified?

    – Greg
    Apr 11 '18 at 8:10













  • Did you somehow remove Systemd and replaced it with a different Init daemon while you tried to fix the graphics driver issue? Can you try the “traditional” method instead and add text to the end of the linux command in Grub?

    – David Foerster
    Apr 11 '18 at 9:18





















  • Edit: it does boot to my normal desktop but i can neither use the keyboard nor the mouse (or touchpad). the screen is not just frozen, i can see the wifi signal change the number of bars.

    – Greg
    Apr 10 '18 at 16:51








  • 1





    My mistake. You can boot into text mode to investigate or fix the installation. I recommend that for a start you remove the packages nvidia* and lightdm and install the ubuntu-desktop meta-package ( together sudo apt-get install -f ubuntu-desktop lightdm- nvidia*-). You can also reset the X.org configuration by (re-)moving /etc/X11/xorg.conf.

    – David Foerster
    Apr 10 '18 at 18:18













  • @DavidFoerster If that becomes an answer, ping me in chat and I'll come back and upvote.

    – Fabby
    Apr 10 '18 at 19:49











  • @DavidFoerster when i try to enter the text mode the way it is described in your link, i end up in the BusyBox where i can't use any commands like sudo apt-get install etc.. How can I enter a terminal with established network connection to remove and download the stuff you specified?

    – Greg
    Apr 11 '18 at 8:10













  • Did you somehow remove Systemd and replaced it with a different Init daemon while you tried to fix the graphics driver issue? Can you try the “traditional” method instead and add text to the end of the linux command in Grub?

    – David Foerster
    Apr 11 '18 at 9:18



















Edit: it does boot to my normal desktop but i can neither use the keyboard nor the mouse (or touchpad). the screen is not just frozen, i can see the wifi signal change the number of bars.

– Greg
Apr 10 '18 at 16:51







Edit: it does boot to my normal desktop but i can neither use the keyboard nor the mouse (or touchpad). the screen is not just frozen, i can see the wifi signal change the number of bars.

– Greg
Apr 10 '18 at 16:51






1




1





My mistake. You can boot into text mode to investigate or fix the installation. I recommend that for a start you remove the packages nvidia* and lightdm and install the ubuntu-desktop meta-package ( together sudo apt-get install -f ubuntu-desktop lightdm- nvidia*-). You can also reset the X.org configuration by (re-)moving /etc/X11/xorg.conf.

– David Foerster
Apr 10 '18 at 18:18







My mistake. You can boot into text mode to investigate or fix the installation. I recommend that for a start you remove the packages nvidia* and lightdm and install the ubuntu-desktop meta-package ( together sudo apt-get install -f ubuntu-desktop lightdm- nvidia*-). You can also reset the X.org configuration by (re-)moving /etc/X11/xorg.conf.

– David Foerster
Apr 10 '18 at 18:18















@DavidFoerster If that becomes an answer, ping me in chat and I'll come back and upvote.

– Fabby
Apr 10 '18 at 19:49





@DavidFoerster If that becomes an answer, ping me in chat and I'll come back and upvote.

– Fabby
Apr 10 '18 at 19:49













@DavidFoerster when i try to enter the text mode the way it is described in your link, i end up in the BusyBox where i can't use any commands like sudo apt-get install etc.. How can I enter a terminal with established network connection to remove and download the stuff you specified?

– Greg
Apr 11 '18 at 8:10







@DavidFoerster when i try to enter the text mode the way it is described in your link, i end up in the BusyBox where i can't use any commands like sudo apt-get install etc.. How can I enter a terminal with established network connection to remove and download the stuff you specified?

– Greg
Apr 11 '18 at 8:10















Did you somehow remove Systemd and replaced it with a different Init daemon while you tried to fix the graphics driver issue? Can you try the “traditional” method instead and add text to the end of the linux command in Grub?

– David Foerster
Apr 11 '18 at 9:18







Did you somehow remove Systemd and replaced it with a different Init daemon while you tried to fix the graphics driver issue? Can you try the “traditional” method instead and add text to the end of the linux command in Grub?

– David Foerster
Apr 11 '18 at 9:18












1 Answer
1






active

oldest

votes


















0














I also had the same problem. Just reinstall your desktop environment and it'll be solved.
sudo apt-get install <Your Desktop Environment name>






share|improve this answer








New contributor




Aniket Maurya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















    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%2f1023681%2fkeyboard-touchpad-and-external-mouse-not-working-after-nvidia-driver-uninstalla%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I also had the same problem. Just reinstall your desktop environment and it'll be solved.
    sudo apt-get install <Your Desktop Environment name>






    share|improve this answer








    New contributor




    Aniket Maurya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      I also had the same problem. Just reinstall your desktop environment and it'll be solved.
      sudo apt-get install <Your Desktop Environment name>






      share|improve this answer








      New contributor




      Aniket Maurya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        I also had the same problem. Just reinstall your desktop environment and it'll be solved.
        sudo apt-get install <Your Desktop Environment name>






        share|improve this answer








        New contributor




        Aniket Maurya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        I also had the same problem. Just reinstall your desktop environment and it'll be solved.
        sudo apt-get install <Your Desktop Environment name>







        share|improve this answer








        New contributor




        Aniket Maurya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Aniket Maurya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 10 mins ago









        Aniket MauryaAniket Maurya

        11




        11




        New contributor




        Aniket Maurya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Aniket Maurya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Aniket Maurya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            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%2f1023681%2fkeyboard-touchpad-and-external-mouse-not-working-after-nvidia-driver-uninstalla%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

            GameSpot

            connect to host localhost port 22: Connection refused

            Getting a Wifi WPA2 wifi connection