Firstly, i've deleted /etc/X11/xorg.conf
And then tried below command to install mesa on Ubuntu 12.04.2.
sudo apt-get install libglapi-mesa && sudo apt-get install libosmesa6
After reboot computer, Ubuntu doesn't start up ! (stay on Black Screen)
What am i doing wrong And how fix it ?
Edit (More information) :
[Sorry my English is not fine]
I'm using scilab. When i do some operations like plot , Scilab was crashed. For solving this problem , i did all things in this link
According to following part of above link,
Likely, there is a workaround to tackle this issue. One solution is to use a software accelerated driver. To do it, in /etc/X11/xorg.conf, look for the Section called Device and change the option Driver to mesa.
I must edit /etc/X11/xorg.conf, But there is no xorg.conf in /etc/X11/ for me!
For this reason, through below command i've created xorg.conf : Ctrl+Alt+F1
sudo service lightdm stop
Xorg -configure
Allright, I've copied /home/xorg.conf to /etc/X11/.
Also, According to following section of above link :
Section "Device"
Identifier "Your Graphic card"
Driver "vesa"
[...]
EndSection
I must enter my graphic card model in "Your Graphic card" and also "vesa". I don't know what exactly vesa is ! I've google it and someone said in here for install vesa do below things and i did :
sudo apt-get install libglapi-mesa && sudo apt-get install libosmesa6
After all the steps above, i have restart computer and then Ubuntu doesn't start up and stay on Black Screen !
Through LiveDisk I've boot Ubuntu, I guessed maybe it's because of xorg.conf, I removed that as the default and reboot again, Ubuntu does't start up again !