How to Setup a Ubuntu Virtual Machine and Install GUI in Digital Ocean
Vložit
- čas přidán 22. 01. 2022
- This tutorial will help you to learn how to set up an Ubuntu 20.04 Virtual Machine using Digital Ocean service called Droplets, 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 xubuntu-desktop
sudo apt install xrdp
sudo systemctl status xrdp
sudo adduser xrdp ssl-cert
sudo ufw allow 3389
sudo ufw allow from 192.168.2.0/24 to any port 3389 (for specific IP address)
sudo ufw reload
To fix the common issue:
Stop xrdp with sudo service xrdp stop
Edit the xrdp start script: sudo nano /etc/xrdp/startwm.sh
In this file, replace the lines
test -x /etc/X11/Xsession && exec /etc/X11/Xsession
exec /bin/sh /etc/X11/Xsession
with startxfce4
(You can comment out lines by adding # at the start)
Restart xrdp with sudo service xrdp start
Select Xrdp as the session, and log in.
Join our Discord: / discord
► Captcha Solving Service on 2captcha: bit.ly/2captchapromo
► Buy Crypto on Coinbase: bit.ly/coinbasepromolink
DigitalOcean SignUp Page with 100$ Credit: www.digitalocean.com/try/free...
Donate
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
PayPal: support@websidev.com
Bitcoin Wallet: bc1q05j8gcnq4mzvgj603cxdc8xxck4jgnu2ljsrt4
Ethereum Wallet: 0x5e7BD4f473f153d400b39D593A55D68Ce80F8a2e
Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Website: websidev.com
Linkedin: / michael-kitas-638aa4209
Instagram: / michael_kitas
Github: github.com/michaelkitas
Business Email: support@websidev.com
Tags:
- Digital Ocean
- Droplets
- Ubuntu
- GUI
- RDP
- Virtual Machine
#digitalocean #ubuntu #rdp
Perfect Tutorial, Awesome!
Thanks Michael, Keep It UP!!!
This is so well explained and also clearly documented - thanks so much!!
Hey, Michael! Thank you! It's still working 🙂 Thank you for your video
Excellent tourtial, thank you Michael!
Sudos to you!! Keep it up!!
Thanks for this video. It's very basicly
Amazing tutorial. thank you Michael
Thanks for this tutorial!
Great video. Great explanation.
Perfect! Really helpful!
Thank you! I was so confused
Thank you so much, I highly recommend this video. Gd luck
really helpful. Thank you!!
Dude amazing!!! thanks so much!
Great video! Well done!
Thank you very much!
Wonderful video thank you!
Very good video, thanks
a hug from those who love you here in Brazil Michael I LOVE YOU ❤, you saved me man
You are a hero Thanks a lot
Thanks dude❤
Thanks for the great video. IT was helpful. But I have this big issue after connecting with RDP. I am not able to open firefox. everytime I try to open firefox I get this error
Authorization required, but no authorization protocol specified Error: cannot open display
I can overcome this using xhost +.. But it's temporary and does not look safe. Any ideas? also does the xubuntu automatically use the local network for internet access?
Hey, Michael!
Amazing tutorial and video! Congrats and thanks a lot!!
So, is there anyway to solve the lag problem with the UI?
I had open chrome to crawl some things, but the lag is terrible. Ram and cpu usage are under 50%
Do you have any idea?
The only way that kinda makes it smoother to use is by using a smaller resolution window, which you can set on the rdp settings of that connection like I showed on the video
Thank you for the helpful video, however, I have the problem that the remote desktop connection no longer works. Do you have a solution for this?Thank you for the helpful video, however, I have the problem that the remote desktop connection no longer works. Do you have a solution for this?
life saver
Good video.
Clearly explained.
Can we use a browser for client side.
Yes, you can!
@@MichaelKitas thank you
What if you have a Mac ? Can you use Terminal to connect to the VM?
Download Microsoft RDP App from App Store
I can't quite understand what is stating in order to utilize the promotional $100? Any able to help me here?
You need to provide a credit card, and they will give you 100$ free credit for 3 months
hey there, great video. question: when i login using remote server from windows it shows the login screen and after entering user name and password it just goes black then closes the remote desktop app. i have made sure that i'm using the correct username and password. ip is correct too. thanks for the help
Check description I mention how to fix this common issue with few commands
@@MichaelKitas Same here. Even doing this fix.
newbie here, how do you close the .sh file...anytime I change it, then Exit, then press Y it just stays with Help, cancel etc at the bottom?
Hit ESC (the Esc key, which is located in the upper left hand corner of the keyboard), then type :q (a colon followed by a lower case "q") basically :q and finally press ENTER
@@MichaelKitas doh! Ctrl+o, then ENTER, then ctrl+x...if i jad braons id be dangerous lol
This video saved alot of heartache...tysm!!💖👍
hey there. this rdp doesnt connect after some days say one week or 10 days. I had to create a new vm and destroy the old one after following the same steps.
This issue is not caused by the steps I proposed. It probably crashed because of overload
What I can type in place of xfce4? If I am using gnome
Check this video out too: czcams.com/video/3ku7JAKIGVk/video.html
I don't think I used gnome, but it might help
This is shouldn't reboot sever, right ? Because when I reboot sever, I can't log in to sever, why?
You never shutdown, restart or sleep the server, it's supposed to run 24/7
Everything is okay and works, but why the screen size is toooooooo small? How can I change it?
Update: I used reminna on my Zorin machine to connect with ubuntu,
first I connected via the ip address field box, it was 500x400 (somewhat) resolution, then I created a New connection & saved it, now everything works on my screen resolution.
Can you help me? I installed Firefox and Chrome but i can't open that
If i click the default browser, i have an error "input/output error"
Check this out: askubuntu.com/questions/899391/getting-input-output-error-running-anything-on-remote-desktop
i have installed but cannot open terminal :(
That's an issue I had as well. Try searching for Xfce terminal from the search icon below
@@MichaelKitas it works, thanks
When I connect by pasting IP address it turns into black screen and after that is disappears
Nothing happens I want one specific Indian rdp
I say on the video how you can fix that, did you follow all the steps ?
@@MichaelKitas ooh thank you thank you soo much I just watch your video again and again from the last part and it's done
Thanks a lotttt
Gonna share your video as much as I can
Love from Pakistan
@@mdaniyal6463 Thank you a lot for the support 🙏🏻🙂
hi,you situation similar with me bro,after login 1 mins black screen,then whole is disappears ,how you slove it?
Terminal and browser is not opening bro..Any solution
I had same issue, you need xcfe terminal, go to search and try a different terminal, about browser need to download Google through terminal
How do we make it connect to the internet?
What do you mean? You want to host a website there or?
@@MichaelKitas well if you want to use Firefox etc. For me it didn't have internet connection
@@_marcobaez You need to download Firefox or Google Chrome from the command line. Search: How to download in
@@MichaelKitas oh ok, is it pretty fast or a big laggy? I've tried other on Ubuntu and it's pretty slow
@@_marcobaez Depends on the specs and internet speed both yours and the VM’s
I can't open web browser and can't connect internet, how to solve it ?
You need to install it, using terminal. Google: how to install Google chrome in Ubuntu
keep getting error " a problem has occurred and the system can't recover please logout and try again "
Check this out: askubuntu.com/questions/1183210/login-loop-on-ubuntu-19-10
unable to open application on gui machine why?
A specific application or any application can’t be opened?
@@MichaelKitas must apps are unable to open like terminal browser
There are multiple terminals, one of them opens, as I remember facing the same issue
@@MichaelKitas what about apps which i want to run
Pleeeease hlep
Hello, what’s the problem?
Chrome is installed, does nothing.
Did you follow the tutorial step by step?
Mine didn't work and I followed the whole step
What issue are you getting?
same
this video legit doesnt work
Going to make an updated video soon (Looking for new solution currently)
I'm about to jump into following this - why doesnt it work?