Sure. I would recommend you to do the following, just to be certain that everything will be all right.
First, log in to a virtual terminal (not a terminal emulator in the X). You should do that without starting the X server. You can do that from the GRUB menu at the boot time, selecting the "recovery mode" boot option. Sample
here, look at the second option. If you don't use GRUB, you should search how to do that. After entering the recovery mode, simply
resume your boot, selecting the properly option.
Next, make sure you have a internet connection and your packages are up-to-date:
- Code: Select all
$sudo apt-get update && sudo apt-get upgrade
So, try the following:
- Code: Select all
$sudo apt-get install --reinstall nvidia-settings nvidia-settings-update nvidia-173 nvidia-173-updates nvidia-current nvidia-current-updates
(Only install the nvidia-experimental-304 package at your own risk.)
If this operation was succesful, I would recommend you to backup your xorg.conf file so you can generate it:
- Code: Select all
$sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
- Code: Select all
$sudo nvidia-xconfig
Look at the /etc/X11/xorg.conf file now, with (for example):
- Code: Select all
$cat /etc/X11/xorg.conf | more
to see if it was generated correctly.
Next, start your X server.
- Code: Select all
$startx
(I didn't need sudo for that)
If it does still not start, you can try:
- Code: Select all
$sudo dpkg-reconfigure kdm
Note that kdm is for KDE. If you use Mate, Cinnamon or Gnome Desktop Environment, you should find out what option is suitable for that. I think it would be gdm or lightdm, not sure.
Try to press Ctrl+Alt+F7 to go to the X Server. If this hotkey doesn't work, restart your computer. It should work now.
English is not my native language.