杀死占用资源高的进程并重启桌面管理服务
重启xrdp服务
报错如下:
Failed to allocate directory watch: Too many open files
查看服务状态:
Dec 29 15:01:42 HCI-2 systemd[1]: Starting xrdp daemon...
Dec 29 15:01:42 HCI-2 systemd[1]: xrdp.service: PID file /run/xrdp/xrdp.pid not readable (yet?) after start: No such file or directory
Dec 29 15:01:42 HCI-2 systemd[1]: xrdp.service: Failed to set a watch for PID file /run/xrdp/xrdp.pid: Too many open files
Dec 29 15:01:42 HCI-2 systemd[1]: Stopped xrdp daemon.
Dec 29 15:01:42 HCI-2 systemd[1]: xrdp.service: Unit entered failed state.
Dec 29 15:01:42 HCI-2 systemd[1]: xrdp.service: Failed with result 'resources'.
解决办法:
(责任编辑:IT) |