跳转至

Fedora VNC远程桌面

概要: 配置Fedora的VNC远程桌面环境

创建时间: 2022.07.30 13:10:50

更新时间: 2023.08.16 23:03:13

检查更新

Bash
dnf update -y

安装桌面环境

Bash
dnf group install -y workstation-product-environment
dnf group install -y developer-workstation-environment

安装VNC工具

Bash
dnf install -y tigervnc-server tigervnc-server-module

设置VNC密码

Bash
vncpasswd

配置防火墙

Bash
firewall-cmd --add-service=vnc-server --permanent
firewall-cmd --add-service=vnc-server

开启VNC服务

Bash
vncserver :2 -geometry 1920x1080 -depth 24

访问VNC桌面

Bash
192.168.2.153:2