hhnf333 发表于 2018-5-10 06:17:14

redhat7.2启动xrdp

  https://www.centos.org/forums/viewtopic.php?f=49&t=51875
  Re: xrdp service won't start
  Postby jerry002182015/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 carltm2016/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>  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*
页: [1]
查看完整版本: redhat7.2启动xrdp