How to configure vnc server in Linux (Cent OS7) server to access from windows and Linux machines.
I have tried with Tiger VNC but its not working every time after reboot the system. Please suggest other than Tiger VNC.
How to configure vnc server in Linux (Cent OS7) server to access from windows and Linux machines.
I have tried with Tiger VNC but its not working every time after reboot the system. Please suggest other than Tiger VNC.
Given are the steps to install and configure VNC server in centOs:
replaced USER with riddhi in this file
ExecStart=/usr/sbin/runuser -l USER -c "/usr/bin/vncserver %i -geometry 1280x1024" PIDFile=/home/USER/.vnc/%H%i.pid
//update password for user riddhi
Now connect to centOs from Windows:
IP: ip address:5901
password : password of vncpasswd
Judging by your wording, it sounds like Tiger VNC is working just fine until you reboot. This is because the service is not set to start VNC automatically.
By following the guide found here (specifically step 3) you will have written your own .service
file and all you need to do is run:
sudo systemctl enable whateveryoucalledyour.service
and it will start automatically every time the system is booted.