If you get a blank screen on first re-boot after Mint installation, or after an upgrade of some kind; give it a few minutes after the blackness appears and then press the key combination Ctrl-Alt-F1. If that switches your screen to a virtual terminal, you should be able to log in with your usual password (use your root password if you've set up a real root account, of course). If you have success, you can skip the next part and jump to "Testing for xorg.conf".
Also, bear in mind that you have access to six virtual terminals. Any one of the key combinations Ctrl-Alt-F1 to Ctrl-Alt-F6 will give you a terminal and you can log in on as many as you like. You could keep an eye on a log file with 'tail -f' in one terminal and even use a non graphic browser in another and quickly switch between them by holding down Ctrl and Alt and tapping along the function key row.
Ctrl-Alt-F7 is special. Pressing that combination will show where the desktop should be. If you try this while using a working system, you'll see what I mean.
Use Recovery Mode options:
Reboot.
If you don't usually see the Grub screen with the available choices, hold down the shift key very soon after POST (as soon as you see anything on screen really). You should see a Grub2 boot chooser screen like:
Press Down arrow until the top most recovery option is highlighted and press Enter. You can tap the escape key during this part and you may see the boot progress reports.
When this screen appears:
Choose Netroot:
You should soon see a Login prompt. Type root as your username and, when asked, your normal password.
You should see the machine name in red and a ready prompt like a $ sign. It doesn't look like much, but it's actually a very powerful place. Some old timers do everything they need to from that prompt and only rarely run a window manager or desktop environment.
Testing if xorg.conf exists:
- Code: Select all
cat /etc/X11/xorg.conf
will either show nothing or the contents of the current X windows configuration file.
- Code: Select all
cat /etc/X11/xorg.conf.failsafe
May reveal the contents of what should be used in the (possibly broken) failsafeX Recovery boot option, I think. If it exists and you want to try a very basic 'vesa' graphics driver, which should be enough to get your desktop back. No OpenGL or compositing, for sure, but access to Synaptic and GUI tools at least.
- Code: Select all
cat /etc/X11/xorg.conf.failsafe
- Code: Select all
Section "Device"
Identifier "Configured Video Device"
Driver "vesa"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
If it exists, to try it; backup an existing xorg.conf first:
- Code: Select all
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.OLD
cp -f /etc/X11/xorg.conf.failsafe /etc/X11/xorg.conf
reboot
Maybe that's enough? While that has been successful to regain the desktop experience on a couple of test VMs, I haven't had much luck with xorg.conf files created by the 'Xorg -configure' method. It may be a peculiarity of virtualisation. I'm not sure.
Where from there depends on a lot of variables. Add to the thread with solutions you find and problems you run into, or start a new question thread in Hardware Support - Graphics Cards and Monitors: viewforum.php?f=59
If your search luck finds a solution involving manipulating xorg configuration files and you've got your desktop environment back, you can of course use your File Manager. In KDE's Dolphin; look in /etc and right click on X11 (the word, not the icon) and select Root Actions - Open In File Manager. You'll probably see an xorg.conf.failsafe file there. To try using that on next boot, you can backup any existing xorg.conf by right click - copy then paste it back. Dolphin will ask for a new name rather than over write itself, so just add OLD01 or similar. Then do the same with xorg.conf.failsafe (or your shiny new test edition), this time copying it back as xorg.conf
The next step will create a configuration file in your home folder called xorg.conf.new
From a prompt as obtained above, but this time not becoming root (log in as you):
- Code: Select all
sudo service kdm stop (use 'sudo service gdm stop' if you're using Gnome)
sudo Xorg -configure
Copy the file generated to /etc/X11/xorg.conf and the graphics system will use it, on the next boot, to configure the X windows server.
Backup xorg.conf as above and then:
- Code: Select all
sudo rm /etc/X11/xorg.conf
sudo cp xorg.conf.new /etc/X11/xorg.conf
Lastly; if you need to edit a text file, whether it's our beloved xorg.conf or any other, you can use 'nano' which is a quite functional, easy to use, editor like:
- Code: Select all
sudo nano /etc/X11/xorg.conf
There are a great deal of links to up-to-date information on Linux Graphics Drivers at the following link:
http://www.linux-drivers.org/display.html
I'll experiment with installing the latest nvidia graphics drivers on my main PC next and I'll add to this thread with any new things I discover along the way, but I hope you manage to fix your Mint graphics system and enjoy the full benefit of your hardware.





