Thursday, December 28, 2006

Rdesktop on XGL/Compiz

This tip was found here: http://ubuntuforums.org/showpost.php?p=867127&postcount=4 but it took me so long to find it .. I figured I will document it again.

For some reason, when you run rdesktop on top of XGL/Compiz, the window opacity goes crazy .. and deems the window practically unreadable.

A way to work around it (until the rdesktop folks figure this out), is to run rdesktop inside xnest.

Just create the following wrapper script:
#!/bin/bash
Xnest -ac -terminate -geometry 1280x1024+0+0 :3 &
DISPLAY=:3 rdesktop -a 16 -f $1 &

It runs Xnest to open a new nested display and then runs rdesktop inside that nest.
That solved my problem immidiately!

Thank you Ubuntu Forums ! :-)