Ubuntu – Desktop sharing on 14.10

14.10remote desktop

I am using Ubuntu for the first time. I enabled desktop sharing and tried RealVNC viewer (on Windows) to connect to it. However it failed with the message "Unable to connect to the VNC server using your chosen security settings". The connection dialog box has a drop down for Encryption, which defaults to "Let VNC Server choose" but there are four more options, I tried all but none of them works. Thus, assuming that it is some problem with Ubuntu's desktop sharing.

Research on the internet showed that disabling encryption (using dconf) resolves the problem link. The help on desktop sharing does not talk anything about this, thus I am not sure if I should follow that procedure. Besides what if I want encryption enabled? Also the solution asks to uncheck remote-access > enabled, isn't that disabling remote access?

I am hoping to get a solution from a expert and basically looking for the authentic method to correctly configure desktop sharing. Short answer followed by details would be appreciated.

Just reading this page and seems like it is discussing the known issue of Vino. Not yet sure which version of Ubuntu it applies to. But the problem is similar and the most likely solution is to install a different vnc server. (Not sure how it would integrate with desktop sharing application – will keep reading.)

Best Answer

I mistakenly answered the question in the question section above. Copying the answer here...

Finally, after reading a few articles, I figured out the best possible solution:

  1. As Vino (Desktop Sharing) has issues, just don't use it.
  2. Access Ubuntu Software Center
  3. Search for vnc server
  4. x11vnc server turns up as the top rated server, install it.
  5. Enable/Disable SSL encryption, Listening on LocalHost or file transfer as the need be.
  6. Use a VNC client of choice on Windows and connect.

(I enabled SSL but my vnc viewer opens an unencrypted connection for some reason.)

Use ssvnc on Windows to fix this problem. I found this link helpful. Note v1.0.29 probably has a virus or a spyware (Firefox or Antivirus blocks it) use the earlier version.