Linux 下 VNC配置和使用(本机控制本机)
1》配置yum源
https://blog.csdn.net/weixin_42167759/article/details/81143066
因资源有限,接下来自己控制自己terminal1为控制端, terminal2为服务端
2》terminal1【控制端】安装vncviewer
[root@localhost yum.repos.d]# yum install tigervnc
3》terminal2【被控制端】安装vncserver
[root@localhost yum.repos.d]# yum install tigervnc-server
4》产看是否安装成功
[root@localhost yum.repos.d]# vnc 【按teb键 补齐】
vncconfig vncpasswd vncserver vncviewer
5》terminal2【被控制端】启动server
[root@localhost yum.repos.d]# vncserver You will require a password to access your desktops.Password: 【输密码】
Verify: 【输密码】
Would you like to enter a view-only password (y/n)? y
Password: 【输密码】
Verify: 【输密码】New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1Creating default startup script /root/.vnc/xstartup
Creating default config /root/.vnc/config
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
启动 VNC Server: 打开终端执行:vncserver 第一次运行 vncserver,将会要求输入两次密码,会看到如下提示信息
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
上边信息中的“:1”表示启动的第一个vnc桌面。
6》启动服务端terminal2
[root@localhost yum.repos.d]# vncviewer
【此时并非后台模式控制,若想后台模式执行命令 [root@localhost yum.repos.d]# vncviewer &】
[root@localhost yum.repos.d]# vncviewer
TigerVNC 查看器 64 位 v1.8.0
构建于:2018-04-11 06:05
版权所有 1999-2017 TigerVNC 团队及众多开发者(参见 README.txt)
访问 http://www.tigervnc.org 以获取更多关于 TigerVNC 的信息。
Fri Mar 1 22:05:24 2019
DecodeManager: Detected 1 CPU core(s)
DecodeManager: Decoding data on main thread
CConn: 已连接到主机 192.168.1.231 的端口 5901
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
CConnection: Choosing security type VeNCrypt(19)
CVeNCrypt: Choosing security type TLSVnc (258)
Fri Mar 1 22:06:42 2019
CConn: 正在使用像素格式 depth 24 (32bpp) little-endian rgb888
CConn: 使用 Tight 编码
CConn: 已启动持续更新
7》停止 vncserver:
[root@localhost yum.repos.d]# vncserver -kill :1
Killing Xvnc process ID 35571
Linux 下 VNC配置和使用(本机控制本机)相关推荐
- Linux下VNC配置多个桌面和修改密码 不会当系统重启vnc失效
1:vncserver 2:iptables -I INPUT -p tcp --dport 5901 -j ACCEPT 客户端方式 3:iptables -I INPUT -p tcp --d ...
- linux下VNC配置详解
1.VNC的启动/停止/重启 #service vncserver start/stop/restart 关闭具体的vncserver命令:vncserver -kill :1 vncse ...
- linux下dhcp配置(一)
LINUX下DHCP配置(一) 挂载 mkdir –p /mnt/cdrom mount /dev/cdrom /mnt/cdrom cd /mnt/cdrom/Server ll dhcp* 安装 ...
- linux下安装配置redis服务
2019独角兽企业重金招聘Python工程师标准>>> linux下安装配置redis服务 2016年03月25日 15:39:31 coding_everyday 阅读数:3530 ...
- linux服务配置大全 fedora 8 ftp 百度文库,Linux下VSFTP配置全攻略
Linux下VSFTP配置全攻略 [日期:2007-10-05] 来源:Linux公社 作者:Linuxidc [字体:大 中 小] 4]如果要以系统中存在的普通用户登入FTP,也没有什么可以设置的, ...
- redhat linux 禁用网卡,RedHat Linux下防火墙配置技巧
RedHat Linux下防火墙配置技巧 发布时间:2012-07-13 16:34:57 作者:佚名 我要评论 RedHatLinux为增加系统安全性提供了防火墙保护.防火墙存在于你的计算机 ...
- linux下怎么配置gnome桌面环境,Linux下怎么配置Gnome桌面环境
和Windows一样,在Gnome的文件管理器(nautilus)里,双击一个文件的时候,系统会自动调用相应的程序去打开这个文件.下面学习啦小编教大家在 Linux下怎么配置Gnome桌面环境,下面大 ...
- linux下SVN配置笔记(转)
linux下SVN配置笔记 李群林 转载了 皋军 的博文 [查看原文][转载时间:2012-09-20 10:40] 关键字: linux下svn配置笔记 一.安装SVN默认安装到/usr/lo ...
- Linux 下安装配置C/C++开发环境 Code::Blocks
Linux 下安装配置C开发环境Code::Blocks 一.提前的话 要说C语言和Linux的关系大家应该都不会陌生,Linux系统内核就是用C语言开发的,所以所有的Linux系统下面 都会有C的编 ...
最新文章
- 它来了!无人车穿梭在深圳的“宇宙最强街道”
- 【数据结构作业心得】4-0 二叉树
- Windows10安装python2.7.15版本,附过程问题解决方案
- 在Ubuntu 7.04上安装Xfce 4.4.1
- SpringMVC 注解 : @ModelAttribute
- 《计算机应用基础》期末试卷.,《计算机应用基础》期末试卷(A卷)《计算机应用基础》期末试卷(A卷).doc...
- lightoj1213推公式
- npcap关闭_Npcap.资料
- 计算任意2个日期内的工作日(没有考虑到国定假日
- 如何申请公众号的专属微社区?
- thrift序列化 java_JAVA RPC (五) 之thrift序列化RPC消息体
- 安卓巴士Android开发者门户
- mac新版迅雷,如何取消开机启动?
- MIT计算机科学录取分数线,美国麻省理工学院分数录取线
- bilibili小电视桌面天气站(esp8266+微信小程序控制)超详细,看这一篇就够了
- 刚刚拿下「中国AI最高奖」的语音技术,能给我们带来什么?
- 20162311 2016-2017-2《程序设计与数据结构》课程总结
- Bean 生命周期详解
- 读后感之Euraka和Nacos区别
- LPDDR4与LPDDR4X介绍01