Redhat install vnc

Source: Internet
Author: User

Redhat to install the vnc environment:
Red Hat Enterprise Linux Server release 6.0 (Santiago)
Tigervnc-server-1.0.90-0.15.20110314svn4359.el6.x86_64
1 Installation
When installing Linux, you can select from the installation package. If no installation is available, you can find it in the installation disk.
The component name of the server is vnc-server. Run the rpm-q vnc-server command.
Its output should be package vnc-server is not installed
If the server is not installed, use this command to install it: yum install vnc-server.
2 Configuration
Set password,
Each user in linux can start a vncserver to connect the client. Therefore, each user in linux needs to set a password.
Method: su-to the user, enter: vncpasswd as prompted to enter the password, and then enter the password for client connection.
Configure connection parameters:
Vi/etc/sysconfig/vncservers, add the following content:
VNCSERVERS = "1: root 2: joe" Note: 1, 2, and 3 represent windows. For example, the root user uses window 1, and the joe User 2,
VNCSERVERARGS [1] = "-geometry 640x480-depth 24" NOTE: Specify the resolution and color number for the root user. [1] indicates "1: root"
VNCSERVERARGS [2] = "-geometry 1024x768-depth 16" NOTE: Specify the resolution and color number for the joe User
3 boot
Chkconfig vncserver on
5 Client Connection
First, my iptables service is not enabled. For configuration, refer to iptables first.

Be sure to enter the port number without the 10061 error.





====================
Other commands:
Start vncserver: service vncserver start
Restart vncserver: service vncserver restart
Set vnc password: vncpasswd
View the list of existing services: vncserver-list
Stop a server: vncserver-kill: Service Number
Start a server: vncserver can view the newly added port number through netstat-ant

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.