I've got XRDP installed on two of my CentOS7 machines, on one of them , XRDP works fine and allows connections straight away from when the machine is booted up. However, on the other, I have to boot up, then enter the commands:
systemctl stop xrdp systemctl start xrdp systemctl enable xrdp Then it allows connections for about an hour, then I have to use those commands again....
Anyone have any ideas?
systemctl enable xrdpshould set thexrdpservice to start up automatically at boot time. If that is getting undone, it suggests the system may be under some sort of automated management (think Ansible, SaltStack, Puppet or something similar) that is enforcing some settings at intervals of about an hour, including the fact thatxrdpshould be shut down. Talk to your fellow system administrators.firewalld, you have already had to do something with it to enable access toxrdpfrom the network. But at the basic level,firewalldonly allows enabling/disabling access to services by network interface. If you have just one NIC in use, you'll need the more advanced rich rules to specify thatxrdpaccess should be allowed from your own IP subnet(s) only.