XRDP crashes on Centos 7

XRDP crashes on Centos 7

 
Viewing /var/log/messasges showed these messages:
Dec 23 17:57:16 localhost systemd: Failed at step EXEC spawning /usr/sbin/xrdp-sesman: Permission denied
Dec 23 17:57:16 localhost systemd: Failed at step EXEC spawning /usr/sbin/xrdp: Permission denied
Dec 23 17:57:16 localhost systemd: xrdp-sesman.service: main process exited, code=exited, status=203/EXEC
Dec 23 17:57:16 localhost systemd: Unit xrdp-sesman.service entered failed state.
Dec 23 17:57:16 localhost systemd: xrdp-sesman.service failed.
Dec 23 17:57:16 localhost systemd: xrdp.service: main process exited, code=exited, status=203/EXEC
Dec 23 17:57:16 localhost systemd: Unit xrdp.service entered failed state.
Dec 23 17:57:16 localhost systemd: xrdp.service failed. 
 
there is broken selinux context, to fix it use these commands:

chcon --type=bin_t /usr/sbin/xrdp
chcon --type=bin_t /usr/sbin/xrdp-sesman
systemctl reenable xrdp.service
systemctl start xrdp.service
 

Comments

  1. DAB2296C86
    Printing enthusiasts often seek innovative methods to customize their designs. One popular technique is what is dtf transfer? because it allows for vibrant, durable prints on various surfaces. This process involves transferring ink directly onto textiles with ease, making it a favorite among small business owners and hobbyists alike. If you're curious about how it works, visiting the DTF Hub can provide comprehensive insights. Overall, DTF transfers are revolutionizing the way we approach personalized printing projects.

    ReplyDelete

Post a Comment

Popular posts from this blog

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

Wazuh opensearch dashboard ConnectionError: connect ECONNREFUSED ::1:9200"

Reduce (shrink) and resize raw disk at Proxmox