How to fix my Xorg(or reinstall it)?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
songcheng0628

How to fix my Xorg(or reinstall it)?

Post by songcheng0628 »

Hi everybody,

Recently, I am fed up with the formidable issue of my ATI graphic card. Thanks to all the gurus in this forum, I finally figured out that the open source driver is the best solution for my ATI legacy card right now. Thank you all!

However, the XOrg has broken after installing and uninstalling drivers again and again. Maybe I uninstalled some critical components of X windows system in the Synaptic. Right now, I cannot log in the Cinnamon Desktop Environment. Every time when I log in the Cinnamon, I would get the GNOME Classic. But the MATE works perfectly. I suppose there still are something wrong with the XOrg. The additional driver shows that none of proprietary driver has been activated. I guess that means I am using the open source driver? I am not sure...
Some threads on the Internet say that because the proprietary driver has not been uninstalled completely or the Xorg just broken.

And my question is:
1. How can I uninstall the proprietary driver completely?
2. How can I reinstall the Xorg system? (Don't tell me to reinstall the whole system.)
3. There are some broken dependences in my system, how to fix it?


Thank you all in advance!
jost667

Re: How to fix my Xorg(or reinstall it)?

Post by jost667 »

Hi!

1.
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*

should remove the ati driver completely (copied from another message board (http://askubuntu.com/questions/98827/at ... stall-fail), but this should work)
You can also purge fglrx packages from synaptic or use the uninstall script!

Check if the fglrx module running by issuing
lsmod
in a console. There should be no sign of any "fglrx" stuff.


2.
Try to remove/reinstall Cinnamon from Synaptic.


3.
try

sudo su
apt-get # get overview of available options
apt-get update
apt-get upgrade
apt-get check # check for broken dependencies
apt-get autoremove
apt-get autoclean

see output of apt-get on how to fix broken dependencies.
songcheng0628

Re: How to fix my Xorg(or reinstall it)?

Post by songcheng0628 »

jost667 wrote:Hi!

1.
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*

should remove the ati driver completely (copied from another message board (http://askubuntu.com/questions/98827/at ... stall-fail), but this should work)
You can also purge fglrx packages from synaptic or use the uninstall script!

Check if the fglrx module running by issuing
lsmod
in a console. There should be no sign of any "fglrx" stuff.


2.
Try to remove/reinstall Cinnamon from Synaptic.


3.
try

sudo su
apt-get # get overview of available options
apt-get update
apt-get upgrade
apt-get check # check for broken dependencies
apt-get autoremove
apt-get autoclean

see output of apt-get on how to fix broken dependencies.
When I type sudo apt-get install xserver-xorg-video-ati on terminal, I will get this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
xserver-xorg-video-ati : Depends: xorg-video-abi-11
Depends: xserver-xorg-video-r128
Depends: xserver-xorg-video-mach64
Depends: xserver-xorg-video-radeon
E: Unable to correct problems, you have held broken packages.


Can you tell me how to fix this problem? Thanks!!
songcheng0628

Re: How to fix my Xorg(or reinstall it)?

Post by songcheng0628 »

By the way, I can't find the package: xorg-video-abi-11. So the setup was stuck at here.
jost667

Re: How to fix my Xorg(or reinstall it)?

Post by jost667 »

xorg-video-abi-11 is provided by package xserver-xorg-core

Try

Code: Select all

sudo su
apt-get update
apt-get dist-upgrade
apt-get install xserver-xorg-core

# and, if needed
apt-get install xserver-xorg-video-r128 xserver-xorg-video-mach64 xserver-xorg-video-radeon
MidnightPrometheus

Re: How to fix my Xorg(or reinstall it)?

Post by MidnightPrometheus »

jost667 wrote: Tue Apr 02, 2013 4:08 am xorg-video-abi-11 is provided by package xserver-xorg-core

Try

Code: Select all

sudo su
apt-get update
apt-get dist-upgrade
apt-get install xserver-xorg-core

# and, if needed
apt-get install xserver-xorg-video-r128 xserver-xorg-video-mach64 xserver-xorg-video-radeon
Thank you, I am new to linux, and mistakenly unistalled my video driver, and with that, it unistalled xorg. After running the comands you mentioned, I was able to boot to the GUI.
Locked

Return to “Graphics Cards & Monitors”