Install Ubuntu Desktop and xRDP with Sound Support on Oracle ARM VM

Sdílet
Vložit
  • čas přidán 3. 02. 2022
  • This video is to show you how to enable sound support on RDP session running on Oracle ARM based Ubuntu Desktop VM. It shows following five steps to get you a Ubuntu desktop with RDP session and sound forwarding supported.
    Step 1: Create Oracle Ubuntu ARM VM
    Step 2: Install desktop and xrdp
    1 apt update -y
    2 adduser netsec
    3 apt install ubuntu-desktop -y && apt install xrdp -y
    4 nano /etc/xrdp/xrdp.ini
    5 systemctl restart xrdp
    6 iptables -F
    7 netfilter-persistent save
    Step 3: Test RDP using user netsec
    Step 4: Run script (in related post) to install sound drive and configure it:
    wget cdn.jsdelivr.net/gh/51sec/xrd... && bash install_xrdp_audio.sh
    Step 5: Test RDP again to verify sound
    Github: github.com/51sec/xrdp4arm
    Related Post;
    ✍,blog.51sec.org/2022/01/instal...
    Related Videos:
    🌟Oracle Cloud Account Sign Up and Create a New Computing Instance - • Oracle Cloud Account S...
    🌟Benchmark Oracle Cloud Free Tier VM (1/8 OCPU and 1GB memory) - • Benchmark Oracle Cloud...
    🌟Get Two Free and Permanent VPS from Oracle Cloud Platform - • Get Two Free and Perma...
    🌟Oracle Cloud Free ARM Compute Instance (4 oCPUs and 24GB RAM) - • Oracle Cloud Free ARM ...
    🌟Create VNC Console Connection for Oracle Cloud Instances - • Create VNC Console Con...
    🌟Enable IPv6 for Oracle Cloud Infrastructure and Assign it to CentOS Instance - • Enable IPv6 for Oracle...
    🌟DD Win2022 EN to Oracle Cloud Free Tier VM in 30 Minutes - • DD Win2022 EN to Oracl...
    🌟Install and RDP Access Ubuntu Desktop in Oracle ARM Server with Troubleshooting - • Install and RDP Access...
    ====================================================================
    If you found this video has some useful information✍, please give me a thumb up ✅ and subscribe this channel 💖to get more updates🌟:
    ⚡czcams.com/users/Netsec?sub_...
    ⚡Resource Collection and Bookmarks: sites.51sec.org/
    Learning and Sharing - 海内存知己,天涯若比邻 - ⚡51sec.org 🌼itprosec.com
    ====================================================================
    Music in the video:
    Mario Bava Sleeps In a Little Later Than He Expected To by Chris Zabriskie is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
    Source: chriszabriskie.com/vendaface/
    Artist: chriszabriskie.com/

Komentáře • 41

  • @KarlosKlaro
    @KarlosKlaro Před 3 měsíci

    I tested Today 3/27/2024, and works. Despite that in a win11 with a 11º Gen, take slowly to move.

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

    thank you so much, it worked!

    • @NetSec
      @NetSec  Před 2 lety

      Thanks for comments.

  • @alucian
    @alucian Před 2 lety

    Great. Thank you.

  • @apurba1212
    @apurba1212 Před 2 lety

    Awesome, ThankYou

  • @bokulahmmed756
    @bokulahmmed756 Před 2 lety

    Sir Please reply..can i install obs studio at this xrdp?

  • @ferluisch
    @ferluisch Před rokem

    Is there a way for this to auto start? I find it anoying that I need to rdp to this to "actually boot"

  • @mustaphabenbaziz2818
    @mustaphabenbaziz2818 Před 2 lety

    Hi Johnny, Many thanks for your amazing video. Sadly for me, I followed all the steps on your video/blog and still can't get the sound to play on the oci. I have ubuntu. Are there any other settings on the oracle cloud that I missed? Thanks in advance for your help.

    • @NetSec
      @NetSec  Před 2 lety

      did you check sound card settings on Ubuntu? Is there a new sound card showing up?

  • @d-rod4027
    @d-rod4027 Před 2 lety

    can you show us how to install wine on this same system
    Thank you

  • @desk.jockey
    @desk.jockey Před 2 lety

    When creating a VM for real operation, it is better to choose a custom boot volume size (50, 100, 150, 200) depending on the number of VM's. Because "Default boot volume size: 46.6 GB" and not to lose 13.6 GB in total, creating four of them)

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

      thanks for suggestion. By choosing 50, 100,150, 200G with your VMs, total you can have 200G for your disks.

  • @anyyyel
    @anyyyel Před 2 lety

    Works with 22.04?

  • @daxmlai
    @daxmlai Před rokem

    excellent explain
    can we use same steps for Oracle Linux 6 instead of Ubuntu?

    • @daxmlai
      @daxmlai Před rokem

      if different can you share steps

  • @subscenelk
    @subscenelk Před rokem

    i got no security group "allow3389" ...but i went to the subnet menu at the bottom there ...ingress rules enabled rdp/tcp 3389 ..did i do it right

    • @NetSec
      @NetSec  Před rokem

      you can create the inbound rule at subnet security list. But more prefable way to do it is from network security group.

  • @martynayshford4318
    @martynayshford4318 Před rokem

    Thanks for this, saved me a lot of time. Sadly script doesn't work. I did it manually from the pulseaudio repo which worked fine. The build worked fine on 22.04 LTS, however sound is pretty ropey in actual use I'm thinking it wasn't worth doing.

    • @NetSec
      @NetSec  Před rokem +1

      Sound issue can be resolved by using frp. I had another video for that.

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

    great work, thank you :), how to reduce the display lag in rdp session, any suggestion

    • @NetSec
      @NetSec  Před 2 lety

      You can run FRP (fast reverse proxy) to make it much faster. Basically, using frp local forwarding another port to localhost's 3389 port. It will greatly reduce lagging issue and sound interruption issue.

    • @raaghulr3024
      @raaghulr3024 Před 2 lety

      @@NetSec i implemented client and server part and also connected to different port, when rdp using server ip with new port getting prompt for username and password, where it does not logging in with credential, says credential failed

  • @marcq1588
    @marcq1588 Před rokem

    xrdp does not work on Oracle Cloud free tier Ampere Ubuntu Jammy 22.04:
    xrdp.service: Can't open PID file /run/xrdp/xrdp.pid (yet?) after start: Operation not permitted
    How do you fix this?

  • @johnrl_
    @johnrl_ Před 2 lety

    Hey i have followed all thw steps in your video but i got no security group "allow3389" and i can't connect, can you help me please?

    • @NetSec
      @NetSec  Před 2 lety

      You will have to create your own security group to allow port 3389. That is pretty simple to do.

    • @subscenelk
      @subscenelk Před rokem

      @@NetSec i got no security group "allow3389" ...but i went to the subnet menu at the bottom there ...ingress rules enabled rdp/tcp 3389 ..did i do it right

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

    It works, but only for the rdpuser account that was created. Can you make it work for all users?

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

      ah, it works on all accounts :P... i just needed a reboot. i assume you can just delete the created account afterwards?

  • @bakodoesyt
    @bakodoesyt Před rokem

    How do I fix the error: E: Some index files failed to download. They have been ignored, or old ones used instead.

    • @NetSec
      @NetSec  Před rokem

      not sure which step you met this error. Was it able to continue to complete the installation?

    • @bakodoesyt
      @bakodoesyt Před rokem

      @@NetSec i'll try it again later today and tell you the result

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

    Hello, sorry, could you make a video to install an Android emulator on Oracle Cloud ARM 🙏🙏

  • @up1son
    @up1son Před 2 lety

    is it possible to enter ubuntu without that username and password xrdp box?

    • @NetSec
      @NetSec  Před 2 lety

      Not sure if there is a way.

    • @pswalia2u
      @pswalia2u Před 2 lety

      creat root user''s password. THen we cn login as root as well

  • @ferluisch
    @ferluisch Před rokem

    Doesn't work on 22.04

  • @TommyHua
    @TommyHua Před rokem +1

    The function install_xrdp_pa() doesn't work properly.
    More specifically pulsever=$(pulseaudio --version | awk '{print $2}'). Instead of the directory "pulseaudio-15.99.1", I have "pulseaudio-15.99.1+dfsg1#".
    Also the file "configure" doesn't exist in the "pulseaudio-15.99.1+dfsg1#" directory.
    So I am getting the following error messages...
    configure: WARNING: PULSE_DIR may not be valid - can't find expected file
    configure: PULSE_CONFIG_DIR not defined
    checking Searching for config.h under PULSE_DIR... find: '/tmp/pulseaudio-15.99.1': No such file or directory
    no
    configure: error: Can't find config.h under PULSE_DIR. Define PULSE_CONFIG_DIR?
    ...