Ubuntu: Ubuntu 16 graphical login not working but terminal working



Question:

I have suffering problems last few days. When I try to logo on Ubuntu 16 by graphics, I can't log on to the system.But I can log on by terminal. I searched through internet for this problems but I can't find Solution

Steps I have done so far:

  1. remove .Xauthority files
  2. Reinstall Ubuntu desktop
  3. sudo rm /var/lib/apt/lists/lock
  4. sudo rm /var/cache/apt/archives/lock
  5. restart lightdm

I couldn't find solution by doing all of this steps


After running upstart I got following error:

upstart:error while loading shared libraries: libnih.so.1: cannot open shared object file: no such file or directory  

After running systemd I got following errors

Trying to run as user interface, but $xdg_runtime_dir not set  

My Xsession-errors file have following lines

openConnection: connect: No such file or library  cannot connect to brltty at: 0  /sbin/upstart: error while loading shared libaries: libnih.so.1: cannot open shared object file: no such file or directory  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »