How to Install GUI on Ubuntu Server

Step 1

Deploy Ubuntu server from DigitalOcean dashboard.

Step 2

Login via SSH. You can find the login detain when you click on the deployed sever as it showed in the image.

Step 3

Update system packages

sudo apt-get update && sudo apt-get dist-upgrade -y

Step 4

Install MATE desktop

sudo apt-get install --no-install-recommends ubuntu-mate-core ubuntu-mate-desktop -y

Step 5

Install XRDP

sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon xrdp -y

Step 6

Add user

adduser {yourusername}

Step 7

Make that user admin

usermod -aG admin {yourusername}

Step 8

Make that user sudo

usermod -aG sudo {yourusername}

Step 9

Switch as new user

su - {yourusername}

Step 10

Connect to MATE desktop environment via XRDP

echo mate-session> ~/.xsession

Step 11

Manually clone /etc/skel/ to /home/user directory.

sudo cp /home/{yourusername}/.xsession /etc/skel

Step 12

Restart XRDP service

sudo service xrdp restart

Step 13

Connect to remote desktop connection

 

About the author

Technical Sahil

Sahil Dhamija is a visionary entrepreneur and tech enthusiast, proudly owning multiple companies across India, the US, the UK, and the UAE. As the founder of AInventions Technologies LLC, DigitalMarkethink Solutions LLC, WebReinvent Technologies LLC, BusinessMate Software Solutions LLC, and co-founder of Hostyaga FZE LLC, Sahil is a dynamic leader shaping the future of technology and digital marketing.

Apart from leading his businesses, Sahil is a passionate tech YouTuber, sharing insights and tutorials on various technological topics. He also serves as the CTO at Vayuna Corporate Travels Pvt Ltd and as Product Head at Vayuna Voicetech Pvt Ltd, where he oversees cutting-edge solutions in corporate travel and voice technology. Additionally, Sahil is a creative force in the film industry, producing films through Gentle Breeze Films Pvt Ltd.

Driven by innovation and creativity, Sahil continues to push boundaries in technology, media, and business.

View all posts

6 Comments

  • I am a student of BAK College. The recent paper competition gave me a lot of headaches, and I checked a lot of information. Finally, after reading your article, it suddenly dawned on me that I can still have such an idea. grateful. But I still have some questions, hope you can help me.

  • I am a student of BAK College. The recent paper competition gave me a lot of headaches, and I checked a lot of information. Finally, after reading your article, it suddenly dawned on me that I can still have such an idea. grateful. But I still have some questions, hope you can help me.

  • I may need your help. I’ve been doing research on gate io recently, and I’ve tried a lot of different things. Later, I read your article, and I think your way of writing has given me some innovative ideas, thank you very much.

  • I may need your help. I tried many ways but couldn’t solve it, but after reading your article, I think you have a way to help me. I’m looking forward for your reply. Thanks.

  • I may need your help. I tried many ways but couldn’t solve it, but after reading your article, I think you have a way to help me. I’m looking forward for your reply. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *