From fbc9cff2d6680aeb99c6cf648de40c26eb36742c Mon Sep 17 00:00:00 2001 From: lion187 Date: Tue, 27 Nov 2018 21:52:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85linux=E5=92=8Candroid?= =?UTF-8?q?=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Android/Android_系统结构.md | 0 .../Linux/Fedora29/VNC_远程桌面.md | 39 +++++++++++++++++++ .../OperatingSystem/Linux/Linux_系统结构.md | 0 3 files changed, 39 insertions(+) create mode 100644 Software/OperatingSystem/Android/Android_系统结构.md create mode 100644 Software/OperatingSystem/Linux/Fedora29/VNC_远程桌面.md create mode 100644 Software/OperatingSystem/Linux/Linux_系统结构.md diff --git a/Software/OperatingSystem/Android/Android_系统结构.md b/Software/OperatingSystem/Android/Android_系统结构.md new file mode 100644 index 0000000..e69de29 diff --git a/Software/OperatingSystem/Linux/Fedora29/VNC_远程桌面.md b/Software/OperatingSystem/Linux/Fedora29/VNC_远程桌面.md new file mode 100644 index 0000000..3344c00 --- /dev/null +++ b/Software/OperatingSystem/Linux/Fedora29/VNC_远程桌面.md @@ -0,0 +1,39 @@ +# VNC 远程桌面 + +VNC 远程 Gnome 环境没有成功,远程 MATE 桌面环境配置倒是非常简单,其他如 Cinnamon 环境类似。 + +## 安装 + + sudo dnf grouplist + sudo dnf groupinstall "MATE 桌面环境" + sudo dnf install tigervnc tigervnc-server + +## 配置 + + vncserver :1 + vncserver -kill :1 + +之后在 ~/.vnc 目录下自动产生 xstartup 文件,修改该文件的最后一行如下 + + #exec /etc/X11/xinit/xinitrc + exec /usr/bin/mate-session + #exec /usr/bin/cinnamon-session + +## 防火墙 + +设置防火墙: + + firewall-cmd --add-service=vnc-server --permanent + firewall-cmd --reload + +或临时关闭防火墙: + + systemctl stop firewalld.service + +## 使用 + + vncserver :1 -geometry 1920x1080 -depth 24 + +之后使用 MobaXterm 或 VNC Viewer 连接到 IP:5901 即可。 + +如果 vncserver :2 则对应端口为 5902,以此类推。 \ No newline at end of file diff --git a/Software/OperatingSystem/Linux/Linux_系统结构.md b/Software/OperatingSystem/Linux/Linux_系统结构.md new file mode 100644 index 0000000..e69de29