Stuck in login loop (Ubuntu 16.04) - Ask Ubuntu


a friend tried reinstall graphics drivers on ubuntu 16.04 computer (upgraded 14.04 3 or 4 months ago) , stuck in endless login loop. have spent 1.5 hours trying of commands proposed in multiple of answers in one , couple others no avail.

here .xsession-errors

openconnection: connect: no such file or directory cannot connect brltty @ :0 upstart: gnome-session (unity) main process (2094) terminated status 1 upstart: disconnected notified d-bus bus upstart: logrotate main process (1919) killed term signal upstart: update-notifier-crash (/var/crash/_sbin_upstart.104.crash) main process  (1983) killed term signal upstart: update-notifier-crash (/var/crash/_usr_lib_xorg_xorg.0.crash) main proc ess (1984) killed term signal upstart: bamfdaemon main process (2047) killed term signal upstart: hud main process (2061) killed term signal upstart: unity7 pre-start process (2065) terminated status 143 upstart: indicator-bluetooth main process (2106) killed term signal upstart: indicator-power main process (2107) killed term signal upstart: indicator-datetime main process (2111) killed term signal upstart: indicator-sound main process (2116) killed term signal upstart: indicator-printers main process (2119) killed term signal upstart: indicator-session main process (2120) killed term signal upstart: indicator-application main process (2138) terminated status 1 upstart: unity-panel-service main process (2098) killed term signal 

it may issue encountered else before but, many other similar questions/answers, has been hard find work.

at point think have spent less time if beginning had re-installed whole os.

graphics card: amd radeon hd 6350 512mb

try starting ubuntu in recovery mode.

first, connect ethernet cable , manually configure network connection: https://help.ubuntu.com/community/networkconfigurationcommandline/automatic

make sure have internet connection:

ping -c 4 google.com 

from there, remove amd , nvidia drivers:

sudo apt-get remove --purge xorg-driver-fglrx fglrx* nvidia* nouveau xserver-xorg-video-ati 

this should remove amd , nvidia video drivers.

install open source video driver:

(proprietary drivers can installed later)

intel: no action needed amd: sudo apt-get install xserver-xorg-video-ati nvidia: sudo apt-get install nouveau 

reconfigure x:

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri sudo mv /etc/x11/xorg.conf /etc/x11/xorg.conf.old sudo dpkg-reconfigure xserver-xorg 

update , fix broken dependencies:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove && sudo apt-get check 

now reboot:

sudo reboot 

your system should now. install proprietary driver or other gpu chips, go here instructions: https://help.ubuntu.com/community/binarydriverhowto


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User