本文介绍了如何在Galaxy Kirin advanced server操作系统V10上安装tigervnc-server并在客户端使用。请喜欢,收藏,评论,关注![发心]
1.tigervnc-server(银河麒麟高级服务器操作系统V10)yum安装配置安装说明。
sudo yum安装-y老虎VNC-服务器复制服务文件
sudo CP/lib/systemd/system/vncserver @。 Service /etc/systemd/system/replacement /etc/systemd/system/vncserver@. The label in the service is the current user (non-root) and the resolution parameter is configured.
sudo vim/etc/systemd/system/vncserver @ .Service[Unit]Description=远程桌面服务(VNC)After=syslog。目标网络。目标【服务】类型=分叉工作目录=/home/叶强用户=叶强组=叶强PID文件=/home/叶强/。VNC/% H % I . pidexecstartpre=/bin/sh-c '/usr/bin/vncserver-kill % I/dev/null 21 | |:' ExecStart=/usr/bin/vncserver % I-geometry 2560 x 1080 execstop=/usr/bin/vncserver-kill % iRestart=on-successrestart sec=15[Install]wanted by=多用户。目标防火墙放行5901/tcp端口
sudo firewall-cmd-permanent-add-port=5901/TCP启动服务
[叶强@192-168-110-185系统]$ sudo systemctl守护进程-重新加载[叶强@192-168-110-185系统]$ sudo systemctl启动vncserver @:1。服务[叶强@192-168-110-185系统]$ vncserver -listTigerVNC服务器会话:X显示#进程ID:194402[叶强@ 192-168-110-110x权威-桌面192-168-110-185:1(叶强)-fp目录:/etc/X11/font路径。d-几何图形2560 x 1080-pn-rfbauth/home/叶强/。VNC/密码-rfb端口5901-rfb等待30000叶强95040 0.0 0.0 214080 1536 pts/0S 14:55 0:00 grep Xvnc注意:
1.启动的服务是vncserver @: 1.service。
2.首次启动时会提示您输入密码,根据指导输入登录密码。
3.可以通过系统CTL启用VNC服务器@:1。服务设置开启启动
二、客户端连接(Fedora 31 x86_64)1。安装tigervnc客户端软件。
Sudo yum install -y tigervnc2。连接到目标服务器。
[yeqiang@harbor ~]$ vncviewer 192.168.110.185:1TigerVNC Viewer 64-bit v1.10.1Built on: 2020-04-19 00:00Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)See https://www.tigervnc.org for information on TigerVNC.Thu Jan 21 14:57:14 2021 DecodeManager: Detected 6 CPU core(s) DecodeManager: Creating 4 decoder thread(s) CConn:Connected to host 192.168.110.185 port 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)Thu Jan 21 14:57:17 2021 DesktopWindow: Adjusting window size to avoid accidental full screen request CConn:Using pixel format depth 24 (32bpp) little-endian rgb888
由此得出结论,tigervnc-server和x86 CentOS在Galaxy Kirin advanced server操作系统V10上的安装和部署没有太大区别。
更多干货尽在。。新创服务社区。点击文末左下角“了解更多”即可进入!
标题:银河麒麟server10安装教程(银河麒麟高级服务器操作系统安装方法)
链接:https://www.52hkw.com/news/rj/65563.html
版权:文章转载自网络,如有侵权,请联系删除!