Ok, so after several hours of troubleshooting Xgl, I finally gave up. I'm trying to run Xgl as the user xgl.
It works when I start up KDE with Xgl running under my user, but not when I su to the xgl user. User xgl can connect to this x server, but nothing can connect or even xhost + when I'm running with Xgl running under user xgl.
Any ideas? (sorry if this is confusing
)