OPERATING SYSTEMSOS Linux

How to Setup and Install a GUI on Ubuntu Virtual Machine in AWS

This tutorial will help you to learn how to set up an Ubuntu 20.04 Virtual Machine using AWS EC2 Instance, then how to install a Graphical User Interface (GUI) which you can interact with so it’s not just a terminal, and how to install XRDP which allows you to connect to the Ubuntu machine which RDP (Remote Desktop Protocol) from a Windows Machine using the IP Address of the Virtual Machine.

Commands:
sudo apt update
sudo apt install ubuntu-desktop
sudo apt install xrdp
sudo systemctl status xrdp
sudo adduser xrdp ssl-cert
sudo ufw allow 3389 (or)
sudo ufw allow from 192.168.2.0/24 to any port 3389
sudo ufw reload

Join our Discord: https://discord.gg/mYCBHTZm6v

► Captcha Solving Service on 2captcha: https://bit.ly/2captchapromo
► Buy Crypto on Coinbase: https://bit.ly/coinbasepromolink

AWS SignUp Page: https://aws.amazon.com/free

Donate
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
PayPal: support@websidev.com
Bitcoin Wallet: bc1q05j8gcnq4mzvgj603cxdc8xxck4jgnu2ljsrt4
Ethereum Wallet: 0x5e7BD4f473f153d400b39D593A55D68Ce80F8a2e

Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Website: https://websidev.com
Linkedin: https://www.linkedin.com/in/michael-kitas-638aa4209/
Instagram: https://www.instagram.com/michael_kitas
Github: https://github.com/michaelkitas

Business Email: support@websidev.com

Tags:
– AWS
– EC2 Instances
– Ubuntu
– GUI
– RDP
– Virtual Machine

#aws #ubuntu #rdp

source

ubuntu

25 thoughts on “How to Setup and Install a GUI on Ubuntu Virtual Machine in AWS

  • thank sir,
    but desktop icons disappear after few seconds, how ca I fix that?

  • RDP is meant to connect to another Windows computer. Connecting to a Linux is more of a hack, hence the latency, regardless of the EC2 instance sizing.

  • My rdp is slow and lags. I have also increased the Ram to 4gb. Do uou know what could be wrong ?

  • Thanks for sharing. your approach to this Ubuntu GUI is much simple and strait forward, i prefer your approach. But sir, what if I prefer to use VNC instead of RDC, what command lines do I need to replace the 3 middle xrdp lines to make this work-out?
    Also is xUbuntu same or similar to as Ubuntu Jellyfish?

  • Guys i took a 4GB machine and i closed the console in the background . The one that you used to install all the packages.
    Now the remote desktop is fast enough.

  • Thanks. I've setup everything like yours, but when I login using remote desktop server, it is automatically closed. The password and username is correct, but I'm not sure why after I login, it will closed automatically after 1 second.

  • getting this following error:- any help appriciate

    The following packages have unmet dependencies: ubuntu-release-upgrader-gtk : Depends: ubuntu-release-upgrader-core (= 1:22.04.10) but 1:22.04.11 is to be installed Depends: python3-distupgrade (= 1:22.04.10) but 1:22.04.11 is to be installed E: Unable to correct problems, you have held broken packages.

  • Thank you! Clear, easy to follow and to the point… Got the desktop up and running on the first try!

  • Michael, Excellent tutorial – Thank You!

  • yep Amazon is not as nice as you might think they are. They'll give you 1 gig of memory for free, it's impossible to run anything with a GUI unless you upgrade. Dead slow. Your tutorial is absolutely great man thanks for the effort, but trust me guys I'm on fiber with a big machine and it's just not even zombie slow it is dead like really.. it's unusable.

  • hi i made 60Gb still virtual machine is super slow, any ideas to solve this ? i even Download xubuntu-desktop instead can you help ????

Comments are closed.