Show Table of Contents
31.3.3. 防火墙注意事项
如果在 VNC viewer 系统位于与目标系统不同的子系统工作站中执行安装,则可能会遇到网络路由问题。只要 viewer 系统可以路由到目标系统,并打开端口 5900 和 5901,您的 VNC 就可正常工作。如果您的环境有防火墙,请确定在您的工作站和目标系统中打开了端口 5900 和 5901。
除了使用
vnc 引导参数,可能还需要在这些情况下使用 vncpassword 参数。当使用明文在网络间发送密码时,在 viewer 可以连接到系统前还需要一些额外步骤。当 viewer 使用 VNC 连接到目标系统后,则不允许其他任何连接进入。这些限制对安装来说就足够了。
重要
请确定在
vncpassword 选项中使用临时密码。不应该使用在任何其他系统中使用的密码,特别不能是 root 密码。
如果还有问题,请考虑使用
vncconnect 参数。在这个操作模式中,请在第一个告诉您侦听进入连接的系统中启动 viewer。在 boot 提示符后使用 vncconnect=HOST,则安装程序会试图连接以便指定 HOST(主机名和 IP 地址均可)。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.