I recently attempted to:
yum install -y tigervnc-server.x86_64
I followed all the instructions contained in the the file:
which I found when I read the contents of /etc/sysconfig/vncservers
When I tried to start the service
[root@localhost bin]# service vncserver start
Redirecting to /bin/systemctl start vncserver.service
Failed to issue method call: Unit vncserver.service failed to load: No such file or directory
I then tried just running Xnvc supposedly this starts VNC Server but then I check and even though it looks like things are running I get timeouts when I try to connect.
NOTE I also set the iptables firewall on the server to allow tcp ports 5901, 5902 etc...
What file or directory would the program be looking for??
Just as a test I ran Xvnc with no arguments and it appears to have started something.
I tried to connect to it but got timeouts when I tried connecting raw to the CentOS server
Note the following appeared when I ran Xvnc
[root@localhost bin]# ps -ef|grep Xvnc
root 28907 1 0 22:52 pts/0 00:00:00 ./Xvnc :1 -desktop localhost.localdomain:1 (root) -auth /root/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -pn
root 30902 28565 0 23:19 pts/0 00:00:00 grep --color=auto Xvnc