VNC

SHELL
dnf yum install tigervnc-server
点击展开查看更多
SHELL
cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service
点击展开查看更多
SHELL
vim /etc/systemd/system/vncserver@\:1.service
点击展开查看更多
SHELL
vncpasswd
点击展开查看更多
SHELL
systemctl start vncserver@\:1.service
点击展开查看更多
SHELL
systemctl status vncserver@\:1.service
点击展开查看更多

RDP

配置RDP可以弥补VNC的不足,如声音,并且可以直接使用Windows的远程桌面连接进行连接。 必须安装VNC才能使用RDP,因为RDP会借用VNC的画面

SHELL
dnf install xrdp
点击展开查看更多
SHELL
vim /etc/xrdp/xrdp.ini
点击展开查看更多
PLAINTEXT
[Xvnc]
name=Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
点击展开查看更多
SHELL
xrdp
点击展开查看更多
SHELL
xrdp --kill
点击展开查看更多

版权声明

作者: Chaim

链接: https://chaim.eu.org/posts/linux%E8%BF%9C%E7%A8%8B%E6%A1%8C%E9%9D%A2vnc-rdp/

许可证: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please attribute the source, use non-commercially, and maintain the same license.

开始搜索

输入关键词搜索文章内容

↑↓
ESC
⌘K 快捷键