Most of this is done by dropping to a terminal session and you will therefore not be able to see this page whilst you are doing it, therefore it is a good idea to read all this through and make sure you understand it and then either write it down or print it out before starting. Save and close any work you have open before starting too.
First drop to a terminal by pressing Ctrl+Alt+F1 Log in with your usual Username and Password.
Then
Code: Select all
sudo stop *dm
Then put in your password
once that has finished,
Code: Select all
sudo Xorg -configure
Once this is done,
Code: Select all
startx
To make the computer use the xorg file next time you boot, create a file in /etc/X11/xorg.conf either by navigating to that folder and Right-click 'Open as Root' and then create a new file or
Code: Select all
gksudo gedit /etc/X11/xorg.conf
and paste into it what is in the xorg.conf file in your Home directory and click save.
You now need to reboot to check the file works before you try to change anything in it. If like me when you go to the shutdown icon, shutdown and reboot are both greyed out, drop to a different terminal Ctrl+Alt+F2, login with usual details again and
Code: Select all
sudo reboot
It should boot you to your desktop as usual, however if it fails, you will get a pop-up which says "Ubuntu is running in low-graphics mode". To solve this you can do one of the following things:
1. Click OK on the message then with "Run Ubuntu in low graphics mode for just one session" selected, click OK, it will go to the normal login screen/desktop but usually at a very low resolution, then go to /etc/X11Right-click 'Open as root' the delete the xorg.conf file and reboot
OR
2. Click OK on the message then select "Reconfigure Graphics" then OK then select "Use Default (generic) Configuration" then click ok, unless you have a backup configuration which worked, in which case select the third option on that list and locate your backup file. Once it has reconfigured your graphics, keep clicking cancel on all the prompts which will leave you at a command-line login, where you can use your normal details to login then
Code: Select all
sudo reboot
3. If the problem only occurred after you changed something in the file, click OK on the first message, the select "troubleshoot the error" then OK then "Edit Configuration file"
then either comment out your changes (with a # at the begging of the line) or delete what you changed. Click Close then keep clicking Cancel on all the prompts to be dropped to a command-line where you can login with usual details then
Code: Select all
sudo reboot
I welcome feedback if anyone has any problems or thinks something needs better explaining