linux安装了vnc服务器,Linux安装VNC服务及配置
linux部署环境如果没有远程桌面,那就只有静默安装了,当然这有难度,不过有VNC很不错,远程桌面环境部署方便多了,环境还算清晰,速度不卡,部署平台完全没有问题,部署方式可以参考如下笔记:
[root@solgle Desktop]# rpm -ivh VNC-Server-5.2.1-Linux-x64.rpm
Preparing... ########################################### [100%]
1:realvnc-vnc-server ########################################### [100%]
Checking for xauth... [OK]
Updating /etc/pam.d/vncserver
NOTICE: common configuration in /etc/pam.d contains the following modules:
pam_fprintd.so
The default vncserver PAM configuration only enables pam_unix. See
`man vncinitconfig for details on any manual configuration required.
Looking for font path... not found.
Generating private key...done
Installed init script for VNC X11 Service-mode daemon
Start and stop the service with:
/etc/init.d/vncserver-x11-serviced (start|stop)
Use chkconfig to start or stop the service at boot time.
Installed init script for VNC Virtual-mode daemon
Start and stop the service with:
/etc/init.d/vncserver-virtuald (start|stop)
Use chkconfig to start or stop the service at boot time.
[root@solgle Desktop]#
-------安装成功
[root@solgle init.d]# vncserver :1
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 for information on VNC.
For third party acknowledgements see:
http://www.realvnc.com/products/vnc/documentation/5.2/acknowledgements.txt
Error: No license keys found.
Run vnclicense to apply a license key. [NoLicense]
----提示没有license
----add license
[root@solgle init.d]# vnclicense -add WHJRK=UXYY7V=Q34M9-C2U8L-8KGFA
Error: This is not a valid license key.
A license key consists of 25 alphanumeric characters, divided by hyphens into 5
groups of 5 characters each.
[root@solgle init.d]#
----使用另一个license
[root@solgle init.d]# vnclicense -add 3TH6P-DV5AE-BLHY6-PNENS-B3AQA
License key has been successfully applied.
[root@solgle init.d]#
--ok
------???
root@solgle ~]# vncserver :1
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 for information on VNC.
For third party acknowledgements see:
http://www.realvnc.com/products/vnc/documentation/5.2/acknowledgements.txt
If a desktop environment fails to load for this virtual desktop, please see:
http://www.realvnc.com/kb-345
Running applications in /etc/vnc/xstartup
VNC Server catchphrase: "Sofia unit nickel. Campus tic-tac north."
signature: 25-b2-6d-b7-ae-f4-b3-e6
Log file is /root/.vnc/solgle:1.log
New desktop is solgle:1 (192.16.3.8:1)
----查看vncserver进程信息
[root@solgle ~]# ps -ef | grep vnc
root 2680 2651 0 13:49 pts/0 00:00:00 grep vnc
[root@solgle ~]#
---设置远程密码
[root@solgle sysconfig]# vncpasswd
Setting "Password" VNC parameter in /root/.vnc/config.d/vncserver-x11
Password:
Verify:
Passwords don't match - try again
Password:
Verify:
Successfully set Password" VNC parameter in /root/.vnc/config.d/vncserver-x11
---配置防火墙:vnc server端口从5900开始,比如 5901,5902
---设置成功,使用vnc viewer 连接成功
---关闭及启动一个vnc远程桌面(每次连接可能需要重启一次,否则会报(10061)连接超时)
[root@solgle sysconfig]# vncserver -kill :1
Can't find file /root/.vnc/solgle:1.pid
You'll have to kill the Xvnc process manually.
[root@solgle sysconfig]# ^C
[root@solgle sysconfig]# vncserver :1
linux安装了vnc服务器,Linux安装VNC服务及配置相关推荐
- 在Linux下,SVN服务器的安装
最近想在VPS上搭建一个SVN服务,方便在外面使用时存放代码. 上次介绍过在Windows上搭建SVN服务器,这次来谈谈在Linux上搭建吧,系统是CentOS. 网上有不少教程,可是没有一篇完整的, ...
- 服务器声音显示未安装音频设备,远程服务器未安装音频设备
远程服务器未安装音频设备 内容精选 换一换 云堡垒机配置了FTP/SFTP远程备份,报请检查服务器密码或网络连接情况错误,不能启动远程备份.选择备份具体某一天日志,提示备份正在执行,但远程服务器未接收 ...
- 服务器系统镜像怎么安装系统,云服务器镜像安装系统
云服务器镜像安装系统 内容精选 换一换 您可以使用公共镜像.私有镜像或共享镜像创建云服务器.使用公共镜像和私有镜像创建云服务器的区别是:公共镜像:创建的云服务器包含所需操作系统和预装的公共应用,需要您 ...
- linux服务器上svn的log_如何在 Centos 8 / RHEL 8 上安装和配置 VNC 服务器 | Linux 中国...
在 Centos 8 和 RHEL 8 系统中,默认未安装 VNC 服务器,它需要手动安装.在本文中,我们将通过简单的分步指南,介绍如何在 Centos 8 / RHEL 8 上安装 VNC 服务器. ...
- linux mysql服务器安装_Linux服务器MySQL安装
Linux服务器MySQL安装 1. MySQL官网下载如图: 2. 安装MySQL [root@iZ2zebb0428roermd00462Z /]# rpm -ivh https://dev.my ...
- linux怎么重装ssh服务器,Linux平台下安装SSH
什么是SSH?Secure Shell(缩写为SSH),由IETF的网络工作小组(Network Working Group)所制定:SSH为一项创建在应用层和传输层基础上的安全协议,为计算机上的Sh ...
- Cisco服务器怎么安装系统,CISCO服务器Linux系统安装步骤
CISCO服务器Linux系统安装步骤 开机进入CISCO LOGO界面,按ESC,进入DOS界面. 根据提示,按CTRL+C进入RAID界面. 在RAID界面的Adapter下选择1064E,单击回 ...
- Linux下Apache Web服务器的安装与配置
1.Apache Web服务器简述 Web服务是目前Internet应用最流行.最受欢迎的服务之一,Linux平台使用最广泛的Web服务器是Apache,它是目前性能最优秀.最稳定的Web服务 ...
- Linux实验之DNS服务器的安装与配置
实验目的: 学会在Linux系统下搭建DNS服务器并掌握其基础配置. 实验内容: 1.在系统中安装DNS服务 2..掌握DNS服务器的配置和启动的相关知识 3..架设一个DNS服务器,主区域域名为hg ...
最新文章
- String.Format格式说明
- SD卡的控制方法(指令集和控制时序)
- EXHCHANGE2003总结-2: 备份与还原
- [深度学习] 自然语言处理 --- Self-Attention(一) 基本介绍
- ABP VNext 微服务演示,项目状态和路线图
- 史上首次!世界杯使用视频裁判
- Node.js 入门详解(四)
- SQL记录-PLSQL数组
- 潜波(Diving Wave)
- php操作excel表格的导入和导出
- Android7.1 audio 播放流程(三十五)
- 小D课堂 - 新版本微服务springcloud+Docker教程_3-05 服务注册和发现Eureka Server搭建实战...
- nginx的学习笔记,第四记。
- docker mysql 备份_docker mysql数据备份xtrabackup
- unity AI Planner 人工智能简介
- 如何恢复MAC苹果电脑系统数据文件恢复详细教程
- 银行保险机构信息科技外包风险管理办法学习笔记
- 【Python百日进阶-Web开发-Feffery】Day432 - fac实例:使用国内cdn加载静态资源
- frp内网穿透https
- FFmpeg的HEVC解码器源码简单分析:解码器主干部分
热门文章
- LeetCode(171)——Excel表列序号(JavaScript)
- SyntaxError: await is only valid in async function
- Swiper插件的基本使用方法和案例
- oracle11.2.03,升级Oracle11.2.0.3后遭遇ORA-00600[kfioTranslateIO03][17090]
- oracle如何查看实例用户,oracle 如何显示当前执行的用户和操作实例
- 同样是做冻品生意,哪类人更挣Q?
- 想赚钱,赚大钱,必须要有商业思维
- 28岁的李佳琪落户上海了
- 电脑开机,总需要按F1,是什么原因造成的?
- Qfile与QTextStream读写文本文件