Friday, 5 August 2016

How to configure vnc server in Linux

VNC server is a used to share desktop with remote computer. VNC works on client server architecture. To share desktop you need vnc-server package and to access from other computers you need vnc-viewer. In this tutorials I will show you how to configure vnc server.
For demonstration purpose we will use two linux systems. Both systems should have graphics installed.

To configure VNC- Server

Boot system in init 5 or graphic mode. vnc-server rpm is required to configure server check it if not found install it.
rpm
now click on preferences from system and select remote desktop
vnc
This will launch a new window where you can set sharing and security for remote desktop
set password on server
Allow other users to view your desktop check this option if you to present your desktop on other computer
Allow other users to control your desktop Check this options if you want to grant permission to control user desktop to other user
In security tab you can set password for the user who want to connect with server [Recommended]

Configure Linux client

Go on client system and ping server. vnc-viewer rpm is required to configure clients
vnc viewer
check it and if not found install
Now select accessories from application menu and click on vnc viewer
vnc viewer
this will launch a window Give vnc server ip in it and click on ok
give ip in vnc vieawer
Once connected it will ask for password Give the password which you set on server
enter password in vnc
On server side it will show a pop up and ask for permission click on allow
grant permission
After getting permission from server side you can use server desktop on client side
use server desktop

No comments: