Out of the box VNC screen sharing incompatible with most windows clients due to restrictive choices of authentification method

Bug #1938989 reported by Joe Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

"No support authentication methods"

Is what ultravnc will tell you when you try to vnc to your RPi.

You might find a post regarding disabling "require encryption"
https://askubuntu.com/questions/1126714/vnc-viewer-unable-to-connect-encryption-issue
by typing gsettings set org.gnome.Vino require-encryption false
But what will fail with error
No such schema “org.gnome.Vino”

You might then find this post which says, only RealVNC supported the required UNIX password method
https://www.raspberrypi.org/forums/viewtopic.php?t=170030

So you install RealVNC only to find that
It fails to connect with "No matching security types"

Searching for the No such schema error will lead you to believe that you don't have vino after all
https://askubuntu.com/questions/1114207/vino-no-such-schema-of-org-gnome-vino

That's when you discover you actually have vnc-server installed ...

Hey that's the one made by RealVNC, what gives it don't work with the client out of the box ?!

pi@camtest:~ $ ps aux | grep -i vnc
root 432 0.0 0.2 8628 2172 ? Ss 02:15 0:00 /usr/bin/vncserver-x11-serviced -fg
root 439 0.0 1.9 32608 17672 ? S 02:15 0:01 /usr/bin/vncserver-x11-core -service
root 484 0.0 0.4 11480 4348 ? S 02:15 0:00 /usr/bin/vncagent service 15
pi 628 0.1 1.4 32036 12696 ? S 02:15 0:01 /usr/bin/vncserverui service 16
pi 667 0.0 1.6 31984 15120 ? S 02:15 0:00 /usr/bin/vncserverui -statusicon 5
pi 1073 0.0 0.0 7348 548 pts/0 S+ 02:39 0:00 grep --color=auto -i vnc

At that point you will probably search for the vncserver configuration panel in the LXDE main menu.
Then you will ask google how search LXDE main menu and find nothing
Your search is in vain, there is no vncserver configuration page in the main menu

Okay, let's see what config file is this using

find /etc/ | grep -i vnc

probably /etc/vnc/config ? Maybe not
Google, what is vncserver linux config disable password ?

VNC Server Parameter Reference, sounds good !

Okay, looks like the magic word is VncAuth
Google, please use VncAuth none in a sentence ?

Ok, maybe the magic word is SecurityTypes ?

Ok, really tired, been on this for several hours ...
I'm going to settle on writing "-SecurityTypes none" everywhere until it does something
/etc/vnc/config.d/common says go to /etc/vnc/config.d/common.custom, ok let's try that !

Doesn't work, maybe SecurityTypes=none

Nope

Maybe this page will help
https://help.realvnc.com/hc/en-us/articles/360002253878-Configuring-VNC-Connect-Using-Parameters
Authentication=SystemAuth

So maybe Authentication=None
Nope

Ok I am out of patience, I will go to my bed and refuel patience as it is now 03h30

Good night

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.