---
title: "linux使用vnc"
author: "andyniu"
date: "2016-03-22T10:03:10Z"
tags: []
categories: ["操作系统"]
slug: "linux-vnc"
draft: false
lastmod: "2016-03-22T10:03:10Z"
id: 2180525
url: "https://andyniu.iteye.com/blog/2180525"
---

连linux系统安装oracle等，需要vnc软件。

1、下载VNC-5.2.1-Linux-x64-RPM.tar.gz

2、上传并解压，安装VNC-SERVER

3、启动vncserver。报错如下：

\[root@test2 data]# vncserver   
VNC(R) Server 5.2.1 (r5668) 64-bit (Aug 18 2014 12:26:41)  
Copyright (C) 2002-2014 RealVNC Ltd.  
VNC is a registered trademark of RealVNC Ltd in the U.S. and in other  
countries.  
Protected by UK patent 2481870; US patent 8760366.  
See [http://www.realvnc.com](http://www.realvnc.com/) for information on VNC.  
For third party acknowledgements see:  
[http://www.realvnc.com/products/vnc/documentation/5.2/acknowledgements.txt](http://www.realvnc.com/products/vnc/documentation/5.2/acknowledgements.txt)

Error: No license keys found.

表名没有license

上网找了个，输入如下：

vnclicense  -add WHJRK-UXY7V-Q34M9-CZU8L-8KGFA

然后启动VNC

vncserver

 

电脑上双击vnc客户端。

连接192.168.153.80:1

输入用户名密码。进入系统