currently vnc (with nvidia gfx cards) dont work with compiz..
will you be fixing this before 11.04 is released so that people can use vnc with the default desktop?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The current VNC server in System/Preferences/Remote Desktop is called vino-server. It doesn't currently support operation when Compiz (Desktop Effects) is enabled.
To work around this, you have to use a replacement vnc server. I use x11vnc.
sudo apt-get install x11vnc
Crucially, you have to specifiy -noxdamage when you start the x11vnc server if you're intending to run Compiz.
First, initialise x11vnc with a password :
and follow the prompts. Then here's an example of how I run my vnc server:
x11vnc -usepw -forever -noxdamage -scale 4/5 -avahi -nolookup -q
If you do a "man x11vnc", you'll see that there's a raft of additional options. But the ones specified above should get you running.
If you need to run this on startup, I personally run this in /etc/rc.local, but I'm sure there are better ways. EDIT : And there are easier ways, detailed on this very site : How to run scripts on start up?. So, I suppose the easiest is the crontab -e option, but you could also save the command as a script somewhere, then just specify it in system/preferences/startup apps.
Correcting @Scaine's great answer, it is possible to use
vino-server with compiz effects enabled.
Here is how to disable
xdamage in vino, and thus make VNC work with compiz:
gsettings set org.gnome.Vino disable-xdamage true
Now you can use Ubuntu's default "Desktop Sharing" using even with Unity 3D. No need to install
But, as others have pointed out, disabling xdamage causes huge network traffic. Not a big issue in a local network, but performance may suffer if remote controlling over the internet.