Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I accidently remove the graphics driver (I did something like apt-get remove --purge fglrx* and other things, I don't really remember) and now my computer boot to a console login page.

Now without GUI I cannot connect to wireless internet and so cannot install anything.

Can I revert to the initial graphics driver (and configuration)? Maybe with an installation CD? I have Ubuntu 13.10.

I tried sudo-apt-get install --reinstall fglrx, it did install, but when I tried fglrxinfo, it gives

Error: unable to open display (null)
share|improve this question

1 Answer 1

up vote 2 down vote accepted

The initial graphics driver is the open source xorg drivers included by default. Boot into recovery mode, then select to drop to a root shell. Execute mount -o remount,rw / then make sure you've fully removed fglrx with apt-get purge fglrx -y and rm /etc/X11/xorg.conf then reboot.

If you want to learn how to get access to wifi from a command line instead of a GUI, reference the following website: http://www.ghacks.net/2009/04/14/connect-to-a-wireless-network-via-command-line/

share|improve this answer
    
Quick and excellent answer! :D Thanks a lot, mmstick! –  Khue Oct 25 '13 at 14:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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