VNC服务器端与客户端配置

2023-05-16

环境:

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$




本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

VNC服务器端与客户端配置 的相关文章

  • 阿里云Linux服务器安装可视化桌面,登录VNC提示Login incorrect*

    登录VNC提示Login incorrect 解决方法只要分为两步 xff1a 1 重置VNC密码 xff1a 先重置VNC密码 xff0c 重置后重启 xff0c 按照要求重置 xff0c 重置成功后会看到右上角出现一个重置成功的字样 2
  • VNC之免交互式设置用户登录密码

    VNC之免交互式设置用户登录密码 由于有几十台机器 xff0c 每台机器需要配置4个VNC账号 xff0c 手动配置太费劲了 xff0c 这里使用免交互式配置密码 xff0c 可以将其改在脚本中 xff0c 减少配置时间 方法一 span
  • 本地vnc(TigerVNC)远程linux server,提示拒绝连接

    可能原因 amp 分析 xff1a 可确认下初始的系统环境变量是否被改动 xff0c 如新安装的anaconda自动添加到环境变量 xff0c 且放置在系统的原有环境变量的前面 xff0c 可尝试将后加的环境变量编辑到后面 xff0c 再重
  • vnc连接树莓派,出现cannot currently show the desktop

    解决办法 xff1a ssh连接上设置正确的分辨率即可
  • 树莓派VNC连接失败,认证界面无法输入用户名

    文章目录 问题背景思考 xff1a 解决方法 xff1a 第一步 xff1a 使用命令新建桌面 xff1a 第二步 xff1a vnc客户端连接时 xff0c 并且指定桌面号连接成功 xff01 优化方案 xff1a 参考引用 问题背景 由
  • 在Ubuntu 16.04上安装和配置VNC

    目录 1 VNC客户端配置2 VNC服务端配置2 1 本机远程连接服务器2 2 更新依赖包2 3 安装Xfce桌面环境2 4 安装tightvncserver 3 客户端VNC连接服务端4 关于VNC的一些指令5 设置VNC开机自启动 1
  • VNC Viewer 10061, connection refused

    在Windows系统下用VNC Viewer去连接Linux系统的VNC Server xff0c 双方都可ping通 xff0c 但是VNC Viewer连接不上 xff0c 显示connection refused 10061 xff0
  • ubuntu VNC连接树莓派

    其实ubuntu vnc连接树莓派很简单 xff0c 首先给树莓派安装vnc服务 xff0c 然后打开vnc服务 xff0c 最后ubuntu用远程桌客户端测试连接就好了 不过要注意连接前一定要打开vnc服务 xff0c 树莓派连接要有控制
  • 【树莓派】解决树莓派4B不连接显示器开机后,用VNC无法显示画面 (cannot currently show the desktop)问题

    树莓派4B不连接显示器开机后 xff0c 用VNC无法显示画面 xff08 cannot currently show the desktop xff09 原因 树莓派没接显示器时 xff0c 执行的是默认分辨率 xff0c 这个分辨率VN
  • 树莓派连接vnc教程

    1 输入 sudo raspi config 进入到系统设置中开启vnc服务 2 进入后选择 Interfacing Options 进入 3 选择 VNC 进入 4 yes 下载软件 xff1a VNC Viewer 5 连接vnc xf
  • NVIDIA Jetson TX2 通过vnc 桌面控制

    1 安装Xrdp Windows远程桌面使用的是RDP协议 xff0c 所以ubuntu上就要先安装Xrdp xff0c 在ubuntu软件中心搜索xrdp安装 安装xrdp的同时会自动安装vnc4server xbase clients组
  • vnc的两种配置方法及解决vnc连不上的情况

    1 vnc连不上的现象 xff1a Timed out waiting for a response from the computer 解决方法 xff1a sudo sbin iptables I INPUT 1 p TCP dport
  • CentOS7.x安装VNC实录

    不知不觉 centos已经到7 6了 在服务器操作系统中 centos是用的比较多的 占很大的比例 由于7 x版本和6 x版本有区别 最近安装了7 6的VNC 特记之 VNC需要系统安装的有桌面 如果是生产环境服务器 安装时使用的最小化安装
  • secure-CRT问题解答

    secureCRT secureCRT可以作为windows下连接远程linux服务器的工具 注意 ssh2是加密的连接 ssh服务监听的是22端口 Ssh secure shell 到目前为止共有两个不兼容的版本 ssh1和ssh2 Ss
  • ubuntu一键安装vnc脚本

    在Ubuntu16 04上测试过 其它机器请自行测试 注意 此脚本默认会重启机器 如果不想重启请注释或删除掉最后一步 脚本名称 ubuntu1604VNC 脚本描述 自动安装配置和自动启动X11Vnc 软件版本 0 1 注意事项 运行完5秒
  • Centos 7 VNC配置及黑屏原因 (图文教程)

    Centos 7 VNC配置或安装的教程很多 鱼龙混杂 这里写一篇经过实践证明的真理配置方法 以正视听 Centos 7 安装VNC非常简单 要比Ubuntu简单多了 因为Ubuntu默认Unity桌面不支持VNC 1 关闭防火墙 syst
  • 如何在 CentOS 7 上安装和配置 VNC

    在本教程中 我们将引导您完成在 CentOS 7 系统上安装和配置 VNC 服务器的步骤 我们还将向您展示如何通过 SSH 隧道安全地连接到 VNC 服务器 虚拟网络计算 VNC 是一种图形桌面共享系统 允许您使用键盘和鼠标远程控制另一台计
  • 如何在 CentOS/RHEL 和 Fedora 上设置 VNC 服务器(Linux 远程桌面访问)

    VNC 虚拟网络计算 服务器支持 Linux 系统的远程桌面访问 类似于MSTSC在窗户中 一般来说Linux管理员不喜欢使用Windows访问 但有时我们需要访问Linux的远程桌面 在这种情况下 我们需要在 Linux 系统上安装 vn
  • Windows MIrror 驱动程序 远程显示驱动程序 VNC 服务器 Windows 8

    我正在开发远程桌面服务器的驱动程序 像 UltraVNC 内部协议 之类的东西 首先我发现 Windows 8 不支持镜像驱动程序 作为远程显示驱动程序的 DDI 的唯一子集 1 这是否意味着我需要为 Windows 8 实施远程显示驱动程
  • Linux:通过网络进行屏幕桌面视频捕获和 VNC 帧速率

    抱歉 文字墙很长 TL DR VNC 连接的帧速率是多少 以帧 秒为单位 或者更确切地说 由谁决定 客户端还是服务器 对于桌面屏幕捕获的任何其他建议 但 正确的时间编码 具有不抖动的帧速率 具有稳定的周期 并有可能将其作为未压缩 或无损 图

随机推荐

  • Microzone遥控器简单说明与电调设置

    问题背景 我和小伙伴在制作双旋翼练手的过程中遇到不知道怎么用遥控器设置电调参数的问题 xff0c 在一番查找资料之后我们成功解决 xff0c 并就此记录 xff0c 可供其他朋友一起学习 纠正 分享 xff08 我们以前跟着学长做的时候好像
  • 第一篇——APM飞控学习笔记

    关于什么是APM xff1f 可能有很多玩航模或者是向我这样混迹于实验室的垃圾佬 xff08 bushi xff09 看到过这个玩意 gt gt gt 从狭义上来说 xff0c 这个就是APM开源飞控 APM又叫ArduPilot auto
  • 张筱雨履历

    自出道以来便以清纯可爱风格 席卷全球 幽雅的姿态 迷人的身姿 无不透露出深刻内涵的底蕴 被誉为中国第一 姓名 xff1a 张筱雨 出生日期 xff1a 1985年06月06日 职业 xff1a 模特 性别 xff1a 女性 籍贯 xff1a
  • Nuttx学习笔记之板级设备驱动初始化

    工具 xff1a FRDM KL25Z开发板 问题 xff1a 在调试PWM驱动的过程中一直无法找到设备节点 1 查找pwm注册pwm register的地方 gt board app initialize gt kl pwm setup
  • ubuntu18.04配置px4编译环境

    1 简介 一直想要在大学玩一玩四旋翼 xff0c 原本打算有时间了自己写一个飞控 后来知道了有PX4这个开源项目 xff0c 是个非常好的学习项目 xff0c 同时这个项目有一整套的系统 xff08 地面站 硬件等 xff09 觉得自己没有
  • make px4_sitl gazebo报错:FAILED: ROMFS/romfs_extract.stamp

    正在ubuntu18 04编译PX4的代码 xff0c 解决ignition math库报错后 xff0c 重新运行make px4 sitl gazebo xff0c 出现新的报错 span class token punctuation
  • PX4源码解析(一):bootloader

    1 简介 阅读PX4的代码不能用裸机的思维去读 xff0c 不能一开始就去找main函数 xff0c PX4的代码运用了自己的OS xff1a Nuttx 本文的环境 xff1a 硬件 xff1a Holybro Pixhawk 4 FMU
  • 启动运行.launch报错[robot_launch.launch] is neither a launch file in package nor is a launch file name

    完整的错误是 xff1a robot launch launch is neither a launch file in package kinova gazebo nor is kinova gazebo a launch file na
  • ROS教程中Publisher和Subscriber (Python)的说明

    Publisher和Subscriber Python 的说明 1 编写发布节点2 编写订阅节点3 编译现在的节点 1 编写发布节点 roscd beginner tutorials 切换到package文件夹下 mkdir scripts
  • 【酒店管理系统】(三)项目介绍-RuoYi

    避免重复轮子 xff0c 本系统使用开源的若依管理系统 v 3 8 4 进行二次开发 xff0c 想了解更多可以访问官方gitee仓库 一 写在前面 避免重复造轮子 xff0c 本系统使用开源的若依后台管理系统 Gitee仓库 进行二次开发
  • 2021年中国工业级无人机市场规模将达296.4亿元

    来源 xff1a 赛迪顾问
  • 如何克隆centos系统

    一 软件准备 centos系统 链接 xff1a https pan baidu com s 1sFlMD0ZIAmjD4qZQLPPGpA 提取码 xff1a kdx5 VM软件 链接 xff1a https pan baidu com
  • 非常好的理解遗传算法的例子

    遗传算法的手工模拟计算示例 为更好地理解遗传算法的运算过程 xff0c 下面用手工计算来简单地模拟遗传算法的各 个主要执行步骤 例 xff1a 求下述二元函数的最大值 xff1a 1 个体编码 遗传算法的运算对象是表示个体的符号串 xff0
  • 关于git clone的时候,如果他一直提示你You do not have permission to pull from the repository 解决方案

    其实很简单 控制面板 所有控制面板项 凭据管理器 添加普通凭据 git https gitee com 注意地址写这个就好了 用户名 密码就是你的用户名密码
  • C++不同发展方向的知识点储备

    收集自各招聘要求 xff0c 基本包括了C 43 43 不同的发展方向和所要具备的基本知识和技能点 还是那句 xff0c 基础最重要 xff0c 不变应万变 以下收集内容供参考学习 一 服务器程序员流媒体后台游戏后台高性能服务器后台二应用开
  • 搜索,推荐,广告系统架构及算法技术资料大合集吐血整理——2020年终分享

    算法学习资料 xff1a AI Tutorial 架构 搜索 推荐 广告系统优质资源 你还在为学习算法摸不着头脑么 xff1f 你还在为技术调研各种Google么 xff1f AI的牛b吹不上去 xff1f 盯紧了 xff0c 这里就是你的
  • ROS自定义地图(CAD、手绘等)

    0x00 概述 在前面的文章中 xff0c 我们介绍如何自动导航时 xff0c 都是基于使用gmapping或者hector mapping创建的地图 当然使用其他的建图方法创建的地图也可以 xff0c 但是目前为止 xff0c 无论使用哪
  • tiechui_lesson01_入口函数和卸载函数

    主要讲解入口函数和卸载函数 include lt ntifs h gt VOID nothing HANDLE ppid HANDLE mypid BOOLEAN bcreate UNREFERENCED PARAMETER ppid UN
  • 个人面试经验分享

    九月 十月是收获的季节 xff0c 也是奔波的季节 我也不例外 xff0c 没有特殊的机遇 xff0c 也是经历了一次残酷的海选啊 xff0c 把我经历简单的分享给各位学弟学妹们 我数了一下大概面了六家公司 xff1a 阿里 xff0c 华
  • VNC服务器端与客户端配置

    环境 xff1a server ubuntu client Win7或ubuntu 服务器端 ubuntu 1 xff1a 在VNC官网下载安装包 VNC for linux VNC 5 0 5 Linux x86 ANY tar gz V