Install VNC-Server in CentOS 6.5

Source: Internet
Author: User

Install VNC-Server in CentOS 6.5

Since the first time I learned linux with great care, I started from scratch. Setbacks and difficulties are inevitable.

The installation of vnc-server may seem like a yum command in the eyes of others. However, it may be because I am a beginner, I have problems installing CentOS, and I have all kinds of errors. Fortunately, I insisted on various Baidu and finally installed it successfully. The following is a summary of my problems. There are also solutions.

Because the problem is solved while the webpage is closed, the specific problem points are not too clear. Please forgive me.

In fact, writing this is for yourself, in case that such problems will not be solved in the future, although the human brain is better than the computer, but there is no computer intuitive ..

1. Because my GNOME Desktop GUI is installed, it runs directly.

# Yum installl-y tigervnc-server tragedy. The following error is reported:

Cannot retrieve repository metadata (repomd. xml) for repository this is just a keyword. Below is a solution

# Cd/etc/

# Ls

# Vi/etc/yum. repos. d/CentOS-Media.repo

Find yum. repos. d. This directory contains a file zl. repo (your machine may not be the name, the name should be custom), vi compile the address baseurl = http://centos.ustc.edu.cn/centos/5/ OS /i386/

2. After performing the above operations, continue

# Yum installl-y tigervnc-server tragedy. The following error is reported:

No package tigervnc-server available.

Error: Nothing to do

Then I checked it.

# Rpm-q tigervnc-server

Sure enough.

Package tigervnc is not installed

Package tigervnc-server is not installed

Finally, Baidu suddenly went to a blog in centos, tigervnc-server, which is vnc-server! (After a long time, I was a newbie. I mistakenly named the package and loaded it to make it a ghost)

Then execute with great enthusiasm

# Yum-y install vnc-server unfortunately, the tragedy still happened and the following error is reported:

Warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY

Retrieving key from file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 solution as follows

# Rpm -- import http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

After executing this command, it's really easy to repeat it again.

# Yum-y install vnc-server

Complete! At last, it was a burst of tears.

Root @ bkjia ~] # Rpm-q vnc-server

Vnc-server-4.1.2-14.el5_6.6.i386

Vnc-server is finally installed on centos.

VNC installation Configuration

Install and configure VNC in CentOS 6.3

In Linux, the dependency installation VNC is not detected.

CentOS6 VNC service installation and configuration

VNC remote control installation and Setup

Windows accesses Ubuntu through VNC

Install VNC for accessing Ubuntu 12.04 through Windows Remote Desktop

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.