10.3. 在 GNOME VNC 中禁用加密
您可以在 GNOME 远程桌面解决方案中禁用加密。这可使不支持加密的 VNC 客户端连接到服务器。
流程
以服务器用户身份,将
org.gnome.desktop.remote-desktop.vnc
GSettings 模式的encryption
密钥设为['none']
。$ gsettings set org.gnome.desktop.remote-desktop.vnc encryption "['none']"
可选:红帽建议您通过 SSH 将 VNC 连接隧道到 VNC 端口。因此,SSH 隧道会保持连接加密。
例如:
在客户端上,配置端口转发。
# ssh -N -T -L 5901:server-ip-address:5901 user@server-ip-address
-
连接到
localhost:5901
地址上的 VNC 会话。