Parallels installs its own proprietary drivers which are a little quirky, but I don't think they're related to the problem here.
The server is auto-configuring, and I ran "Xorg -configure" to have a peek at what it thought the configuration should be. It was sane enough.
So I added the file /etc/X11/xorg.conf.d/20-vnc.conf with the contents:
Section "Module"
Load "vnc"
EndSection
Section "Screen"
Identifier "Screen0"
Option "SecurityTypes" "None"
# Option "SecurityTypes" "VncAuth"
# Option "UserPasswdVerifier" "VncAuth"
# Option "PasswordFile" "/etc/X11/.vncpasswd"
Option "AlwaysShared" "yes"
EndSection
and restarted the server via logging out and logging back in again.
But when I run vncviewer I get:
[philipp@centos6 ~]$ vncviewer -log "*:stderr:100" -Shared :0
TigerVNC Viewer for X version 1.1.0 - built May 11 2016 13:00:50
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Wed Dec 28 16:37:29 2016
Config: set Shared(Bool) to 1
Config: set AutoSelect(Bool) to 1
Config: set CustomCompressLevel(Bool) to 0
Wed Dec 28 16:37:30 2016
CConn: connected to host localhost port 5900
CConnection: reading protocol version
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
CConnection: processing security types message
CConnection: Server offers security type VncAuth(2)
CConnection: Choosing security type VncAuth(2)
CConnection: processing security message
Wed Dec 28 16:37:33 2016
CConnection: processing security result message
CConnection: processing security result message
CConnection: auth failed
main: No password configured for VNC Auth
[philipp@centos6 ~]$
Note the wrong SecurityType being selected.
The "Load "vnc"" is definitely being seen, since the VNC server is talking to us (otherwise we'd get a Connection refused error).
But the "SecurityTypes" option is not.
This is probably something as simple as it is obscure. But I've been staring at it for most of the morning and I'm not gaining any ground.
Any suggestions on how to progress on this?
Thanks,
-Philip
> Please check the X server log as well. It should tell you what the VNC
> server is up to.
>
> Regards
Unfortunately, the log doesn't have anything very useful. It shows it parsing the Load "vnc" directive, and that's about it: http://paste.fedoraproject.org/514792/83032820/
Cheers,
-Philip