You are not logged in.

#1 2024-01-13 15:57:08

Wormss9
Member
Registered: 2024-01-13
Posts: 4

TigerVNC libvnc.so "No password configured for VNC Auth"

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

#2 2025-10-12 18:09:08

rosamez
Member
Registered: 2010-08-14
Posts: 7

Re: TigerVNC libvnc.so "No password configured for VNC Auth"

Could you find a solution for this problem?

Offline

#3 2025-10-12 18:13:19

Wormss9
Member
Registered: 2024-01-13
Posts: 4

Re: TigerVNC libvnc.so "No password configured for VNC Auth"

rosamez wrote:

Could you find a solution for this problem?

No

Offline

#4 2025-10-12 20:31:11

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,051

Re: TigerVNC libvnc.so "No password configured for VNC Auth"

There're two major problem here:
1. the options seems somehow ending up w/ the modesetting module, please post the entire xorg log
2. ~/.local/share/xorg/Xorg.0.log very strongly indicates a rootless server meaning you won't be able to access /root/.vnc/passwd ( https://wiki.archlinux.org/title/Xorg#Rootless_Xorg )

Online

Board footer

Powered by FluxBB