Can not login after Nvidia driver installation












1















I have installed Ubuntu 15.10 on my Xeon machine without any
problems, but after installing Nvidia drivers (for GTX 960), I lose
my login password from the GUI. The password, however, works with the
console.



Can anyone help ?





Since I have tried three versions of Ubuntu, I am wondering why the
problem is still persisting even on Ubuntu 16.04 which has the latest
driver 361. Should we use Ububtu software or use ppa from Nvidia ?










share|improve this question
















bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • How you installed nvidia drivers? Are you into the login loop?

    – Ashu
    Mar 5 '16 at 18:49











  • Hello, i used ubuntu software. And by the way, your suggestion did not work

    – user224685
    Mar 6 '16 at 3:20
















1















I have installed Ubuntu 15.10 on my Xeon machine without any
problems, but after installing Nvidia drivers (for GTX 960), I lose
my login password from the GUI. The password, however, works with the
console.



Can anyone help ?





Since I have tried three versions of Ubuntu, I am wondering why the
problem is still persisting even on Ubuntu 16.04 which has the latest
driver 361. Should we use Ububtu software or use ppa from Nvidia ?










share|improve this question
















bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • How you installed nvidia drivers? Are you into the login loop?

    – Ashu
    Mar 5 '16 at 18:49











  • Hello, i used ubuntu software. And by the way, your suggestion did not work

    – user224685
    Mar 6 '16 at 3:20














1












1








1








I have installed Ubuntu 15.10 on my Xeon machine without any
problems, but after installing Nvidia drivers (for GTX 960), I lose
my login password from the GUI. The password, however, works with the
console.



Can anyone help ?





Since I have tried three versions of Ubuntu, I am wondering why the
problem is still persisting even on Ubuntu 16.04 which has the latest
driver 361. Should we use Ububtu software or use ppa from Nvidia ?










share|improve this question
















I have installed Ubuntu 15.10 on my Xeon machine without any
problems, but after installing Nvidia drivers (for GTX 960), I lose
my login password from the GUI. The password, however, works with the
console.



Can anyone help ?





Since I have tried three versions of Ubuntu, I am wondering why the
problem is still persisting even on Ubuntu 16.04 which has the latest
driver 361. Should we use Ububtu software or use ppa from Nvidia ?







nvidia-geforce






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 17 '16 at 20:03









Mitch

85k14173231




85k14173231










asked Mar 5 '16 at 18:33









user224685user224685

613




613





bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • How you installed nvidia drivers? Are you into the login loop?

    – Ashu
    Mar 5 '16 at 18:49











  • Hello, i used ubuntu software. And by the way, your suggestion did not work

    – user224685
    Mar 6 '16 at 3:20



















  • How you installed nvidia drivers? Are you into the login loop?

    – Ashu
    Mar 5 '16 at 18:49











  • Hello, i used ubuntu software. And by the way, your suggestion did not work

    – user224685
    Mar 6 '16 at 3:20

















How you installed nvidia drivers? Are you into the login loop?

– Ashu
Mar 5 '16 at 18:49





How you installed nvidia drivers? Are you into the login loop?

– Ashu
Mar 5 '16 at 18:49













Hello, i used ubuntu software. And by the way, your suggestion did not work

– user224685
Mar 6 '16 at 3:20





Hello, i used ubuntu software. And by the way, your suggestion did not work

– user224685
Mar 6 '16 at 3:20










2 Answers
2






active

oldest

votes


















0














I tried all version of ubuntu 14, 15, and 16. Same problems. I do not understand the first few steps, as I do not get the grub menu. I get
directly ubuntu login menu. How and where I should set the nouveau.modeset=0.
Thanks.






share|improve this answer
























  • To reveal the grub menu you need to press "Left Shift" or Press ESC during boot after your vendor boot screen

    – Techjail
    Mar 6 '16 at 3:00



















0














I am referring to this answer from my other answers. I had a login loop issue as mentioned here. It seems you are also encountering login loop issue due to nvidia drivers issue.



First uninstall the currently installed NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



When the login screen appears press Ctrl+Alt+F1.Enter your user name and the password, then execute :



sudo apt-get purge nvidia*  
sudo reboot


Now install the latest official stable NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



When the login screen appears press Ctrl+Alt+F1. Enter your user name and the password, then execute :



sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-361
sudo reboot


Note : Maybe it is explicitly necessary to select the NVIDIA adapter in BIOS.



In case you have installed the nvidia driver from their site then uninstall it as per that instructions.Uninstall that driver by running, as root, sh ./NVIDIA-Linux-x86_64-361.28.run and follow the on screen instructions.



Note : The solution I have provide has been tested on Ubuntu 14.04 LTS and Ubuntu 15.10 for two GPUs






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%2f742483%2fcan-not-login-after-nvidia-driver-installation%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









    0














    I tried all version of ubuntu 14, 15, and 16. Same problems. I do not understand the first few steps, as I do not get the grub menu. I get
    directly ubuntu login menu. How and where I should set the nouveau.modeset=0.
    Thanks.






    share|improve this answer
























    • To reveal the grub menu you need to press "Left Shift" or Press ESC during boot after your vendor boot screen

      – Techjail
      Mar 6 '16 at 3:00
















    0














    I tried all version of ubuntu 14, 15, and 16. Same problems. I do not understand the first few steps, as I do not get the grub menu. I get
    directly ubuntu login menu. How and where I should set the nouveau.modeset=0.
    Thanks.






    share|improve this answer
























    • To reveal the grub menu you need to press "Left Shift" or Press ESC during boot after your vendor boot screen

      – Techjail
      Mar 6 '16 at 3:00














    0












    0








    0







    I tried all version of ubuntu 14, 15, and 16. Same problems. I do not understand the first few steps, as I do not get the grub menu. I get
    directly ubuntu login menu. How and where I should set the nouveau.modeset=0.
    Thanks.






    share|improve this answer













    I tried all version of ubuntu 14, 15, and 16. Same problems. I do not understand the first few steps, as I do not get the grub menu. I get
    directly ubuntu login menu. How and where I should set the nouveau.modeset=0.
    Thanks.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Mar 6 '16 at 2:57









    user224685user224685

    613




    613













    • To reveal the grub menu you need to press "Left Shift" or Press ESC during boot after your vendor boot screen

      – Techjail
      Mar 6 '16 at 3:00



















    • To reveal the grub menu you need to press "Left Shift" or Press ESC during boot after your vendor boot screen

      – Techjail
      Mar 6 '16 at 3:00

















    To reveal the grub menu you need to press "Left Shift" or Press ESC during boot after your vendor boot screen

    – Techjail
    Mar 6 '16 at 3:00





    To reveal the grub menu you need to press "Left Shift" or Press ESC during boot after your vendor boot screen

    – Techjail
    Mar 6 '16 at 3:00













    0














    I am referring to this answer from my other answers. I had a login loop issue as mentioned here. It seems you are also encountering login loop issue due to nvidia drivers issue.



    First uninstall the currently installed NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



    Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



    When the login screen appears press Ctrl+Alt+F1.Enter your user name and the password, then execute :



    sudo apt-get purge nvidia*  
    sudo reboot


    Now install the latest official stable NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



    Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



    When the login screen appears press Ctrl+Alt+F1. Enter your user name and the password, then execute :



    sudo add-apt-repository ppa:graphics-drivers/ppa
    sudo apt-get update
    sudo apt-get install nvidia-361
    sudo reboot


    Note : Maybe it is explicitly necessary to select the NVIDIA adapter in BIOS.



    In case you have installed the nvidia driver from their site then uninstall it as per that instructions.Uninstall that driver by running, as root, sh ./NVIDIA-Linux-x86_64-361.28.run and follow the on screen instructions.



    Note : The solution I have provide has been tested on Ubuntu 14.04 LTS and Ubuntu 15.10 for two GPUs






    share|improve this answer






























      0














      I am referring to this answer from my other answers. I had a login loop issue as mentioned here. It seems you are also encountering login loop issue due to nvidia drivers issue.



      First uninstall the currently installed NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



      Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



      When the login screen appears press Ctrl+Alt+F1.Enter your user name and the password, then execute :



      sudo apt-get purge nvidia*  
      sudo reboot


      Now install the latest official stable NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



      Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



      When the login screen appears press Ctrl+Alt+F1. Enter your user name and the password, then execute :



      sudo add-apt-repository ppa:graphics-drivers/ppa
      sudo apt-get update
      sudo apt-get install nvidia-361
      sudo reboot


      Note : Maybe it is explicitly necessary to select the NVIDIA adapter in BIOS.



      In case you have installed the nvidia driver from their site then uninstall it as per that instructions.Uninstall that driver by running, as root, sh ./NVIDIA-Linux-x86_64-361.28.run and follow the on screen instructions.



      Note : The solution I have provide has been tested on Ubuntu 14.04 LTS and Ubuntu 15.10 for two GPUs






      share|improve this answer




























        0












        0








        0







        I am referring to this answer from my other answers. I had a login loop issue as mentioned here. It seems you are also encountering login loop issue due to nvidia drivers issue.



        First uninstall the currently installed NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



        Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



        When the login screen appears press Ctrl+Alt+F1.Enter your user name and the password, then execute :



        sudo apt-get purge nvidia*  
        sudo reboot


        Now install the latest official stable NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



        Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



        When the login screen appears press Ctrl+Alt+F1. Enter your user name and the password, then execute :



        sudo add-apt-repository ppa:graphics-drivers/ppa
        sudo apt-get update
        sudo apt-get install nvidia-361
        sudo reboot


        Note : Maybe it is explicitly necessary to select the NVIDIA adapter in BIOS.



        In case you have installed the nvidia driver from their site then uninstall it as per that instructions.Uninstall that driver by running, as root, sh ./NVIDIA-Linux-x86_64-361.28.run and follow the on screen instructions.



        Note : The solution I have provide has been tested on Ubuntu 14.04 LTS and Ubuntu 15.10 for two GPUs






        share|improve this answer















        I am referring to this answer from my other answers. I had a login loop issue as mentioned here. It seems you are also encountering login loop issue due to nvidia drivers issue.



        First uninstall the currently installed NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



        Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



        When the login screen appears press Ctrl+Alt+F1.Enter your user name and the password, then execute :



        sudo apt-get purge nvidia*  
        sudo reboot


        Now install the latest official stable NVIDIA drivers.Boot the computer, when the GRUB menu appears ...



        Highlight the Ubuntu menu entry and press the E key.Add nouveau.modeset=0 to the end of the linux line. Press F10 to boot the Ubuntu operating system.



        When the login screen appears press Ctrl+Alt+F1. Enter your user name and the password, then execute :



        sudo add-apt-repository ppa:graphics-drivers/ppa
        sudo apt-get update
        sudo apt-get install nvidia-361
        sudo reboot


        Note : Maybe it is explicitly necessary to select the NVIDIA adapter in BIOS.



        In case you have installed the nvidia driver from their site then uninstall it as per that instructions.Uninstall that driver by running, as root, sh ./NVIDIA-Linux-x86_64-361.28.run and follow the on screen instructions.



        Note : The solution I have provide has been tested on Ubuntu 14.04 LTS and Ubuntu 15.10 for two GPUs







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 13 '17 at 12:23









        Community

        1




        1










        answered Mar 5 '16 at 18:51









        AshuAshu

        2,59541639




        2,59541639






























            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%2f742483%2fcan-not-login-after-nvidia-driver-installation%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