是否可以在同一个端口上有多个 vncserver 用户? [英] Is it possible to have multiple vncserver users on the same port?

查看:321
本文介绍了是否可以在同一个端口上有多个 vncserver 用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台运行tiger-vncserver 的Red Hat 服务器.这是一个强化系统,安全性不喜欢为 VNC 用户开放这么多端口,所以目前我们有 15 个 (5901-5915).我们正在吸引更多用户加入,并预计会有更多用户加入,但不确定有多少.

I have a Red Hat server running tiger-vncserver. This is a hardened system and security doesn't like having so many ports open for VNC users so currently we have 15 (5901-5915). We are getting more users onboarded and anticipate more users after, not sure how many though.

有没有办法让每个用户都有可用的有状态 VNC 连接但共享端口?从安全的角度来看,我们只会使用像端口 5900 之类的东西.

Is there a way to make every user have a stateful VNC connection available but share ports? From security's perspective, we would only use like port 5900 or something.

如果重要的话,由于我们的配置要求,我使用 Apache Guacamole 代替 VNC 查看器客户端.

If it matters, I am using Apache Guacamole in lieu of a VNC Viewer client due to our configuration requirements.

推荐答案

VNC 和多个用户的问题是缺少 VNC 的连接管理器,它可以处理用户身份验证并为每个用户启动单独的 VNC 服务器.

The issue with VNC and multiple users is missing connection manager for VNC that could be able to handle user authentication and start a separate VNC server for each user.

我们在 Guacamole 和远程 VNC 会话方面遇到了类似的问题,我们可以使用必须集成到我们的解决方案中的多个脚本来处理这个问题.但是,脚本必须随着时间的推移而增长,并且需要为可能发生的所有特定情况包含越来越多的逻辑.

We had similar issues with Guacamole and remote VNC session and it was possible to handle this with several scripts that we had to integrate into our solution. However, the script had to grow over time and needed to include more and more logic for all specific situations that might happen.

最后,事实证明在远程 Linux 上安装 XRDP 服务器是一个更容易且非常一致的解决方案.它只打开一个端口,3389可以管理连接,用户和Guacamole可以很好地使用它,只是你必须使用RDP协议.

In the end, it turns out that installing XRDP server on a remote Linux is a much easier and quite consistent solution. It opens only one port, 3389 can manage connections and user and Guacamole work well with it, just you have to use RDP protocol.

这篇关于是否可以在同一个端口上有多个 vncserver 用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆