1

This question already has an answer here:

I've installed AMD graphic drivers and rebooted my system. Now when i'm logging in my screen turns off or shows a lot of noise in different colors, but i cant see anything. That means i cant use my Xubuntu insalled on HDD. I've live USB Stick, how to revert installation using Live USB? Or maybe nay other possibilities?

marked as duplicate by Rmano, LnxSlck, Seth Oct 21 '14 at 22:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2
  1. Boot your computer.

  2. After it is started, swicth to TTY1 by pressing Ctrl+Alt+F1

  3. Log in using your normal username and password.

  4. run this command to remove the drivers sudo apt-get purge "fglrx.*" "fglrx-amdcccle.*"

  5. run sudo rm /etc/X11/xorg.conf to delete the x.org configuration file.

  6. run sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64 to re-install x.org.

  7. run sudo dpkg-reconfigure xserver-xorg to reconfigure x.org.

  8. run sudo reboot to reboot.

You can do this from your Xubuntu computer, but you will need to type all these commands in. A lot of this I copy pasted from here: How do I remove the proprietary ATI drivers?

I don't use AMD drivers personally.

  • Whichever Command in Passing IT says for lock file var/lib/dpkg/lock only for read lock wont be used,couldnt write to /var/cache /apt – Michał Staniewski Oct 20 '14 at 17:11
  • Make sure you are using sudo when typing in these commands. – Paul Tanzini Oct 20 '14 at 17:28
  • it automatically makes me a root – Michał Staniewski Oct 20 '14 at 17:30
  • If you're root then apt-get shouldn't give you that error unless there's something that is already using apt or dpkg. – Paul Tanzini Oct 20 '14 at 17:34
  • 1
    @Rmano I changed the regular expression to the one that was given in the older AU question I linked to. – Paul Tanzini Oct 20 '14 at 17:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.