ühel hetkel ei pruugi saada ühenduda:
https://superuser.com/questions/1264096/xrdp-rejecting-login
/etc/X11/Xwrapper.config
allowed_users=console
to allowed_users=anybody
← ei toimi...sudo service xrdp stop
sudo service xrdp start
*systemctl restart xrdp**
toimib# failis /etc/X11/Xwrapper.config kirjutatakse
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
# dpkg-reconfigure xserver-xorg-legacy
Veaotsing:
journalctl -p 3 -xb -u xrdp.service -f
-- Logs begin at Wed 2020-07-15 15:00:30 EEST, end at Fri 2021-01-15 20:36:46 EET. --
jaan 15 20:26:40 klass2-oj-l xrdp[2286]: (2286)(140368368592704)[ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
xRDP – cannot read /etc/xrdp/key.pem. Permission denied error explained
sudo adduser xrdp ssl-cert
Unable to do remote desktop using xrdp
/etc/xrdp/sesman.ini
;; MaxSessions - maximum number of connections to an xrdp server
MaxSessions=100
;; KillDisconnected - kill disconnected sessions
KillDisconnected=true
;; DisconnectedTimeLimit - when to kill idle sessions
DisconnectedTimeLimit=36000