Ubuntu Remote Desktop and VNC Not Working? Try This!
I recently installed Ubuntu 9.10 x64 on one of my workstations here at home. It has a fairly simple task, but the machine needs to be available over VNC.
Previously, I had used an older, headless box with Xubuntu to do the job and used a VNC server to set up a session I could connect to which ran the needed task. This time I tried to use the built-in Remote Desktop feature.
Unfortunately, I discovered a problem with this approach. The VNC client would connect ok and appear to take input from the remote client, but the screen would never update or refresh on the client correctly.
This appears to be a bug with the nvidia restricted drivers (which I am using) and the fancy graphic transitions. It apparently doesn’t “damage” the underlying X server, causing the VNC to never issue a screen refresh to the client. While this article describes it for 9.04, it applies for 9.10 as well. I simply turned off the visual effects as described in the article and my remote desktop started working correctly again! Yay!
The reason I wrote this article and posted it is because it took a while before I was able to find a solution for it. Google ultimatey found the answer after enough iterations of searching, but not everyone has that kind of patience. Hopefully, someone out there will find this article useful.
Bookmark with: del.icio.us Digg it Furl iFeedReaders ma.gnolia Maple.nu RawSugar reddit Simpy StumbleUpon
Tags: nvidia, remote desktop, ubuntu, vnc Fnord
Comment by Eduardo Lara
Thanks. Now my VNC is working again.
Comment by Shtirlic
Thx, found your article by “vnc ubuntu 9.10 not working properly” in first result
Comment by crap
this shit works in ubuntu 8.04. why the fuck can’t they fix it for this latest rls. grrrrrrrr
Comment by Richard Gabriel
Unbelieavable! Many thanks for this article. I’ve spent more than a hour finding out why VNC does not work.
Comment by Richard Gabriel
Excellent! Many thanks – I’ve spent more than an hour to investigate why VNC does not work… Is is a problem of the 64-bit driver only? Did you report a bug somewhere?
Comment by PhoneBoy
Not 100% sure, except that it seems to have been a bug for a while. It’s not clear if the bug is in nvidia’s proprietary code or in Ubuntu’s code.