Showing posts with label no security types supported. Show all posts
Showing posts with label no security types supported. Show all posts

Sunday, September 30, 2018

VNC connections to ubuntu 18.04LTS

After installing x11vnc there were the dreaded "unsupported security types" error message.


I tried several things, including disabling the "wayland vnc server" in " /etc/gdm3/custom.conf".

Nothing worked, in the end I just installed "lightdm" instead of the "gdm3". And after enabling screen sharing in the gui settings I had my vnc connection up and running again.




Monday, September 18, 2017

Setup realvnc server on raspberry headless using tightvncviewer

When I tried to connect to my headless raspberry via tightvncviewer I got the following message:






It appears that you have to install a viewer from realvnc ($? or registration?) in order to connect.


So I logged in to the raspberry via ssh and started a virtual vnc screen:



vncserver-virtual -Encryption PreferOn -Authentication VncAuth
This starts a new, virtual vnc server with the standard vnc authentications, tightvncviewer can connect to this one.

From this vnc connection I started a realvncviewer session to "localhost"


Allowing me to change the options for the default vnc server connected to the "screen" (port 5900 or :0) on the raspberry.



Accessing the options on the :0 realvnc server via realvnc viewer from a virtual (:1) realvncviewer from tightvncviewer.


From the options change Security/Authentication from "UNIX password" to "VNC password".



Now it is possible to connect directly to the realvncserver from tightvncviewer.