Build Ubuntu 22 04 with Desktop via Putty SSH
ฝัง
- เผยแพร่เมื่อ 7 ก.พ. 2025
- In this video, I’ll show you step-by-step how to create a secure Ubuntu 22.04 VPS with a desktop environment from scratch. You’ll learn how to access it using Windows 10 Remote Desktop Connection via RDP by installing XRDP. As a bonus, I’ll also cover how to link it to a Google Drive Online Account.
Contabo Link : contabo.com
Build Ubuntu 22.04 with Desktop via Putty SSH Client Commands
-----------------------------------------------------------------------------
01) adduser xrdpuser (password example : paste se7ye8pc5gh8 )
02) usermod -aG sudo,adm xrdpuser && su xrdpuser
03) sudo apt-get update && sudo apt-get upgrade -y
04) sudo apt-get install ubuntu-desktop firefox stacer mmv -y
05) Optional - sudo snap install snap-store
06) cd ~ && wget www.c-nergy.be...
07) unzip xrdp-installer-1.4.zip && less xrdp-installer-1.4.sh (press q to quit viewer)
08) chmod +x xrdp-installer-1.4.sh && ./xrdp-installer-1.4.sh (P1, P2, P3, P4, P6
09) sudo sed -i 's/3389/53579/g' /etc/xrdp/xrdp.ini
10) sudo sed -i 's/#Port 22/Port 53572/g' /etc/ssh/sshd_config
11) sudo ufw allow 53572 && sudo ufw allow 53579 && sudo ufw enable && sudo ufw status numbered
12) sudo reboot
reconnect via SSH port 53572 using xrdpuser
13) sudo passwd --delete --lock root
14) sudo reboot
Turning Animations off in Ubuntu
================================
gsettings set org.gnome.desktop.interface enable-animations false
If for any reason you would like to turn these Animations, effects and transitions back on again the command is :
gsettings set org.gnome.desktop.interface enable-animations true
Reduce the number of colors that XRDP has to transmit.
======================================================
sudo sed -i 's/max_bpp=32/max_bpp=16/g' /etc/xrdp/xrdp.ini && sudo reboot
Again, If for any reason you would return to the full colours being transmitted by XRDP :
sudo sed -i 's/max_bpp=16/max_bpp=32/g' /etc/xrdp/xrdp.ini && sudo reboot
PLEASE NOTE : Since making this video, there are a couple of settings that I have found that speed up the responsiveness of this Videos Ubuntu VPS noticeably. The Video explaining what they are is only abound 4 minutes long, and can be found here : cloudtechlinks....
Connect via The Remote Dektop Connection (RDP) port 53579
Configuration
1) ASAP - On desktop, disable all lock screen settings - on privacy options
Optional - If Google Drive Wanted
1) In the Terminal Application :
a) cd /etc/netplan && sudo mmv '*.yaml' '#1.moved-for-youtube' && ls -la
b) sudo wget ht tps://cloudtechlinks.com/V23-cloudtech-dot-yaml --output-document=v23-cloudtech.yaml && ls -la && cat v23-cloudtech.yaml
c) sudo reboot
i) Show how to get a free Google Account
ii) Connect to Google Drive Online account :ycloudtech@gmail.com
cloudtech11Q
d) cd /etc/netplan && sudo rm v23-cloudtech.yaml && sudo mmv '*.moved-for-youtube' '#1.yaml' && ls -la
e) sudo reboot
♡ Products:
📷 Shop in our store: kit.co/techsup...
♡ Stay Connected:
❤️️ Subscribe to my channel for more: / @techsupportoffice