I have a working Xvnc configuration, I created the socket file, the service file, etc. Using GNOME and gdm3 without wayland, since still need x11, and of course XDMCP enabled. Everything is working fine.
However, when I switch from Xvnc binary to the tigervncserver binary I get, from tigervnc viewer, I get "An unexpected error occurred while communicating with the server: Reading version failed, not an RFB server?"
The only change in the configuration as outlined above is the following...
# This works...
ExecStart=/usr/bin/Xvnc -inetd -query localhost -once securitytypes=None
# This does not work...
ExecStart=/usr/bin/tigervncserver -inetd -query localhost -once securitytypes=None --I-KNOW-THIS-IS-INSECURE
The logs show nothing of note on the tigervncserver side, and the error message implies client side? No? Is this a bug of some kind in tigervnc viewer?
Below is the socket file and service files for reference...
```
/etc/systemd/system/tigervncserver.socket
[Unit]
Description=Tiger VNC Server Socket
[Socket]
ListenStream=5900
Accept=yes
[Install]
WantedBy=sockets.target
```
Below works...
```
nano /etc/systemd/system/tigervncserver@.service
// Add/Change...
[Unit]
Description=Tiger VNC Server (XDMCP) Session
After=network.target
[Service]
ExecStart=/usr/bin/Xvnc -inetd -query localhost -once securitytypes=None
StandardInput=socket
[Install]
WantedBy=multi-user.target
```
Below does not work...
```
nano /etc/systemd/system/tigervncserver@.service
// Add/Change...
[Unit]
Description=Tiger VNC Server (XDMCP) Session
After=network.target
[Service]
ExecStart=/usr/bin/tigervncserver -inetd -query localhost -once securitytypes=None --I-KNOW-THIS-IS-INSECURE
StandardInput=socket
[Install]
WantedBy=multi-user.target
```
Any assistance greatly appreciated. Thanks.