Issues configuring vnc for mirroring console on CentOS 6.8

PhilipP1

Bit poster
I'm using CentOS 6.8 on Sierra, and I've installed the tigervnc-server-module. Since Xorg 1.17.4 (which I'm running) likes to auto-configure, I've had to ask it for a static configuration by running "Xorg -configure" from run-level 2 so I could see what it thinks my configuration is.
I moved the file /root/xorg.conf.new to /etc/X11/xorg.conf and edited it accordingly.
To the "Module" section I've added:
Code:
Section "Module"
    ...
    Load "vnc"
EndSection

and to the "Screen" section I've added:
Code:
Section "Screen"
    Identifier "Screen0"
    ...
    Option "SecurityTypes" "None"
EndSection
and then changed run-level to 5 to start the X server.
However, when I try to connect to it, I see that the "vnc" module hasn't taken the SecurityTypes parameter:
Code:
[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 14:43:44 2016
 Config:  set Shared(Bool) to 1
 Config:  set AutoSelect(Bool) to 1
 Config:  set CustomCompressLevel(Bool) to 0
 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 14:43:49 2016
 CConnection: processing security result message
 CConnection: processing security result message
 CConnection: auth failed
 main:  No password configured for VNC Auth
[philipp@centos6 ~]$
because it's offering me SecurityType VncAuth per above.
Has anyone else managed to get the console X section mirrored by VNC? Can you post how you did in a reply?
Thanks,
-Philip
 
Back
Top