consider the following scenario.
I have a machine with many different users logging in to in a large
scale. Each connection must be met with a fresh predefined desktop.
I can in principle create a new user each time someone from the web(java
vnc viewer) is trying to connect or make other arrangements to insure a
successful journey to the user as I do not want different users(possibly
or not with the same user and password) to share the same desktop.
Problem is, I'm also trying to avoid firewall blocks on high ports in
common offices or coffee shops thereby I've implemented a reverse proxy
so they can talk directly to port 80 or 8080 instead of 5901+
Problem is, there is no main stream mechanism that I know of, like in
apache, that handles all of the connection negotiations for the
Each user has its own different parent process and port.
What I'm basically thinking to do is write a process that will try to
delegate the user/pass to all of the -free- ports in a round robin
Maybe it's a specific feature for this particular project and others may
not need it but I'll appreciate any comments and suggestions.