The config file is missing?
The "Initial setup" section contains this phrase:
> Edit /etc/tigervnc/vncserver.users to define user mappings.
But after installing the tigervnc package the file does not exist in the FS. Should I create it first?
- Kuba-orlik, please sign you edits with four tildes. Update your system, suspect you have an old version of tigervnc since that file is provided by the package Graysky (talk) 08:41, 29 September 2020 (UTC)
- I have the version `1.10.1-2` installed, although I can't find the file with `pacman -F vncserver.users`. I think that it might be caused by the fact that I use Manjaro and it's packaged differently there. Kuba-orlik (talk) 15:35, 30 September 2020 (UTC)
Gnome - black screen if same user is already connected locally
Took me a while to find so maybe you could consider adding a new troubleshooting section. Apparently having
.vnc/config is not a good idea if a local Gnome session is running under the same user. More details at https://github.com/TigerVNC/tigervnc/issues/1126
Manually creating a config file prevents connections.
In https://wiki.archlinux.org/title/TigerVNC#Initial_setup the instruction to create the ~/.vnc/config file causes the VNC server to reject all connections other than localhost effectively negating the whole concept of the VNC. I spent over an hour figuring out why I couldn't connect from another computer and deleting the ~/.vnc/config that was originally suggested fixed the issue.
I understand that there is a security aspect to doing it this way, but its frustrating to people trying to setup for the first time. Suggest modifying the instructions to implementing security steps so that creating this file doesn't frustrate the person following this guide.
UPDATE: So the rational for this config file that is not explained is that it is designed for users to ssh in then initiate the VNC connection. I've added a note after the step to direct users to accomplish the security aspect of connecting to the VNC server.