VNC is a remote control system which use the RFB protocol to remotely control to another computer which allow user to take view and full control of the computer.
Install VNC
Before start on using VNC in Linux,make sure that VNC is installed/install the VNC.
Install VNC through YUM commands (RECOMMENDED to install using Root)
# yum install vnc
After the vnc is installed successfully, we move on to the setting the password for your vncserver.
To create the password for you vncserver is not very difficult, just enter the following command and type a valid password.
#vncpasswd
After the password for vncserver is being created,it's time to create an instance to allow people to remote in.
The good point of VNC is every single account in linux can run more than one vnc server.
To start an instance of VNC server , just type the vncserver command which will create the
HOME/.vnc directory with vnc default startup script inside and use the display port 5901
Example of starting a VNC.
By executing the command again, it will create another vnc server with the same user again and use the port 5902. Repeatly doing it will create more and more vnc server even with the same user using 5903,5904 onwards.
Kill VNC Server
To kill VNC server is simple easy by just typing the following command
#vncserver -kill:1
It will kill the vnc server for port 5901.
VNC from windows to Linux.
Download the software and install RealVNC to VNC into Fedora. http://www.realvnc.com/
From windows , open vncviewer.exe and type 192,123.XX.XX:1 (enter ur target computer ip address and the display port that you open.)
VNC from Linux to Others
From the terminal line type the following example to VNC into other Linux/windows.
#vncviewer IPADDRESS:DISPLAYPORT
No comments:
Post a Comment