Compiz-Fusion and xorg.conf
26, Mar 2009
Today I was experimenting with my xorg.conf file. The xorg.conf file is located in /etc/X11/xorg.conf, and contains all the settings that run the X11 server, basically what runs the graphics on nearly every Linux system. I wanted to get Separate X screens working with my dual monitors, and to do so I had to make some edits to the xorg.conf file. I used Nvidia's X Server Settings application to provide a GUI to help me through the process, however, it game some unexpected results. Not only was I unsuccessful with getting the second X Screen to work as I wanted it to, but in the process I also broke Compiz-Fusion.
After working my way through several posible sources of the problem, I finally found the root cause. When I tried to start Desktop Effects from the command line, I got the notice:
Root visual is not a GL visual Failed to manage screen: 0 No manageable screens found on display :0.0
So, after some searching on-line, I realized that when using the Nvidia X Server applet, that I had replaced the entire xorg.conf file with one created by the applet. However, the new xorg.conf file was lacking some crucial elements. After finding out what I needed to add, I edited the xorg.conf file and added the following lines to it:
Section "Files" ModulePath "/usr/lib/xorg/modules/extensions/nvidia" ModulePath "/usr/lib/xorg/modules/drivers" ModulePath "/usr/lib/xorg/modules" EndSection
Once that was done I simply had to restart the X Server, and the changes were applied. After that was done it was a simple matter of re-activating Compiz-Fusion Icon to bring the system back to full stability.
Have Something to Say?
Questions? Comments? Concerns? Let me know what you’re thinking.