Enable desktop experience & RDP for Ubuntu 18.04 LTS VM in GCP

Sdílet
Vložit
  • čas přidán 25. 06. 2024
  • The script is
    sudo apt-get update
    sudo apt-get install -y xrdp
    sudo apt-get install -y xfce4
    sudo service xrdp restart
  • Věda a technologie

Komentáře • 220

  • @KevinHP
    @KevinHP Před 4 lety +6

    That was awesome and easy to do for a beginner. Thank you!

  • @diezgp
    @diezgp Před 4 lety +3

    Thanks, mate. This was awesome and easy, even for a guy like me. I couldn't believe i made my very own computer in some US server.

    • @CrunchyKai
      @CrunchyKai Před 3 lety +1

      wait till you build a real computer! That's the best feeling man :)

  • @VinayJoseph-personal
    @VinayJoseph-personal Před 5 lety +2

    Thanks Mahesh for this very useful video. I found it simple and straightforward.

  • @datloudaudio4932
    @datloudaudio4932 Před 5 lety +1

    Thanks for making easy to follow straight to the point.

  • @vicsar
    @vicsar Před 4 lety +1

    Great, straight to the point. Nice work.

  • @avgnerdd
    @avgnerdd Před 4 lety +1

    Very easy and simple. Thank you so much.

  • @TheDjexcessive
    @TheDjexcessive Před 4 lety +1

    great tutorial ! good work, worked perfectly

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

    Really helpful, thanks a lot!!!

  • @sultanahmedullabaig2740
    @sultanahmedullabaig2740 Před 3 lety +1

    awsome sir very simple and got out put, even in ubuntu form its not given I had to struggle for 3 weeks for many users thanks a lot

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

    man, you are a magician! thanks so much. Subscribed!

  • @ambareeshparayilsurendran2313

    Superb and thank you Mahesh. Many video's i have seen for enabling RDP to Ubuntu. Your one was very shot, and without any background music and worked brilliantly. Thanks a lot

  • @Lyushen
    @Lyushen Před 4 lety +4

    WOW U ARE GOD!! Thanks a lot! I finally found working guide!!! God bless you mate!

  • @polisolutionsconsulting6146

    Amazing tutorial! Works with Debian as well. Thank you

  • @prabal69
    @prabal69 Před 4 lety +1

    Thanks really helpful 👍

  • @IIDavidJII
    @IIDavidJII Před 5 lety

    Thank you Mahesh for making a simple and easy to follow video! I would add that if you have not set up a VCP Network that this can still be done as long as the default firewall rules are set to allow remote desktop sessions.

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 5 lety

      Thanks David for all the encouragement. Yes, with "Default" VPC the same can be achieved...

    • @a1spacedecor845
      @a1spacedecor845 Před 4 lety

      @@LearnGoogleCloudwithMahesh but browser is not working in RDP. Do I need to do any changes.

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      @@a1spacedecor845 Firefox will work. What is the error

    • @a1spacedecor845
      @a1spacedecor845 Před 4 lety +1

      @@LearnGoogleCloudwithMahesh It got resolved after using Firefox. Thanks

  • @th.araujo
    @th.araujo Před 3 lety +2

    thank you man, i was already getting desperate

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

    I have seen some videos of you lately, You Sir deserve a Sub

  • @ayoubhalloumi6224
    @ayoubhalloumi6224 Před 4 lety +15

    After installing all this!! if you want to add firefox browser just put this command and after its has done, search in apps for "firefox"
    sudo apt-get install firefox

  • @muralim1451
    @muralim1451 Před 3 lety +1

    Just rocked...Expert you are...Thanks..... Subscribed....

  • @polegatopokeronline4506
    @polegatopokeronline4506 Před 3 lety +1

    perfect very simple and practical, perfect helped me a lot :)

  • @evenhacks2329
    @evenhacks2329 Před 3 lety +1

    Thanks You Saved My Day!

  • @nupoorchavan5998
    @nupoorchavan5998 Před rokem +1

    Thank you, saved me a lot of time!🙏

  • @sahanperera9629
    @sahanperera9629 Před 4 lety +1

    this is a very useful video thank you so much.!

    • @secularph8424
      @secularph8424 Před 3 lety

      Will it work without installing xfce ????

  • @mehmetturk8471
    @mehmetturk8471 Před 3 lety +1

    Thank you very much, nice lesson

  • @chandreshsingh6592
    @chandreshsingh6592 Před 4 lety +1

    Awesome video thanks

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

    That's great Mahesh !!!
    In a one shot all working perfect. Appreciated !!!!

  • @kiattisakphanphu3823
    @kiattisakphanphu3823 Před 4 lety

    this awesome and easy , thank you

  • @averthebest
    @averthebest Před 3 lety +1

    Thank you bro!!!

  • @jaydeepsampat2695
    @jaydeepsampat2695 Před 3 lety +5

    Thanks for the video. For some reasons RCP works only with ubuntu-desktop. Xubuntu makes the session end in RDP as we enter password.

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

    Thanks a lot, you saved me.

  • @soufianta8374
    @soufianta8374 Před 4 lety

    Hello. Little question concerning that cloud vm: Did you installed something or was Ubuntu (minimal without xorg and de) pre-installed on it? Or did you installed the OS outside this video? In this video, I saw only the installation of xrdp (including xorg) and xfce4...

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      Ubuntu is installed @ czcams.com/video/L0QdZwDxQa8/video.html and it is not installed outside this video. The image is provided by Google

  • @arunnath5514
    @arunnath5514 Před 4 lety

    Thanks Mahesh.

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

    simple and easy to the point

  • @beasleyneal9554
    @beasleyneal9554 Před 3 lety

    love thank youvery much

  • @TSKGenelkurmayBaskanligi
    @TSKGenelkurmayBaskanligi Před 3 lety +1

    Thank you sir

  • @juampi4590
    @juampi4590 Před 3 lety

    Mahesh, just one question the files located into the "drive" mountpoint are 100% online? I mean, it use space in the VM?

  • @jeevanjeenu5812
    @jeevanjeenu5812 Před 3 lety

    Thanks so much it was really helpful :) :+1

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

    You Helped me A lot.
    Thank you

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

    Thank you Sir,
    Mantap

  • @nareshpenneti
    @nareshpenneti Před 3 lety

    Thank you.

  • @Tdot21
    @Tdot21 Před 3 lety

    Thanks bro.

  • @tariogounga5800
    @tariogounga5800 Před 3 lety +1

    Thank you

  • @Cebel
    @Cebel Před 3 lety +1

    you rock

  • @sazzadahmed4797
    @sazzadahmed4797 Před 4 lety +1

    Thanks

  • @mcpaolof1
    @mcpaolof1 Před 5 lety +1

    thanks Mahesh

  • @ryan6071
    @ryan6071 Před rokem

    ty!

  • @tophire
    @tophire Před 4 lety +1

    thanks

  • @obseraft
    @obseraft Před 3 lety +1

    Thanks alot ..

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

    Hello so I managed to do it successfully so thank you, HOWEVER it is very slow and laggy, what could be the issue?

  • @rahulready7120
    @rahulready7120 Před 4 lety

    Enable desktop experience & RDP for Ubuntu 18.04 LTS VM in GCP update this video for 20.04

  • @zaidkhan9384
    @zaidkhan9384 Před 3 lety

    Nice video

  • @d-guides6119
    @d-guides6119 Před 4 lety

    thanx

  • @soooempty
    @soooempty Před 4 lety

    Hello, could you try and use the oracle cloud VPS (free tier version) to make the desktop experience work because im not able to connect to the RDP after inputting the public ip address?

  • @adityah6109
    @adityah6109 Před rokem +1

    On trying to do the 'restart step' by doing 'sudo service xrdp restart', I get err as : Failed to restart xrdp.service: Unit xrdp.service not found.
    Can you please help? Thanks.

  • @kamranyusubov3826
    @kamranyusubov3826 Před 3 lety

    thanks for video. How to create a firewall? I followed the steps I had different firewalls

  • @dktutorial1309
    @dktutorial1309 Před 3 lety

    Hi thank you I got it but still I am not able to get sound, Please tell me how to get gcp vm sound on our device

  • @yaseerarafatneon
    @yaseerarafatneon Před 3 lety

    How to move file from this RDP to main pc.
    And how to install app in this RDP?

  • @Ajendra25
    @Ajendra25 Před 3 lety

    Very nice video! I don't understand why It's getting closed after entering Root id and password in RDP connection! Do you know what might be the reason?

  • @istopmedia9006
    @istopmedia9006 Před 3 lety

    Hi sir how to create custom vpc , for doing this tutorial ?

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

    My RDP crashes after entering the credentials, what should I do next?

  • @truegospel4people
    @truegospel4people Před 4 lety

    I followed the exact steps, post entering the credentials, the screen just blinks for a second and closes. what could be the issue.

  • @edwinodus
    @edwinodus Před 2 lety

    Im in but the web browser is not working

  • @Ak-sl8cf
    @Ak-sl8cf Před 4 lety

    sir my system says login failed display 0

  • @amitgurung7121
    @amitgurung7121 Před 3 lety +1

    This did not fix my issue. Is it not possible if we have the "default" instead of "customvpc-mumbai"? Thanks in advance.

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

    If when you enter your password, the window closes, try instaling the desktop with : sudo apt-get install ubuntu-desktop

  • @midhunc6211
    @midhunc6211 Před 3 lety +3

    Session is immediately closing after giving username and password

  • @vadlamudisatish1
    @vadlamudisatish1 Před 4 lety

    Hi Mahesh,
    I am using a mac with Microsoft RDP installed, all the steps you mentioned are replicated successfully.
    once i enter the root user name and password after the URL, the screen closes automatically.
    i have seen few ppl have mentioned same issue here any luck with resolution .
    many thanks in advance :-)

    • @rikis213
      @rikis213 Před 4 lety

      Downgrade to Ubuntu 18.04 LTS

  • @bgilbert7208
    @bgilbert7208 Před 3 lety

    I can't see the final install screen because they were blocked by ads for more of your videos

  • @jaychaudhari3104
    @jaychaudhari3104 Před 3 lety

    how do i change resolution?

  • @Agusandoval_
    @Agusandoval_ Před 4 lety

    Hey! I could config but when I start the RDC on windows it closes automatically... any idea?

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      On Google Cloud Platform with exact version of Ubuntu (18.04) it is working. I tried again to confirm. Only thing which I see there is latency/ slowness in the RDP.

    • @codyvandervoort4079
      @codyvandervoort4079 Před 4 lety

      I have an idea as this was happening to me,
      i went through other videos before I came to this one, and i had your problem, most likely because I already installed what everyone else told me to, i just made a simple vm as easy as he just did from scratch and it worked perfectly, so delete the one you already made and just make a new one

    • @rikis213
      @rikis213 Před 4 lety

      Downgrade to Ubuntu 18.04 LTS

  • @thomas-sinkala
    @thomas-sinkala Před 4 lety +1

    Works but slow!

  • @justplayit9644
    @justplayit9644 Před 3 lety

    currently running a 4-core, 16-GB ram configuration but the system is slow as f**k, do you have any solution cause I am connected with 300mbps connection that also doesn't help please reply if you know any solutions :(

  • @hdat90
    @hdat90 Před 4 lety

    Buen día, todo me funciono perfecto, pero tengo un problema y es que en escritorio remoto funciona muy lento. muchas gracias

  • @lawalquazeem8596
    @lawalquazeem8596 Před 3 lety

    Hello, I have a problem with mine, it's not showing the network column and I cant launch it. Pls I need help

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 3 lety

      If you are able to create a VM then network is present. Just go to console.cloud.google.com/networking/networks/list to verify whether the VPC is present.
      In the Compute Engine screen you will see a drop down named "Columns" click and select "Network" to get this column

  • @muzafferkadir
    @muzafferkadir Před 4 lety

    is this work for Ubuntu 18.04 minimal or any for better performance??

  • @biswanathbose2300
    @biswanathbose2300 Před 3 lety

    I am running an application inside VM with localhost and port 5555 but how can I access same application outside VM? My VM has different external ip, is there a way to map my application's port to VM's external port, let me know.

  • @kirankumar-hn9bp
    @kirankumar-hn9bp Před 3 lety

    i have followed all the steps , its worked for me for first time rdp login and later its giving me same error as before remote desktop couldnot connect error

  • @rohanrampuria1
    @rohanrampuria1 Před 4 lety +1

    will this solution just work for windows? I am trying to do it in mac and its not working

  • @MohammedAmmar-ud8xs
    @MohammedAmmar-ud8xs Před 4 lety

    how can i edit my configs to have customvpc-mumbai ?

  • @rrrreetreereerrerrrr
    @rrrreetreereerrerrrr Před 3 lety

    it worked but only after the command
    echo xfce4-session >~/.xsession

  • @vadlamudisatish1
    @vadlamudisatish1 Před 4 lety

    Hi Mahesh, I follow your classes on a online learning portal :-)
    a quickie pls
    Why does ping using internal ips from vm’s across 2 diff projects not work and pings work successfully from the internal ips from 2 vms from same project?
    appreciate your help..
    also please let me know if you do answer questions in a blog or a forum on GCP, instead of yo-yoing in YT comments section...

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      Different Project means different VPC networks hence ping will not work. For it to work use VPC Peering but make sure IPs conflict is not there b/w these two network

  • @jamesroland5270
    @jamesroland5270 Před 4 lety

    Why it closes the remote desktop window once I type the correct password?

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      Is it working now or the same issue?

    • @tablettiff430
      @tablettiff430 Před 4 lety

      @@LearnGoogleCloudwithMahesh it i keep closing

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      @@tablettiff430 What is the version of Ubuntu used? Was there any difference in the commands used? I recently tried exactly the same commands which are mentioned in the description in GCP and it worked.

  • @WFKonrad
    @WFKonrad Před 4 lety +1

    just closes as i type my password and it seems like i'm not the only one so this is useless

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      On Google Cloud Platform with exact version of Ubuntu (18.04) it is working. I tried again to confirm. Only thing which I see there is latency/ slowness in the RDP.

    • @codyvandervoort4079
      @codyvandervoort4079 Před 4 lety

      delete your vm make a new one you messed it up with everyone elses videos, i did it too, but i made a new one and it worked

  • @Ak-sl8cf
    @Ak-sl8cf Před 4 lety

    When I enter the password and click ok a black screen appears and they RDC closes

  • @gerrytheleper6604
    @gerrytheleper6604 Před 4 lety

    Thanks for the video. I tried this but the RDP connection instantly closes after I log in with the root password.

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      Hi Mark, I have heard a similar response from others. What is the version of Ubuntu used? Did you try in GCP or some other cloud environment?

    • @abycherian8251
      @abycherian8251 Před 4 lety +4

      I had also the same issue. Try this command
      sudo apt-get install ubuntu-desktop
      Guess Ubuntu desktop is not installed. Now it is working for me.

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

      @@abycherian8251 This fixed my issue

  • @user-rn4ul3wl2u
    @user-rn4ul3wl2u Před 3 lety

    hello Sir, may I ask why is the remote view and environment seems so different compare to the real ubuntu?

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 3 lety

      Remote View uses Xfce which is a lightweight Desktop environment. Normal one will be usually Gnome

  • @tedesco182
    @tedesco182 Před 4 lety +1

    It worked, but it was too slow! What can it be?

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      I have heard the same from one another user. Not we sure what is the issue

    • @Luca-qy4ll
      @Luca-qy4ll Před 4 lety +3

      Try to change the speed in the remote desktop app. I changed that to LAN and it worked pretty smooth.
      Edit: U can find that by pressing Show Options and then Experience Tab.

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      @@Luca-qy4ll Thanks Luca

    • @Luca-qy4ll
      @Luca-qy4ll Před 4 lety

      @@LearnGoogleCloudwithMahesh No problem man. Do you have a tutorial or can you do one where you explain how I can take a windows license and activate it into cloud? I want to buy it third party as its cheaper.

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      @@Luca-qy4ll Don't have one currently Luca

  • @boriszyrianov6121
    @boriszyrianov6121 Před 4 lety

    i don't get it. Why you need RDP if you have SSH?

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      Just to have Desktop experience. Anything else

    • @boriszyrianov6121
      @boriszyrianov6121 Před 4 lety

      @@LearnGoogleCloudwithMahesh But I get desktop experience with ssh on windows. Is it different? Does it mean you can't get desktop experience with ssh on Ubuntu?

    • @boriszyrianov6121
      @boriszyrianov6121 Před 4 lety

      @@LearnGoogleCloudwithMahesh Can you explain all this RDP and VPC networking stuff from scratch? I couldn't find it on your channel. I just read David Young post, that RDP connection can be achieved with default VPC. That would be enough for me.

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      @@boriszyrianov6121 In GCP all Linux distribution supports only SSH. & Windows OS supports either command line and desktop experience option.

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 4 lety

      @@boriszyrianov6121 RDP port 3389 (firewall) is opened in Default VPC. If you have a windows VM which is using Default VPC then RDP will work automatically.

  • @secularph8424
    @secularph8424 Před 3 lety

    Will it work without installing xfce ????

  • @stephensenu
    @stephensenu Před 3 lety

    Can I give my vm instance name a different name?

  • @SvetoslavovX
    @SvetoslavovX Před 3 lety

    i cant login

  • @tonijati640
    @tonijati640 Před 2 lety

    iam dont no my password and my yusername to log in rdp, pleas give me solution to fix it

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 2 lety

      SSH into the VM and run *sudo -s* to switch to root user then type *passwd* to create your new password

    • @tonijati640
      @tonijati640 Před 2 lety

      @@LearnGoogleCloudwithMahesh thansks for your answer, now i can enter ubuntu rdp nice

    • @tonijati640
      @tonijati640 Před 2 lety

      now i cannot use browser in ubuntu rdp, how to accses internet browser for download chrome browser

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 2 lety

      @@tonijati640 open terminal and run *sudo apt update && sudo apt install firefox*

    • @tonijati640
      @tonijati640 Před 2 lety

      @@LearnGoogleCloudwithMahesh after that what next

  • @angiii8758
    @angiii8758 Před 3 lety

    xrdp refresh rate is very slow

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  Před 3 lety

      Yes, this is a known issue. I use my LAN cable instead of WIFI and use n1-standard-8 configuration it is pretty decent

  • @abhishekchoudhary6073
    @abhishekchoudhary6073 Před 3 lety

    IT is too slow

  • @mithu.prince4852
    @mithu.prince4852 Před 2 lety

    Can anybody help me..... As I didn't get it 😭😭😭😭
    Plzzzzz

  • @deepserenemusic3890
    @deepserenemusic3890 Před 3 lety

    Thanks