1

I want to use vncserver on a CentOS 7 server to send every new connected user to their own isolated display (virtual, not physical).

Making virtual displays at server startup with the matching number of VNC servers degrades performance.

What are alternative ways to send every new connected user to their own isolated virtual display?

1 Answer 1

2

Just start the VNC server from inet or something equivalent (xinetd, systemd, ...).

On receiving a network connection, start it with option -inetd, and whatever other options you want (geometry, authentication, ...),

/usr/bin/Xvnc -inetd ...
1
  • 1
    The best way to use Xvnc -inetd is to use it against an XDMCP-capable display manager. I use lightdm for that. So I run a systemd service (and socket) that runs “Xvnc -inetd -query localhost -once”.
    – jsbillings
    Dec 7, 2018 at 21:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .