How to Setup a Ubuntu Virtual Machine and Install GUI in Digital Ocean

Sdílet
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

Komentáře • 87

  • @michaelk.teferra6472
    @michaelk.teferra6472 Před 2 lety +2

    Perfect Tutorial, Awesome!
    Thanks Michael, Keep It UP!!!

  • @warrenbaker4124
    @warrenbaker4124 Před 7 měsíci +1

    This is so well explained and also clearly documented - thanks so much!!

  • @timyakovets8231
    @timyakovets8231 Před rokem +1

    Hey, Michael! Thank you! It's still working 🙂 Thank you for your video

  • @khaledmousa380
    @khaledmousa380 Před rokem +1

    Excellent tourtial, thank you Michael!
    Sudos to you!! Keep it up!!

  • @yorukhun
    @yorukhun Před rokem +1

    Thanks for this video. It's very basicly

  • @user-zq8rz3th6d
    @user-zq8rz3th6d Před rokem

    Amazing tutorial. thank you Michael

  • @Patel1357
    @Patel1357 Před 2 lety +2

    Thanks for this tutorial!

  • @fareedmohammed4880
    @fareedmohammed4880 Před 2 lety +1

    Great video. Great explanation.

  • @gourab469
    @gourab469 Před 2 lety +1

    Perfect! Really helpful!

  • @keyz898
    @keyz898 Před 2 lety +1

    Thank you! I was so confused

  • @yassinebenaziza9457
    @yassinebenaziza9457 Před 2 lety +1

    Thank you so much, I highly recommend this video. Gd luck

  • @isamiraperdomo6357
    @isamiraperdomo6357 Před 2 lety +1

    really helpful. Thank you!!

  • @juanmayen21
    @juanmayen21 Před rokem +1

    Dude amazing!!! thanks so much!

  • @bobbyiliev_
    @bobbyiliev_ Před rokem +1

    Great video! Well done!

  • @AzzedineIssa
    @AzzedineIssa Před 2 lety +1

    Wonderful video thank you!

  • @lucas15356
    @lucas15356 Před 2 lety +3

    Very good video, thanks

  • @guilhermegomes9131
    @guilhermegomes9131 Před 10 měsíci

    a hug from those who love you here in Brazil Michael I LOVE YOU ❤, you saved me man

  • @yieuheje131
    @yieuheje131 Před rokem +1

    You are a hero Thanks a lot

  • @nzlnmffri3529
    @nzlnmffri3529 Před rokem +2

    Thanks dude❤

  • @donmudalige2310
    @donmudalige2310 Před 4 měsíci

    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?

  • @pedrofilho5323
    @pedrofilho5323 Před 2 lety +1

    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?

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +2

      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

  • @spejt
    @spejt Před 2 měsíci

    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?

  • @dnraghav
    @dnraghav Před 11 měsíci +1

    life saver

  • @indiaonellp
    @indiaonellp Před 2 lety +1

    Good video.
    Clearly explained.
    Can we use a browser for client side.

  • @calviethang7139
    @calviethang7139 Před 2 lety +1

    What if you have a Mac ? Can you use Terminal to connect to the VM?

    • @MichaelKitas
      @MichaelKitas  Před 2 lety

      Download Microsoft RDP App from App Store

  • @KyjoKai
    @KyjoKai Před 2 lety +1

    I can't quite understand what is stating in order to utilize the promotional $100? Any able to help me here?

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +1

      You need to provide a credit card, and they will give you 100$ free credit for 3 months

  • @alazar7685
    @alazar7685 Před rokem +3

    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

    • @MichaelKitas
      @MichaelKitas  Před rokem

      Check description I mention how to fix this common issue with few commands

    • @renatoauar
      @renatoauar Před 8 měsíci

      @@MichaelKitas Same here. Even doing this fix.

  • @nobby30
    @nobby30 Před rokem +1

    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?

    • @MichaelKitas
      @MichaelKitas  Před rokem +1

      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

    • @nobby30
      @nobby30 Před rokem +1

      @@MichaelKitas doh! Ctrl+o, then ENTER, then ctrl+x...if i jad braons id be dangerous lol
      This video saved alot of heartache...tysm!!💖👍

  • @jaango123
    @jaango123 Před rokem +1

    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.

    • @MichaelKitas
      @MichaelKitas  Před rokem

      This issue is not caused by the steps I proposed. It probably crashed because of overload

  • @mr.gaharwar
    @mr.gaharwar Před rokem +1

    What I can type in place of xfce4? If I am using gnome

    • @MichaelKitas
      @MichaelKitas  Před rokem

      Check this video out too: czcams.com/video/3ku7JAKIGVk/video.html
      I don't think I used gnome, but it might help

  • @catdragon2096
    @catdragon2096 Před 7 měsíci +1

    This is shouldn't reboot sever, right ? Because when I reboot sever, I can't log in to sever, why?

    • @MichaelKitas
      @MichaelKitas  Před 7 měsíci

      You never shutdown, restart or sleep the server, it's supposed to run 24/7

  • @FlutterShipp
    @FlutterShipp Před 2 lety +1

    Everything is okay and works, but why the screen size is toooooooo small? How can I change it?

    • @FlutterShipp
      @FlutterShipp Před 2 lety +1

      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.

  • @gabrielemarrano2129
    @gabrielemarrano2129 Před rokem +1

    Can you help me? I installed Firefox and Chrome but i can't open that

    • @gabrielemarrano2129
      @gabrielemarrano2129 Před rokem +1

      If i click the default browser, i have an error "input/output error"

    • @MichaelKitas
      @MichaelKitas  Před rokem

      Check this out: askubuntu.com/questions/899391/getting-input-output-error-running-anything-on-remote-desktop

  • @kuchingneko9616
    @kuchingneko9616 Před 2 lety +5

    i have installed but cannot open terminal :(

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +4

      That's an issue I had as well. Try searching for Xfce terminal from the search icon below

    • @kuchingneko9616
      @kuchingneko9616 Před 2 lety +2

      @@MichaelKitas it works, thanks

  • @mdaniyal6463
    @mdaniyal6463 Před 2 lety +2

    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

    • @MichaelKitas
      @MichaelKitas  Před 2 lety

      I say on the video how you can fix that, did you follow all the steps ?

    • @mdaniyal6463
      @mdaniyal6463 Před 2 lety +2

      @@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

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +1

      @@mdaniyal6463 Thank you a lot for the support 🙏🏻🙂

    • @sparketz3613
      @sparketz3613 Před rokem

      hi,you situation similar with me bro,after login 1 mins black screen,then whole is disappears ,how you slove it?

  • @strikersatya6986
    @strikersatya6986 Před rokem +1

    Terminal and browser is not opening bro..Any solution

    • @MichaelKitas
      @MichaelKitas  Před rokem

      I had same issue, you need xcfe terminal, go to search and try a different terminal, about browser need to download Google through terminal

  • @_marcobaez
    @_marcobaez Před 2 lety +1

    How do we make it connect to the internet?

    • @MichaelKitas
      @MichaelKitas  Před 2 lety

      What do you mean? You want to host a website there or?

    • @_marcobaez
      @_marcobaez Před 2 lety

      @@MichaelKitas well if you want to use Firefox etc. For me it didn't have internet connection

    • @MichaelKitas
      @MichaelKitas  Před 2 lety

      @@_marcobaez You need to download Firefox or Google Chrome from the command line. Search: How to download in

    • @_marcobaez
      @_marcobaez Před 2 lety +1

      @@MichaelKitas oh ok, is it pretty fast or a big laggy? I've tried other on Ubuntu and it's pretty slow

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +1

      @@_marcobaez Depends on the specs and internet speed both yours and the VM’s

  • @LatteMill
    @LatteMill Před rokem

    I can't open web browser and can't connect internet, how to solve it ?

    • @MichaelKitas
      @MichaelKitas  Před rokem

      You need to install it, using terminal. Google: how to install Google chrome in Ubuntu

  • @the-ze1te
    @the-ze1te Před rokem +1

    keep getting error " a problem has occurred and the system can't recover please logout and try again "

    • @MichaelKitas
      @MichaelKitas  Před rokem

      Check this out: askubuntu.com/questions/1183210/login-loop-on-ubuntu-19-10

  • @MrSrkuna
    @MrSrkuna Před rokem +1

    unable to open application on gui machine why?

    • @MichaelKitas
      @MichaelKitas  Před rokem

      A specific application or any application can’t be opened?

    • @MrSrkuna
      @MrSrkuna Před rokem

      @@MichaelKitas must apps are unable to open like terminal browser

    • @MichaelKitas
      @MichaelKitas  Před rokem

      There are multiple terminals, one of them opens, as I remember facing the same issue

    • @MrSrkuna
      @MrSrkuna Před rokem

      @@MichaelKitas what about apps which i want to run

  • @mdaniyal6463
    @mdaniyal6463 Před 2 lety +2

    Pleeeease hlep

  • @BearishGames
    @BearishGames Před 10 měsíci +1

    Chrome is installed, does nothing.

    • @MichaelKitas
      @MichaelKitas  Před 9 měsíci

      Did you follow the tutorial step by step?

  • @joelbright6913
    @joelbright6913 Před 8 měsíci +1

    Mine didn't work and I followed the whole step

  • @papagaming6591
    @papagaming6591 Před 2 měsíci +1

    this video legit doesnt work

    • @MichaelKitas
      @MichaelKitas  Před 2 měsíci

      Going to make an updated video soon (Looking for new solution currently)

    • @ICEVaPa
      @ICEVaPa Před 2 měsíci

      I'm about to jump into following this - why doesnt it work?