I tried to setup a VNC-server on my local server , following tigervnc on archlinux.
What I did:
pamac install tigervnc
I did not edit the file /etc/tigervnc/vncserver.users
because I did not know the syntax.
I did vi ~/.vnc/config
securitytypes=vncauth,tlsvnc
desktop=sandbox
geometry=1200x700
dpi=96
localhost
alwaysshared
Starting the server via systemctl start vncserver@:1
gave
Job for vncserver@:1.service failed because the control process exited with error code.
See "systemctl status vncserver@:1.service" and "journalctl -xe" for details.
and
systemctl status vncserver@:1.service
Mär 22 19:09:57 ManjaroServer systemd[1]: Starting Remote desktop service (VNC)...
Mär 22 19:09:57 ManjaroServer systemd[9904]: vncserver@:1.service: Failed to determine user credentials: No such process
Mär 22 19:09:57 ManjaroServer systemd[9904]: vncserver@:1.service: Failed at step USER spawning /bin/sh: No such process
Mär 22 19:09:57 ManjaroServer systemd[1]: vncserver@:1.service: Control process exited, code=exited, status=217/USER
Mär 22 19:09:57 ManjaroServer systemd[1]: vncserver@:1.service: Failed with result 'exit-code'.
Mär 22 19:09:57 ManjaroServer systemd[1]: Failed to start Remote desktop service (VNC).
By the way, I set a password with vncpassword
What am I to do?
It would be nice to have a roadmap / howto to handle such typical problems without having to study into the deepest corners of an archlinux or manjaro linux.
Thank you!
CJC