You are not logged in.
I'm trying to expose my local display
I do have /etc/X11/xorg.conf.d/10-vnc.conf and it contains
Section "Module"
Load "vnc"
EndSection
Section "Screen"
Identifier "Screen0"
Option "UserPasswdVerifier" "VncAuth"
Option "PasswordFile" "/root/.vnc/passwd"
EndSection
In ~/.local/share/xorg/Xorg.0.log I can find that I'm loading it but it looks like neither UserPasswdVerifier nor PasswordFile get used.
[ 14.929] (II) LoadModule: "vnc"
[ 14.929] (II) Loading /usr/lib/xorg/modules/extensions/libvnc.so
[ 14.949] (II) Module vnc: vendor="TigerVNC Project"
[ 14.949] compiled for 1.21.1.6, module version = 1.0.0
[ 14.949] Module class: X.Org Server Extension
[ 14.949] ABI class: X.Org Server Extension, version 10.0
[ 15.026] (WW) modeset(0): Option "UserPasswdVerifier" is not used
[ 15.026] (WW) modeset(0): Option "PasswordFile" is not used
/root/.vnc/passwd exists
-rw------- 1 root root 8 jan 13 16:05 passwd
Running it using vncserver@.service also works but I'm having trouble launching some graphical applications that way.
Trying to connect this way returns
CConn: Authentication failure: Authentication failure: No password
configured for VNC Auth
Offline