xrdp icon indicating copy to clipboard operation
xrdp copied to clipboard

xrdp is not aware of configuration file location change for xrdp-sesman

Open jkeltz opened this issue 3 years ago • 1 comments

In a recent release, the ability to specify the path to the configuration file was added to both xrdp and xrdp-sesman (-c option) - thank you! However, if changing the configuration path for xrdp-sesman, there's no way to make xrdp aware of that change, and hence it will still try to read the port from sesman.ini. This is likely an unintended bug.

jkeltz avatar Jul 19 '21 14:07 jkeltz

Thanks for raising this, @jkeltz

The use case you're alluding to here is one I suggested in #1941, which is to run two different instances of xrdp on two different ports (or IP addresses). In this case, the sesman used by each would be different, and xrdp needs some way to find the port for sesman.

Solution is for xrdp to be passed the sesman port or config file on the command line. I'll mark this as an enhancement request, as I believe we'd met your original use-case for for adding -c' in #1588

matt335672 avatar Jul 20 '21 09:07 matt335672