Xgl doesn't start with fglrx

Luis M lemsx1 at gmail.com
Tue May 2 23:58:31 UTC 2006


I won't say it again since I already wrote about it here:

http://lems.kiskeyix.org/puntoyaparte/index.php?story_id=58

There are many other how-tos out there...

All you need to do really is stop gdm and run this script:

http://lems.kiskeyix.org/toolbox/?f=xgl.sh&d=1

However, the most sane thing to do is to edit /etc/gdm/gdm.conf-custom
and append:
[servers]

 [server-Standard]
 name=Xgl server
 command=/usr/bin/Xgl -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer
 flexible=true

Then on /etc/gdm/gdm.conf change 0=Standard to 1=Standard

You might want to write a session file for Gnome:
> cat > /usr/share/xsessions/compiz.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Name=Compiz
Comment=This session logs you into GNONE with Compiz enabled
Exec=/usr/local/bin/compiz.sh
# no icon yet, only the top three are currently used
Icon=
Type=Application
X-Ubuntu-Gettext-Domain=gnome-session-2.0
EOF

and /usr/local/bin/compiz.sh is just:

#!/bin/sh
MY_DISPLAY=1.0

if [ -z "$DISPLAY" -o "x$DISPLAY" = "x:0" -o "x$DISPLAY" = "x:0.0" ]; then
    DISPLAY=$MY_DISPLAY
    export DISPLAY
fi

gnome-window-decorator &
sleep 1
compiz --replace gconf # no need to background this. it will do it alone
sleep 1

# this is the proper way to start gnome-session. We need ssh-agent and
dbus-launch first
exec ssh-agent dbus-launch --exit-with-session /usr/bin/gnome-session

Cheers

#xgl-ubuntu on irc.freenode.net for help


On 5/2/06, rumpeltux <ulist at gs1.ubuntuforums.org> wrote:
>
> Okay i got the same problem as described in the initial post.
>
> I'm using current dapper, with Xorg 7 and ATI driver version 8.24.8.
>
> I modified gdm to start Xgl on display :1 (tried :2 as well) and it is
> always the same as on :0, i see the standart grey-pattern X-background
> and the loading cursor.
>
> Been searching for hours now, but no luck :(
>
>
>
> Any ideas?
>
>
> --
> rumpeltux
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


--
----)(-----
Luis Mondesi
*NIX Guru

Kiskeyix.org

"We think basically you watch television to turn your brain off, and
you work on your computer when you want to turn your brain on" --
Steve Jobs in an interview for MacWorld Magazine 2004-Feb

No .doc: http://www.gnu.org/philosophy/no-word-attachments.es.html


More information about the ubuntu-users mailing list