环境:

server:ubuntu

client:Win7或ubuntu

服务器端

ubuntu

1:在VNC官网下载安装包

VNC for linux:VNC-5.0.5-Linux-x86-ANY.tar.gz

VNC for Windows:VNC-5.0.5-Windows.exe

2,安装VNC server

在ubuntu环境下执行命令:

hadoop@master-server:~/VNC-5.0.5-Linux-x86$ sudo ./vncinstall

Copying vncviewer to /usr/bin

Copying vncviewer.man to /usr/share/man/man1/vncviewer.1

Copying vncaddrbook to /usr/bin

Copying vncaddrbook.man to /usr/share/man/man1/vncaddrbook.1

Copying vncserver-x11 to /usr/bin

Copying vncserver-x11.man to /usr/share/man/man1/vncserver-x11.1

Copying vncserver-x11-core to /usr/bin

Copying Xvnc to /usr/bin

Copying Xvnc.man to /usr/share/man/man1/Xvnc.1

Copying Xvnc-core to /usr/bin

Copying vncserverui to /usr/bin

Copying vncserver-virtual to /usr/bin

Copying vncserver-virtual.man to /usr/share/man/man1/vncserver-virtual.1

Copying vncserver-virtuald to /usr/bin

Copying vncserver-virtuald.man to /usr/share/man/man1/vncserver-virtuald.1

Copying vncserver-x11-serviced to /usr/bin

Copying vncserver-x11-serviced.man to /usr/share/man/man1/vncserver-x11-serviced.1

Copying vncpasswd to /usr/bin

Copying vncpasswd.man to /usr/share/man/man1/vncpasswd.1

Copying vnclicense to /usr/bin

Copying vnclicense.man to /usr/share/man/man1/vnclicense.1

Copying vnclicensewiz to /usr/bin

Copying vncpipehelper to /usr/bin

Copying vncchat to /usr/bin

Copying vncinitconfig to /usr/bin

Copying vncinitconfig.man to /usr/share/man/man1/vncinitconfig.1

Copying get_primary_ip4 to /usr/lib/vnc

Copying vncelevate to /usr/lib/vnc

Updating /etc/pam.d/vncserver

Updating /etc/pam.conf

Looking for font path... /usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins (from xset).

Generating private key:

p: ................................................................................

q: ........................................................

Installed init script for VNC X11 Service-mode daemon

Start and stop the service with:

/etc/init.d/vncserver-x11-serviced (start|stop)

Installed init script for VNC Virtual-mode daemon

Start and stop the service with:

/etc/init.d/vncserver-virtuald (start|stop)2,注册license

hadoop@master-server:~/VNC-5.0.5-Linux-x86$ sudo ./vnclicense

VNC(R) Licensing Utility 5.0.5 (r106461)

Built on Mar 4 2013 13:50:05

Copyright (C) 2002-2013 RealVNC Ltd.

VNC is a registered trademark of RealVNC Ltd. in the U.S. and in other

countries.

Protected by UK patent 2481870.

See http://www.realvnc.com for information on VNC.

For third party acknowledgements see:

http://www.realvnc.com/products/vnc/documentation/5.0/acknowledgements.txt

Usage: vnclicense COMMAND

Commands:

-add KEY Add KEY

-remove Remove the key if there is only one installed

-remove N Remove Nth key shown by "-list"

-remove KEY Remove KEY if it is installed

-list List installed keys

-check Print the number of desktops. Returns 0 if license

installed is valid

3,添加license key

hadoop@master-server:~/VNC-5.0.5-Linux-x86$ vnclicense -check

No licenses installed.

hadoop@master-server:~/VNC-5.0.5-Linux-x86$ sudo ./vnclicense -add WHJRK-UXY7V-Q34M9-CZU8L-8KGFA

Enterprise license key has been successfully applied.

4,启动vncserver

hadoop@master-server:~$ vncserver-virtual

VNC(R) Server 5.0.5 (r106461)

Built on Mar 4 2013 13:46:20

Copyright (C) 2002-2013 RealVNC Ltd.

VNC is a registered trademark of RealVNC Ltd. in the U.S. and in other

countries.

Protected by UK patent 2481870.

See http://www.realvnc.com for information on VNC.

For third party acknowledgements see:

http://www.realvnc.com/products/vnc/documentation/5.0/acknowledgements.txt

Running applications in /etc/vnc/xstartup

VNC Server signature: 82-b1-2d-ab-55-28-ea-72

Log file is /home/hadoop/.vnc/master-server:1.log

New desktop is master-server:1 (地址:1)

客户端

Win7

1,运行VNC-5.0.5-Windows.exe

2,输入IP:会话号,如*.*.*.*:1

即可远程

ubuntu

包:VNC-5.0.5-Linux-x86-ANY.tar.gz

hadoop@slave5:~/VNC-5.0.5-Linux-x86$ sudo ./vncviewer

[sudo] password for hadoop:

hadoop@slave5:~/VNC-5.0.5-Linux-x86$ ./vncviewer

hadoop@slave5:~/VNC-5.0.5-Linux-x86$ ./vncviewer 122.205.7.180:1

hadoop@slave5:~/VNC-5.0.5-Linux-x86$

vnc服务器和客户端怎么配置文件,VNC服务器端与客户端配置相关推荐

  1. nodejs服务器与服务器之间通讯问题(nodejs服务器端创建客户端)

    相信很多开发人员都遇到过服务器主动和其他服务器建立连接的需求. 下面给大家整理了三种在服务器建立客户端的代码,希望能够帮助到您! 下面只是关键代码,请自行修改运行逻辑 1.net模块创建客户端 /** ...

  2. vnc服务器和客户端怎么配置文件,vnc服务器和客户端怎么配置文件

    vnc服务器和客户端怎么配置文件 内容精选 换一换 当CPU内核数很多时,如CPU内核为磁盘数的3倍时的调优配置.以下参数有如下两个配置入口:服务器端配置进入Yarn服务参数"全部配置&qu ...

  3. linux创建vnc服务器,五步建立一个VNC Linux服务器

    [51CTO快译]VNC(Virtual Network Computing)可以让你登录进到远程服务器的桌面上(相比之下,SSH的X11只能让你在本地机器上打开几个窗口).这个很有用,设置起来也十分 ...

  4. 西软服务器linux,FOXHIS前台西软服务器端和客户端安装教程.pdf

    FOXHIS前台西软服务器端和客户端安装教程 西软服务器端和客户端安装教程 前言:网上有很多关于西软 FOXHIS PMS 的安装教程,但大多没有详细描述并且内容非常肤浅粗燥,本特意把 自己的安装过程 ...

  5. udp服务器源码大全,简单UDP服务器端和客户端(源代码) 增加了详细注解

    3. #include //一定要包含该头文件因为该头文件包含了socket api函数声名 4. 5. using namespace std; 6. 7. #pragma comment(lib, ...

  6. 思科服务器的ip怎么配置文件,思科无线AP初始配置IP

    原标题:思科无线AP初始配置IP 思科的无线AP要进行怎样的装备呢?详细操作是什么呢?下面文章给出了几种办法供给参阅. 思科无线AP ethernet接口是没装备IP地址的,是作为dhcp clien ...

  7. 安装和配置VNC服务器的法则

    这是一个关于怎样在你的 CentOS 7 上安装配置VNC服务的教程.当然这个教程也适合 RHEL 7 .在这个教程里,我们将学习什么是 VNC 以及怎样在 CentOS 7 上安装配置VNC 服务器 ...

  8. 怎样在CentOS 7.0上安装和配置VNC服务器

    这是一个关于怎样在你的 CentOS 7 上安装配置 VNC 服务的教程.当然这个教程也适合 RHEL 7 .在这个教程里,我们将学习什么是 VNC 以及怎样在 CentOS 7 上安装配置 VNC ...

  9. CentOS 7.0 上安装和配置 VNC 服务器

    作为一个系统管理员,大多数时间是通过网络管理服务器的.在管理服务器的过程中很少会用到图形界面,多数情况下我们只是用 SSH 来完成我们的管理任务.在这篇文章里,我们将配置 VNC 来提供一个连接我们 ...

最新文章

  1. 人工智能电磁车模如何入手?
  2. 【交换机】MAC-VLAN的功能作用是什么,如何设置
  3. 前端学习(2461):打包发布
  4. Jmeter响应中中文乱码怎么解决?
  5. 【JWT】JWT+HA256加密 Token验证
  6. mysql 循环语句语法_MySQL循环语句之while循环测试
  7. php文件如何转为ppt,pdf文件转换成ppt文件 pdf如何转为ppt
  8. html实现爱情告白(附源码)
  9. 七夕情人节送什么礼物给女朋友?音质好的蓝牙耳机推荐
  10. 禁用计算机的网络连接无线网络连接,电脑设置了禁用网络,连接不上WIFI.怎么解除...
  11. linux绝育玩客云_绝育老母鸡(玩客云)pt下载浅谈
  12. 微信小游戏直播在Android端的跨进程渲染推流实践
  13. 一分钟了解“副词、系动词、情态动词、实意动词的先后位置关系”
  14. H3C交换机常用命令(初学)
  15. CCF CSP 小明放学
  16. TDSCDMA手机N270 新邮通开包尝鲜!
  17. 顺丰快递代码表java_JAVA接入顺丰快递
  18. 硬核!8个类手写一个配置中心!
  19. Windows7下使用Tsmmc.msc远程管理工具的方法
  20. Vulkan Cascade Shadow Map的故事

热门文章

  1. python float和int的区别_Python四种数值类型(int,long,float,complex)区别及转换
  2. 80070583类不存在_结合JVM源码谈Java类加载器
  3. mysql数据库管理文件_数据库管理中文件的使用_MySQL
  4. 【已解答】Linux ./configure --prefix 命令是什么意思?
  5. Linux 下 Redis 6 的安装使用(Ubuntu 18.04)
  6. 计算机d都学啥,信息学奥数基础知识D计算机的基本组成
  7. 三菱a系列motion软体_合肥三菱FR-A840-07700-2
  8. 操作系统(概述、组成)、用户态、内核态
  9. OS / Linux / epoll 各种事件解析
  10. Linux 进程状态详解