Article Title: install and configure VNC in CentOS. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories 1. Check whether the vnc client and server have been installed:
[Gavin @ centos ~] $ Rpm-q vnc-server
Package vnc is not installed
Vnc-server-4.0-8.1
Cent OS 5 already contains the vnc installation package
2. Add the user name to the configuration file:
(Note: The "User Name" here refers to the name of a linux User)
[Gavin @ centos ~] # Vi/etc/sysconfig/vncservers
#
# Uncomment the line below to start a VNC server on display: 1
# As my 'myusername' (adjust this to your own ). You will also
# Need to set a VNC password; run 'man vncpasswd' to see how
# To do that.
#
# Do not run this service if your local area network is
Install vnc view on windows, enter xxx. xxx: 2, connect to log on, and enter the password.
NOTE: If connection refused (10061) is prompted when you log on from the vnc view, it is because of a linux Firewall problem. log on to the centos System and select System --> Preferences --> Remote Desktop, check the two items in sharing. If the two items are not checked, click Close and log on again with vnc view.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.