QUOTE(nlinley @ May 3 2009, 08:12 AM)
Try running it under your normal user account, not root. If you get errors like unable to open display, it is most likely due to the user account you are running under not having a DISPLAY variable set. I'm not running ubuntu, but I think I have seen that there before. When you sudo to root, I think the display is not set. See example below. You can also just export the setting to the display variable for root to run X windows based apps, though user mode apps should run under a normal user account.
~> echo $DISPLAY
:0.0
# echo $DISPLAY
:0.0
nlinley,
That's a good suggestion. I never would've thought of that. Anyway, I tried running compiz using normal user account and my Xsession just hangs. Here's the resulf:
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1280x1024) to maximum 3D texture size (4096): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: present.
Checking for FBConfig: present.
running under gnome seesion, checking for gnomecompat
Checking for Xgl: not present.
/usr/bin/compiz.real (core) - Error: Could not acquire compositing manager selection on screen 0 display ":0.0"
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0
Added on May 3, 2009, 9:50 amQUOTE(overlord_666 @ May 3 2009, 07:15 AM)
Barra, i also can't start my Compiz after upgrading and I can't even start my nvidia control panel. But now it's ok and here is how I do it. I open Synaptic Package Manager, on the search field I insert "nvidia", then I mark "glx-180" (it's unmark before), then apply, and restart after finish. After doing just that I can activate Compiz and all other settings. If this also can't, you can view other suggestions
here. Although the guide is for Intrepid, I use that source for my solution~~~
overlord_666,
Well, I tried your advice. First, Sypnatic removed the Ubuntu / Mesa driver for my card, then install the Nvidia 180. Worked fine. Then I restarted my machine and it hangs, can't log into Xserver. Had to resort to low graphic mode. After much tweaking, manage to get back into normal graphic mode.
Then I tried enabling desktop effect, no good. Did a compiz run in Terminal, here's the result:
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1280x1024) to maximum 3D texture size (4096): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: present.
Checking for FBConfig: present.
running under gnome seesion, checking for gnomecompat
Checking for Xgl: not present.
/usr/bin/compiz.real (core) - Error: Could not acquire compositing manager selection on screen 0 display ":0.0"
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0
However, after removing the Mesa and installing the nvidia driver, I noticed things run much smoother on screen. Scrolling down through web pages no longer jerky. definitely improved.
Anyway, I think my machine is cursed. Not once I managed to get compiz running......anymore idea?
This post has been edited by barra: May 3 2009, 09:55 AM