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

Поділитися
Вставка
  • Опубліковано 10 лис 2024

КОМЕНТАРІ • 220

  • @ayoubhalloumi6224
    @ayoubhalloumi6224 4 роки тому +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

  • @sultanahmedullabaig2740
    @sultanahmedullabaig2740 3 роки тому +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

  • @diezgp
    @diezgp 4 роки тому +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 3 роки тому +1

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

  • @venkateshprabhu952
    @venkateshprabhu952 2 роки тому +1

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

  • @adamtechdays
    @adamtechdays 3 роки тому +1

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

  • @jaydeepsampat2695
    @jaydeepsampat2695 4 роки тому +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.

  • @Lyushen
    @Lyushen 4 роки тому +4

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

  • @VinayJoseph-personal
    @VinayJoseph-personal 5 років тому +2

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

  • @ambareeshparayilsurendran2313
    @ambareeshparayilsurendran2313 4 роки тому +1

    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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

      Thanks Ambareesh

    • @secularph8424
      @secularph8424 4 роки тому

      Will it work without installing xfce ????

    • @ambareeshparayilsurendran2313
      @ambareeshparayilsurendran2313 4 роки тому +1

      @@secularph8424 It need xfce4. The list of commands are as follows
      sudo apt-get update
      sudo apt-get install -y xrdp
      sudo apt-get install -y xfce4
      sudo service xrdp restart

    • @secularph8424
      @secularph8424 4 роки тому

      @@ambareeshparayilsurendran2313 thanks

  • @nupoorchavan5998
    @nupoorchavan5998 2 роки тому +1

    Thank you, saved me a lot of time!🙏

  • @datloudaudio4932
    @datloudaudio4932 5 років тому +1

    Thanks for making easy to follow straight to the point.

  • @KevinHP
    @KevinHP 4 роки тому +6

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

  • @polisolutionsconsulting6146
    @polisolutionsconsulting6146 3 роки тому +1

    Amazing tutorial! Works with Debian as well. Thank you

  • @IIDavidJII
    @IIDavidJII 5 років тому

    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  5 років тому

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

    • @a1spacedecor845
      @a1spacedecor845 4 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

      @@a1spacedecor845 Firefox will work. What is the error

    • @a1spacedecor845
      @a1spacedecor845 4 роки тому +1

      @@LearnGoogleCloudwithMahesh It got resolved after using Firefox. Thanks

  • @prashantchoudhari560
    @prashantchoudhari560 4 роки тому +2

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

  • @vicsar
    @vicsar 4 роки тому +1

    Great, straight to the point. Nice work.

  • @muralim1451
    @muralim1451 4 роки тому +1

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

  • @th.araujo
    @th.araujo 4 роки тому +2

    thank you man, i was already getting desperate

  • @adityah6109
    @adityah6109 2 роки тому +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.

  • @TheDjexcessive
    @TheDjexcessive 4 роки тому +1

    great tutorial ! good work, worked perfectly

  • @midhunc6211
    @midhunc6211 3 роки тому +3

    Session is immediately closing after giving username and password

  • @kajaldhanotia3349
    @kajaldhanotia3349 3 роки тому +1

    Thanks a lot, you saved me.

  • @FanCortesPodcast
    @FanCortesPodcast 3 роки тому +1

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

  • @avgnerdd
    @avgnerdd 5 років тому +1

    Very easy and simple. Thank you so much.

  • @mehmetturk8471
    @mehmetturk8471 3 роки тому +1

    Thank you very much, nice lesson

  • @prakharseth4660
    @prakharseth4660 3 роки тому +1

    You Helped me A lot.
    Thank you

  • @ravirajparab4624
    @ravirajparab4624 3 роки тому +1

    simple and easy to the point

  • @leonartsuarez
    @leonartsuarez 5 років тому +2

    Really helpful, thanks a lot!!!

  • @evenhacks2329
    @evenhacks2329 4 роки тому +1

    Thanks You Saved My Day!

  • @sahanperera9629
    @sahanperera9629 4 роки тому +1

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

    • @secularph8424
      @secularph8424 4 роки тому

      Will it work without installing xfce ????

  • @InnoSang
    @InnoSang 4 роки тому +2

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

      Please try with the commands mentioned in the description. There is an high chance it works

    • @solusistemasfull4818
      @solusistemasfull4818 4 роки тому

      Yes, this worked for me on 20.04, tanks a lot (y)

    • @juancmp589
      @juancmp589 4 роки тому

      work for me, thanks

    • @juancmp589
      @juancmp589 4 роки тому

      i can see desktop, but no icons. no menu.

  • @amitgurung7121
    @amitgurung7121 3 роки тому +1

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому

      You can use default vpc

    • @amitgurung7121
      @amitgurung7121 3 роки тому

      But in my case, the "Remote Desktop Connection" app is not opening. Note that I am working on Ubuntu 18.04 OS on my Desktop as well

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому +1

      @@amitgurung7121 Try installing RDP client on your Ubuntu Desktop

  • @ameyborkar8250
    @ameyborkar8250 4 роки тому +2

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

  • @rahulready7120
    @rahulready7120 4 роки тому

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

  • @juampi4590
    @juampi4590 4 роки тому

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

  • @soufianta8374
    @soufianta8374 5 років тому

    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  5 років тому

      Ubuntu is installed @ ua-cam.com/video/L0QdZwDxQa8/v-deo.html and it is not installed outside this video. The image is provided by Google

  • @adieoxide3666
    @adieoxide3666 3 роки тому +1

    Thank you Sir,
    Mantap

  • @officialwonderfacts
    @officialwonderfacts 4 роки тому +2

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

  • @yaseerarafatneon
    @yaseerarafatneon 3 роки тому

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

  • @jeevanjeenu5812
    @jeevanjeenu5812 4 роки тому

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

  • @truegospel4people
    @truegospel4people 4 роки тому

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

  • @jaychaudhari3104
    @jaychaudhari3104 3 роки тому

    how do i change resolution?

  • @lawalquazeem8596
    @lawalquazeem8596 4 роки тому

    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  4 роки тому

      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

  • @beasleyneal9554
    @beasleyneal9554 3 роки тому

    love thank youvery much

  • @edwinodus
    @edwinodus 2 роки тому

    Im in but the web browser is not working

  • @bgilbert7208
    @bgilbert7208 4 роки тому

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

  • @biswanathbose2300
    @biswanathbose2300 3 роки тому

    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.

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому

      Go to Firewall Rules console.cloud.google.com/networking/firewalls/list page and create a Firewall to allow port tcp:5555 and more done open browser and try externalip-of-the-vm:5555

    • @biswanathbose2300
      @biswanathbose2300 3 роки тому +1

      @@LearnGoogleCloudwithMahesh Thank you!

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому

      @@biswanathbose2300 Awesome

  • @dktutorial1309
    @dktutorial1309 3 роки тому

    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

  • @prabal69
    @prabal69 5 років тому +1

    Thanks really helpful 👍

  • @soooempty
    @soooempty 4 роки тому

    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?

  • @chandreshsingh6592
    @chandreshsingh6592 4 роки тому +1

    Awesome video thanks

  • @averthebest
    @averthebest 3 роки тому +1

    Thank you bro!!!

  • @kiattisakphanphu3823
    @kiattisakphanphu3823 4 роки тому

    this awesome and easy , thank you

  • @TSKGenelkurmayBaskanligi
    @TSKGenelkurmayBaskanligi 3 роки тому +1

    Thank you sir

  • @istopmedia9006
    @istopmedia9006 3 роки тому

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

  • @Ajendra25
    @Ajendra25 3 роки тому

    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?

  • @rrrreetreereerrerrrr
    @rrrreetreereerrerrrr 4 роки тому

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

  • @muzafferkadir
    @muzafferkadir 4 роки тому

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

  • @Cebel
    @Cebel 3 роки тому +1

    you rock

  • @rohanrampuria1
    @rohanrampuria1 4 роки тому +1

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

  • @kamranyusubov3826
    @kamranyusubov3826 3 роки тому

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

  • @Ak-sl8cf
    @Ak-sl8cf 4 роки тому

    sir my system says login failed display 0

  • @justplayit9644
    @justplayit9644 4 роки тому

    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 :(

  • @WFKonrad
    @WFKonrad 4 роки тому +1

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

      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 4 роки тому

      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

  • @tariogounga5800
    @tariogounga5800 3 роки тому +1

    Thank you

  • @MohammedAmmar-ud8xs
    @MohammedAmmar-ud8xs 4 роки тому

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

  • @Agusandoval_
    @Agusandoval_ 4 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

      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 4 роки тому

      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 4 роки тому

      Downgrade to Ubuntu 18.04 LTS

  • @tedesco182
    @tedesco182 4 роки тому +1

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

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

    • @Luca-qy4ll
      @Luca-qy4ll 4 роки тому +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  4 роки тому

      @@Luca-qy4ll Thanks Luca

    • @Luca-qy4ll
      @Luca-qy4ll 4 роки тому

      @@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  4 роки тому

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

  • @kirankumar-hn9bp
    @kirankumar-hn9bp 4 роки тому

    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

  • @vadlamudisatish1
    @vadlamudisatish1 4 роки тому

    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 4 роки тому

      Downgrade to Ubuntu 18.04 LTS

  • @boriszyrianov6121
    @boriszyrianov6121 4 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

      Just to have Desktop experience. Anything else

    • @boriszyrianov6121
      @boriszyrianov6121 4 роки тому

      @@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 4 роки тому

      @@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  4 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

      @@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 4 роки тому

    Will it work without installing xfce ????

  • @ryan6071
    @ryan6071 Рік тому

    ty!

  • @Ak-sl8cf
    @Ak-sl8cf 4 роки тому

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

  • @jamesroland5270
    @jamesroland5270 4 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

      Is it working now or the same issue?

    • @tablettiff430
      @tablettiff430 4 роки тому

      @@LearnGoogleCloudwithMahesh it i keep closing

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

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

  • @nareshpenneti
    @nareshpenneti 4 роки тому

    Thank you.

  • @MIN-c5p1t
    @MIN-c5p1t 3 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому

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

  • @arunnath5514
    @arunnath5514 4 роки тому

    Thanks Mahesh.

  • @stephensenu
    @stephensenu 3 роки тому

    Can I give my vm instance name a different name?

  • @SvetoslavovX
    @SvetoslavovX 3 роки тому

    i cant login

  • @hdat90
    @hdat90 5 років тому

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

  • @Tdot21
    @Tdot21 4 роки тому

    Thanks bro.

  • @tophire
    @tophire 4 роки тому +1

    thanks

  • @tonijati640
    @tonijati640 3 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому

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

    • @tonijati640
      @tonijati640 3 роки тому

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

    • @tonijati640
      @tonijati640 3 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому

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

    • @tonijati640
      @tonijati640 3 роки тому

      @@LearnGoogleCloudwithMahesh after that what next

  • @gerrytheleper6604
    @gerrytheleper6604 4 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  4 роки тому

      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 4 роки тому +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 9 місяців тому

      @@abycherian8251 This fixed my issue

  • @mcpaolof1
    @mcpaolof1 5 років тому +1

    thanks Mahesh

  • @angiii8758
    @angiii8758 3 роки тому

    xrdp refresh rate is very slow

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому

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

  • @thomas-sinkala
    @thomas-sinkala 4 роки тому +1

    Works but slow!

  • @d-guides6119
    @d-guides6119 4 роки тому

    thanx

  • @vadlamudisatish1
    @vadlamudisatish1 4 роки тому

    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  4 роки тому

      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

  • @mithu.prince4852
    @mithu.prince4852 3 роки тому

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

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому

      What is the error you are getting

    • @mithu.prince4852
      @mithu.prince4852 3 роки тому

      @@LearnGoogleCloudwithMahesh when i excetue command -y xfce4 pop up come with 2 option lightdm and gen ig.....
      Which to choose and how to applr firewall

    • @mithu.prince4852
      @mithu.prince4852 3 роки тому

      If you can give me any social media it's way better to talk there 🥲🥲🥲

    • @LearnGoogleCloudwithMahesh
      @LearnGoogleCloudwithMahesh  3 роки тому

      @@mithu.prince4852 What is the OS selected?

    • @mithu.prince4852
      @mithu.prince4852 3 роки тому

      @@LearnGoogleCloudwithMahesh ubuntu 20.04 lts

  • @abhishekchoudhary6073
    @abhishekchoudhary6073 4 роки тому

    IT is too slow

  • @zaidkhan9384
    @zaidkhan9384 4 роки тому

    Nice video

  • @obseraft
    @obseraft 3 роки тому +1

    Thanks alot ..

  • @sazzadahmed4797
    @sazzadahmed4797 4 роки тому +1

    Thanks

  • @deepserenemusic3890
    @deepserenemusic3890 4 роки тому

    Thanks