前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Linux 安装VNC

Linux 安装VNC

作者头像
程裕强
发布2022-05-06 17:09:10
9.8K0
发布2022-05-06 17:09:10
举报
文章被收录于专栏:大数据学习笔记

搜索yum包

[root@hadron ~]# yum search tiger 已加载插件:fastestmirror, langpacks Loading mirror speeds from cached hostfile  * base: mirrors.aliyun.com  * extras: mirrors.aliyun.com  * updates: mirrors.aliyun.com ========================================================== N/S matched: tiger ==================================================== tigervnc.x86_64 : A TigerVNC remote display system tigervnc-icons.noarch : Icons for TigerVNC viewer tigervnc-license.noarch : License of TigerVNC suite tigervnc-server.x86_64 : A TigerVNC server tigervnc-server-applet.noarch : Java TigerVNC viewer applet for TigerVNC server tigervnc-server-minimal.x86_64 : A minimal installation of TigerVNC server tigervnc-server-module.x86_64 : TigerVNC module to Xorg

  名称和简介匹配 only,使用“search all”试试。

安装 tigervnc服务端 [root@hadron ~]# yum install -y tigervnc-server 已加载插件:fastestmirror, langpacks Loading mirror speeds from cached hostfile  * base: mirrors.aliyun.com  * extras: mirrors.aliyun.com  * updates: mirrors.aliyun.com 正在解决依赖关系 --> 正在检查事务 ---> 软件包 tigervnc-server.x86_64.0.1.3.1-9.el7 将被 安装 --> 解决依赖关系完成 依赖关系解决

=====================================================================

Package 架构 版本 源 大小

=====================================================================

正在安装:

tigervnc-server x86_64 1.3.1-9.el7 base 203 k

事务概要 ===================================================================== 安装  1 软件包 总下载量:203 k 安装大小:493 k Downloading packages: tigervnc-server-1.3.1-9.el7.x86_64.rpm                                                                                                                | 203 kB  00:00:00      Running transaction check Running transaction test Transaction test succeeded Running transaction   正在安装    : tigervnc-server-1.3.1-9.el7.x86_64                                                                                                                       1/1   验证中      : tigervnc-server-1.3.1-9.el7.x86_64                                                                                                                       1/1 已安装:   tigervnc-server.x86_64 0:1.3.1-9.el7                                                                                                                                       

完毕!

启动服务

[root@node3 ~]# vncserver :1 New 'node3:1 (root)' desktop is node3:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/node3:1.log

安装客户端 [root@hadron ~]# yum install -y tigervnc 已加载插件:fastestmirror, langpacks Loading mirror speeds from cached hostfile  * base: mirrors.aliyun.com  * extras: mirrors.aliyun.com  * updates: mirrors.aliyun.com 正在解决依赖关系 --> 正在检查事务 ---> 软件包 tigervnc.x86_64.0.1.3.1-9.el7 将被 安装 --> 正在处理依赖关系 tigervnc-icons,它被软件包 tigervnc-1.3.1-9.el7.x86_64 需要 --> 正在处理依赖关系 libfltk_images.so.1.3()(64bit),它被软件包 tigervnc-1.3.1-9.el7.x86_64 需要 --> 正在处理依赖关系 libfltk.so.1.3()(64bit),它被软件包 tigervnc-1.3.1-9.el7.x86_64 需要 --> 正在检查事务 ---> 软件包 fltk.x86_64.0.1.3.0-13.el7 将被 安装 ---> 软件包 tigervnc-icons.noarch.0.1.3.1-9.el7 将被 安装 --> 解决依赖关系完成 依赖关系解决 =====================================================================  Package                                       架构                                  版本                                          源                                   大小 ===================================================================== 正在安装:  tigervnc                                      x86_64                                1.3.1-9.el7                                   base                                211 k 为依赖而安装:  fltk                                          x86_64                                1.3.0-13.el7                                  base                                654 k  tigervnc-icons                                noarch                                1.3.1-9.el7                                   base                                 36 k 事务概要 ===================================================================== 安装  1 软件包 (+2 依赖软件包) 总下载量:900 k 安装大小:2.1 M Downloading packages: (1/3): tigervnc-1.3.1-9.el7.x86_64.rpm                                                                                                                | 211 kB  00:00:00      (2/3): tigervnc-icons-1.3.1-9.el7.noarch.rpm                                                                                                          |  36 kB  00:00:00      (3/3): fltk-1.3.0-13.el7.x86_64.rpm                                                                                                                   | 654 kB  00:00:00      ----------------------------------------------------------------------------------------------------------------------- 总计                                                                                                                                         1.3 MB/s | 900 kB  00:00:00      Running transaction check Running transaction test Transaction test succeeded Running transaction   正在安装    : tigervnc-icons-1.3.1-9.el7.noarch                                                                                                                        1/3   正在安装    : fltk-1.3.0-13.el7.x86_64                                                                                                                                 2/3   正在安装    : tigervnc-1.3.1-9.el7.x86_64                                                                                                                              3/3   验证中      : fltk-1.3.0-13.el7.x86_64                                                                                                                                 1/3   验证中      : tigervnc-1.3.1-9.el7.x86_64                                                                                                                              2/3   验证中      : tigervnc-icons-1.3.1-9.el7.noarch                                                                                                                        3/3 已安装:   tigervnc.x86_64 0:1.3.1-9.el7                                                                                                                                               作为依赖被安装:   fltk.x86_64 0:1.3.0-13.el7                                                       tigervnc-icons.noarch 0:1.3.1-9.el7                                                       完毕!

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2017-01-06,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档