0

After installing cuda and new nvidia drivers on Ubuntu 18.04, I am now stuck on the infamous login loop. Before asking for help, I carefully browsed the internet but I am now running out of ideas! I will tell you what I tried and the output.

-Checking permission of Xauthority/ICE authority : this file does not even exist
-Checking permissions of /tmp : everything is fine.
-Startx works and i get a rustic, but functional GUI. Now Xauthority exists and has the good permissions.
-CHanging-reconfigurate display manager (GM3 or lightdm) : done (no change)
-purging and reinstalling nvidia drivers : done. Nothing changed.
-Create a new user and see if I can login : Done and I can log in!
-After installing cuda, i added a line in the .bashrc file to add the cuda repository to the file. Since then i commented this line on the bashrc file but nothing changed.

-Resetting the gnome/unity configuration of the main user account : done. It did not change anything. I did it with

dconf reset -f /org/gnomes/   

and with :

rm -rf .gnome .gnome2 .gconf .gconfd .metacity

I am now running out of ideas. I could reinstall everything on this new account but I would actually prefer to get my original login account back. If you have any suggestion, i would love to hear them.

PS : I am rather a newbie when it comes to command lines and linux. I can run any command line, try to post some logs, but if you can be as precise as you can, I would be very grateful.

Thanks in advance!

7
  • 1
    It's not Xauthority/ICE authority. It's .Xauthority/.ICE authority.
    – heynnema
    May 18, 2019 at 16:35
  • 1
    See askubuntu.com/questions/916991/… for an answer that deals with all the other dot files, which are causing the problem.
    – ubfan1
    May 18, 2019 at 18:34
  • @heynnema . Thank you for your answer. i checked the hidden files so the ones with dot. they still have the good permissions. May 18, 2019 at 20:25
  • @ubfan. Thank you for your answer. i will move the hidden files and if it works, will isolate the main culprit. will keep you updated! May 18, 2019 at 20:29
  • @ubfan1 moving .hidden_files_folders can be tricky, as some get recreated automatically, and then you may loose your settings. .local and .config are two such examples.
    – heynnema
    May 18, 2019 at 21:41

0

You must log in to answer this question.

Browse other questions tagged .