After saving the file start the VNC service as below:
[root@rhel1 ~]# service vncserver start Starting VNC server: 1:user1 New 'rhel1.lab.com:1 (user1)' desktop is rhel1.lab.com:1 Starting applications specified in /home/user1/.vnc/xstartup Log file is /home/user1/.vnc/rhel1.lab.com:1.log [ OK ] [root@rhel1 ~]#
5. Access linux remote desktop
For accessing the Linux remote desktop from the Linux OS use below command.
Now to take this Linux remote desktop session from the windows server you must download the tiger vnc java enabled viewer from this link.
Once download click on the jar file named as “tightvnc-jviewer.jar”. and enter the ip of server under remote host box.
Once clicked on Connect Button system will ask for password . Please enter user1’s vnc password set within step3 using vncpasswd command.
You are now finally connected to Linux remote desktop.