https://www.centos.org/forums/viewtopic.php?f=49&t=51875
Re: xrdp service won't start
Postby jerry00218 2015/04/09 12:58:15
You can try to adjustment SElinux.
I adjustment the /usr/sbin/xrdp and /usr/sbin/xrdp-sesman Selinux attribute.
chcon -t bin_t /usr/sbin/xrdp
chcon -t bin_t /usr/sbin/xrdp-sesman
systemctl start xrdp
Good luck
Re: xrdp service won't start
Postby carltm 2016/10/03 19:23:40
Two updates:
First, the rpm package for xrdp is available from EPEL.
Second, using chcon updates the SELinux context temporarily until the next relabelling.
A permanent method is to use semanage and restorecon.
semanage fcontext -a -t bin_t /usr/sbin/xrdp
semanage fcontext -a -t bin_t /usr/sbin/xrdp-sesman
restorecon -v /usr/sbin/xrdp*
转载于:https://blog.51cto.com/dressame/1920160