For AI agents: the complete documentation index is available at https://docs.fit2cloud.com/jumpserver/v3/llms.txt, the full documentation bundle is available at https://docs.fit2cloud.com/jumpserver/v3/llms-full.txt, and this page is available as Markdown at https://docs.fit2cloud.com/jumpserver/v3/guide/asset_requirements/linux_vnc.md.

Linux VNC

  • 资产必须部署 vncserver。

  • 防火墙 vncserver 端口必须开放给 JumpServer 所有服务器访问。

  • Centos 7 示例:

yum -y groupinstall "GNOME Desktop" "Graphical Administration Tools"
yum -y install tigervnc-server tigervnc
vncpasswd
Password: ******
Verify: ******
Would you like to enter a view-only password (y/n)? n
A view-only password is not used
  • 安装提示设置密码,这个密码填在 JumpServer 页面的 账号管理 - 账号列表模块 中,用户名 为空不需要填写。
firewall-cmd --permanent --add-service vnc-server
firewall-cmd --reload
vncserver :1
  • :1 为 5901 端口,同理 :2 为 5902