The first one works the best. Open an SSH connection to the server and run these commands:
sudo su cd ~ apt update apt upgrade apt -y install lxqt sddm xrdp systemctl status xrdp
The XRDP port needs to be open in Oracle Cloud and search for ‘Virtual Cloud Networks’. Then select the network and go to the ‘Security Lists’ and click on the default one. Then add ingress rules:
The open the port in iptables by editing /etc/iptables/rules.v4
Make a copy of the rule for port 22 and change the value to 3389
Then run:
iptables-restore < /etc/iptables/rules.v4
Create a file in your home folder (/root) called .xsession
nano .xsession
Alternative videos – they may install a different desktop:
MicroK8s creates a group to enable seamless usage of commands which require admin privilege. To add your current user to the group and gain access to the .kube caching directory, run the following two commands:
If you get “SSH handshake failed” when trying to use Guacamole to connect to Ubuntu via SSH, you need to use a workaround:
In the meantime a workaround is adding “HostKeyAlgorithms +ssh-rsa” to the end of /etc/ssh/sshd_config on the Ubuntu machine and restart sshd. Note: I don’t have an understanding of the security implications of this, so use at your own risk
The solution was posted here: https://www.reddit.com/r/linuxquestions/comments/ued2vq/comment/i736why/?utm_source=share&utm_medium=web2x&context=3