You are not logged in.
I am trying to setup VNC remote access to physical X session.
I have configured the following in xorg.conf.d/60-vpn.conf
Section "Module"
Load "vnc"
EndSection
Section "Screen"
Identifier "VNC Screen"
Option "PasswordFile" "/home/username/.vnc/passwd"
Option "AlwaysShared"
Option "AcceptKeyEvents" "1"
Option "AcceptPointerEvents" "1"
EndSectionI have used vncpasswd to generate the /home/username/.vnc/passwd file. I have gdm.service configured, and I can see xorg.bin listening on port 5900 as expected.
Yet when I try to connect via vncviewer I get the following error: "No password configured for VNC Auth".
On the server side I get the following error in the logs,
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VeNCrypt(19)
SVncAuth: neither Password nor PasswordFile params set
SConnection: AuthFailureException: No password configured for VNC AuthI can't understand why I am getting this error, considering that I have PasswordFile set and have used vncpasswd to generate password file.
Can somebody kindly help me understand the issue over here?
Thanks for your patience in reading a rather long message.
Offline
Ok. I figured out the problem. Never mind!
Offline
So what was the solution?!?!?
Offline