redhat7.2啓動xrdp

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*

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章