danielguerra69 / ubuntu-xrdp

Docker fully implemented Multi User xrdp with xorgxrdp and pulseaudio on Ubuntu 16.04/18.04
MIT License
251 stars 141 forks source link

Cert generation does not work #40

Closed mboehm21 closed 3 years ago

mboehm21 commented 3 years ago

Hi,

I think line 54 in docker-entrypoint.sh should be something like that to work properly:

openssl req -x509 -newkey rsa:2048 -nodes -keyout /etc/xrdp/key.pem -out /etc/xrdp/cert.pem -days 365 -subj "$CERTIFICATE_SUBJECT"

I added the absolute paths and quoted the subject so that it can contain spaces.

Thanks.

danielguerra69 commented 3 years ago

Crudini is missing. I am checking it now before I commit

danielguerra69 commented 3 years ago

Your fix did the trick, and a default user_list thing.

danielguerra69 commented 3 years ago

I tested it and all works. After this I did a commit. Does it solve you're problem now ?

mboehm21 commented 3 years ago

All good, sorry for the late reply. Thanks for your great piece of container magic!