First I installed the needed packages $ sudo apt-get install xserver-xgl compiz Then I configured gdm to start Xgl by inserting these lines in the end of /etc/gdm/gdm.conf-custom [server-Standard] name=Xgl server command=/usr/bin/Xgl :0 -fullscreen -ac -accel xv -accel glx:pbuffer -kb flexible=true After that I created ~/.Xsession (it must be executable) and filled it with #!/bin/bash gnome-win