X2GO gameplan
--------------------
1. Download PuTTY - a free SSH and telnet client for Windows, from https://www.putty.org
2. Install putty on Freds Windows pc
2. 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
5. 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 in another contry/continent)
h - multiple symultanious users & different screen resolutions
i - different desktops , decided on client side
Demonstration
=============
A. as fred on windows
---------------------
1. show round freds client
2. Connect from Windows using fred,1024x768, no printing, no sound, 1 shared folder, xfce
3. Leave session running and close
4. connect - reconnects to XFCE 1024x768
5. start terminal & file manager ,show shared folder
B.as jane on linux
------------------
6. Connect from linux using jane,800x600, lxde new session, start and use firefox & task manager
7. dont logoff, close window
8. show client screen sharing option.
9. connect to freds session via screen sharing and type in a command "cat /etc/group" and press ENTER to his terminal window, leave the shared screen
A. reconect to her first session & properly logoff
C . published apps -as fred back on his windows PC
--------------------------------------------------
B. show what fred is seeing still in his XFCE session, get him to properly logout
C. changed to "published applications", run and select "utility, file manager"
D. Look round then close
Watch video Remote Desktop GUI with X2GO - Like xRDP or VNC on Steroids (Ideal for AWS EC2, GCP, Azure ..). online without registration, duration hours minute second in high quality. This video was added by user Cloud Tech 06 April 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,555 once and liked it 26 people.