Ubuntu 12.04 desktop, VNC viewer not refreshing screen
I've had this issues across multiple machines and multiple versions of Ubuntu desktop (all 10.04 or later). Usually it happens with an old laptop I've put Ubuntu on but now it's happening on my primary dev machine (a quad-core PC recently upgraded to Ubuntu 12.04 desktop). The problem is this - I can connect to the machine and login with the password, the initial screen looks fine but never refreshes. I can see the monitor for the machine across the room and can see the mouse move and the menus pop up but the image of the screen on the PC in front me running the VNC viewer never updates. So the mouse and keyboard commands are working.
- Ubuntu 12.04 Desktop
- Ultra VNC Viewer (also seen with RealVNC's free VNC viewer)
- Desktop Sharing Static IP on eth0; Dynamic ID on eth1
I think it is an Ubuntu config issue because this PC used to work just fine with 9.04, 10.04, and 11.10 (over the past couple of years). I've also had a couple of laptops that used to have this issue with older Ubuntu's but don't with 12.04.
Additional info:
The Win7 PC I'm trying to use to control the Ubuntu PC is connected via 2 DLink 8-port gigabit routers. The Ubuntu laptop I usually control via VNC is typically only connected to the network via wireless. The screen refresh is choppy but usable. I've repeated the issue on a Win7 laptop which was connected via ethernet and wireless.
I was having same problem, Searched a bit and found this solution
VNC session very slow in 12.04 compared to older versions
Running the mentioned command solved the purpose Thanks
Remoting into ubuntu 14.04 LTS from ubuntu 12.04 LTS using either Remmina Remote Desktop or Gtk VNC Viewer did not work. The remote session did not update the screen. The command, gsettings set org.gnome.Vino disable-xdamage true did not work. Unfortunately I did not try logging in to 14.04 in 2D mode before installing 12.04 LTS. Remoting into ubuntu 12.04 LTS from ubuntu 12.04 LTS did not work either. Setting disable-xdamage true did not work. Logging into 12.04 using 2D and then remoting in did work. Then restarting and logging into 3D in 12.04 worked.
I am currently logging into 12.04 in 3D mode, then remoting into 12.04 from 12.04 using Remmina Remote Desktop. On the remote machine the command "gsettings get org.gnome.Vino disable-xdamage returns false. I believe starting the initial session in 2D mode at least one time was the key.
Note I had to submit this as an answer because I don't have enough points to comment at askubuntu.com.