Free Remote Desktop GUI with X2GO - Like xRDP or VNC on Steroids (Ideal for AWS EC2, GCP, Azure ..).
Cloud Tech
X2GO gameplan
- Download PuTTY - a free SSH and telnet client for Windows, from https://www.putty.org
- Install putty on Freds Windows pc
- From Windows pc - create vultr vm with ssh keys for root called vultr-sshkey.ppk, passphase horse (copy puttygen key into vultr during server setup) 1b. using Putty, logon via ssh with root , then run commands :
update all repository indexes then upgrade any packages where there is a newer version available
------------------------------------------------------------------------------------------------
sudo apt update && sudo apt upgrade
install xfce
------------
sudo apt-get install xfce4
install lxde
------------
sudo apt-get install lxde
latest x2go stable repository
-----------------------------
sudo add-apt-repository ppa:x2go/stable
update all repository indexes again
-----------------------------------
sudo apt-get update
install core x2go packages
--------------------------
sudo apt-get install x2goserver x2goserver-xsession
install x2go extra bindings
---------------------------
sudo apt-get install x2golxdebindings
install x2go desktop sharing module
-----------------------------------
sudo apt-get install x2goserver-desktopsharing
fred userid setup on server (using sshkeys)
#------------------------------------------- useradd -m -d /home/fred fred
demo password is = y1o2r3k4
passwd fred
usermod -aG sudo fred
sudo usermod -aG x2godesktopsharing fred
can stop login to ssh with password should be done by amending /etc/ssh/sshd_config but im not bothering as part of this demo (google it if needed)
jane userid setup on server
---------------------------
sudo useradd -m -d /home/jane jane
demo password is = y1o2r3k4
sudo passwd jane
sudo usermod -aG sudo jane
sudo usermod -aG x2godesktopsharing jane
reboot the server
-----------------
reboot
{vultr snapshot}
client prep
install x2go on freds windows 10 pc install x2go on janes ubuntu 20.04 pc use sudo apt-get install x2goclient on janes ubuntu 20.04 PC
- Explain why better than xRDP a - uses same as SSH port 22 so no additional firewall or portfording changes required. so encypted (some versions of RDP has been cracked) b - can use ssh keys rarther than uid+password c - xRDP difficult to get working sometimes e.g. on AWS if using 18.04 then its fine but if using 20.04 lts , i challenge u to get it working d - support for both sound ,client side printing and shared folders e - want 1 soulution across all servers, cloud providers, on premise machines, all linux distros f - install then use no extra config needed g - can share screens (pandemic, working from home, collegues i ... https://www.youtube.com/watch?v=AY_yOctzR-c
96608587 Bytes