fwiw, after the valgrind experiment I had to include another line item to my workaround... normally removing .compiz and .cache/compiz and restarting lightdm works. I added the compiz.desktop to keep it from picking up the test script I was using.
#!/bin/sh
sudo service lightdm stop
rm -rf /home/joey/.compiz*
rm -rf /home/joey/.cache/.compiz*
rm -rf /home/joey/.config/gnome-session/saved-session/compiz.desktop
sudo service lightdm start
fwiw, after the valgrind experiment I had to include another line item to my workaround... normally removing .compiz and .cache/compiz and restarting lightdm works. I added the compiz.desktop to keep it from picking up the test script I was using.
#!/bin/sh .cache/ .compiz* .config/ gnome-session/ saved-session/ compiz. desktop
sudo service lightdm stop
rm -rf /home/joey/.compiz*
rm -rf /home/joey/
rm -rf /home/joey/
sudo service lightdm start