Linux Run as Root/Sudo Blank Window
Issue
Run Beyond Compare 4 for Linux as root using su or sudo. Beyond Compare window contents are blank.
Solution
Modify Beyond Compare's launcher script to run using Qt 4 native rendering mode when executed as root/sudo.
sudo nano /usr/bin/bcompare
After the export LD_LIBRARY_PATH
section, insert the lines:
if [ -z "$EUID" ]; then EUID=`id -u`
fi
if [ "$EUID" = "0" ]; then export QT_GRAPHICSSYSTEM=native
fi