Update packagessudo apt-get update && sudo apt-get upgradeInstall Tasksel manager for GUIsudo apt-get install tasksel taskselInstall xrdp to allow other OS than windows like Ubuntu to worksudo apt install xrdpTo check status of xrdpsudo systemctl status xrdpInstall SSL-certificatesudo adduser xrdp ssl-certEnable Firewallsudo ufw enableAllow any IP through firewall not openssh-server (WinSCP) sudo ufw allow 3389Allow openssh-server (WinSCP) sudo ufw allow opensshReload and check status of ufw sudo ufw reloadsudo ufw statusRestart xrdp sudo systemctl restart xrdp
Update packages
sudo apt-get update && sudo apt-get upgrade
Install Tasksel manager for GUIsudo apt-get install tasksel
tasksel
Install xrdp to allow other OS than windows like Ubuntu to worksudo apt install xrdp
To check status of xrdpsudo systemctl status xrdp
Install SSL-certificatesudo adduser xrdp ssl-cert
Enable Firewallsudo ufw enable
Allow any IP through firewall not openssh-server (WinSCP)sudo ufw allow 3389
Allow openssh-server (WinSCP)sudo ufw allow openssh
Reload and check status of ufwsudo ufw reload
sudo ufw status
Restart xrdpsudo systemctl restart xrdp