I've been running Ubuntu 14.04 for about a year on my Razorblade 14", starting with 14.04.3 and lately I was on 14.04.5. Yesterday morning there was an update saying something about my hardware stack expiring and I needed to update. I complied and now I can't log into my account. For the past two days I have tried a ton of stuff and still stuck. I've even wiped the disk and installed ubuntu 14.04.5 from scratch, did an upgrade and still same problem. Before I wipe and reinstall 14.04.4 from scratch and do not upgrade, I wanted to check if there is anything else to try.
In summary I have two problems:
Using graphics ppa nvidia drivers I get a black screen instead of login screen. I've been using nvidia-352-updates without any problems for months (I use CUDA and OpenCL so I prefer the proprietary drivers), this problem started yesterday after the software update. Just today I have tried nvidia-340, nvidia-352, nvidia-352-updates, nvidia-355, nvidia-361, nvidia-364, nvidia-370 and they all give me a black screen instead of login. (I purge nvidia* inbetween each attempt).
if I restart in failsafeX mode, purge all nvidia drivers and switch to Nouveau drivers, I get a login screen but cannot login in Unity. I just get a blank background. However I can login in gnome, gnome-classic, and xubuntu.
Actually I'm not too bothered about #2, I'm ok to use Gnome instead of Unity. But #1 is a deal breaker. I really need Nvidia drivers!
Details
I restarted in failsafe mode, purged all nvidia drivers, switched to nouveau drivers and restarted. Now I get the login screen, however:
- I get to the login page, when I choose my own account and enter my password, the login screen goes away, the default ubuntu background comes (not my background) and then the rest of the UI (unity) does not come up. No launcher, no topbar, CTRL+ALT+T does not open terminal, pressing the SUPER key does nothing etc.
- I have teamviewer installed (and have always had it), and I can see the teamviewer window come up and log me in. From a different computer I can log in to my laptop via teamviewer. So it is responding.
- I can log into my laptop as a guest, but not my user. So I'm guessing it's something to do with my user.
- I can do CTRL+ALT+F1 to drop to TTY where I can log in as my user.
- I have tried installing gnome-desktop. and xubuntu-desktop. I can log in with gnome, gnome-classic and xubuntu. I just can't log in with unity.
There are a ton of posts around regarding 'login loops' and black screens on login. I've tried all of the below, none of which made any difference:
(e.g. ubuntu 14.04 login loop problem, Ubuntu gets stuck in a login loop)
- reinstall ubuntu-desktop
- set permissions and owner of .Xauthority and /tmp (also removing completely so they are recreated)
- installed and tried gdm instead of lightdm
- checked my .profile for errors (was clean)
- nomodeset in /etc/default/grub
My .xsession-errors says (trying to login with unity with nouveau drivers):
openConnection: connect: No such file or directory
cannot connect to brltty at :0
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd respawning too fast, stopped
init: Disconnected from notified D-Bus bus
init: gnome-settings-daemon main process (1966) terminated with status 1
init: gnome-session (GNOME) main process (1983) terminated with status 1
Edit: this is what I have installed (in case there's known conflicts or something) https://www.dropbox.com/s/cg0n4rl9d49ih0p/install_apps.sh?dl=0 https://www.dropbox.com/s/wns62gjw2002m3v/install_python_stuff.sh?dl=0
linux-generic
. Might be worth a try. – Gunnar Hjalmarsson Aug 23 '16 at 23:09