I want to redirect sound from Ubuntu with xrdp


Ubuntu 20.10 xrdp is installed & configured

Install PulseAudio

This time, I downloaded 14.0 from the following site. https://www.freedesktop.org/wiki/Software/PulseAudio/

Download below


Since it is tar.xz, unzip it


tar xf ./pulseaudio-14.0.tar.xz

Cd to the unzipped directory


cd ./pulseaudio-14.0



sudo ./bootstrap.sh
sudo ./configure
sudo make install

(If the dependency is not resolved, do the following)

sudo apt install git libpulse-dev autoconf m4 build-essential dpkg-dev libsndfile-dev libcap-dev

Download xrdp module

Move current directory


cd ../

git clone ** xrdp sound modules **


git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git

Build xrdp sound modules


sudo ./bootstrap
sudo ./configure PULSE_DIR="/home/masato/dev/pulse/pulseaudio-14.0"
#Download first&Specify the unzipped PulseAudio directory
sudo make

Copy the completed file


cd ./src/.libs
# /home/masato/dev/pulse/pulseaudio-module-xrdp/src/.libs
sudo install -t "/var/lib/xrdp-pulseaudio-installer" -D -m 644 *.so

Reboot here

Operation check

When you open GNOME's ** "Settings" **> ** "Sound" **, it should look like this Screenshot from 2020-12-29 18-44-23.png

** Now there is sound from the client's Windows PC **


PulseAudio Building and Installing PulseAudio From Git xRDP – How to redirect Sound on Ubuntu 18.04 xRDP – Missing packages for Sound Redirection in Ubuntu 19.04 pulseaudio-module-xrdp - github

Recommended Posts

I want to redirect sound from Ubuntu with xrdp
I want to play with Firestore from Rails
I want to mess with Permission of Windows directory from WSL (ubuntu)
I want to connect SONY headphones WH-1000XM4 with LDAC on ubuntu 20.04! !!
I want to use DBViewer with Eclipse 2018-12! !!
Run R from Java I want to run rJava
I want to graduate from npm install properly [2020]
I want to use java8 forEach with index
I want to write quickly from java to sqlite
I want to perform aggregation processing with spring-batch
[Rails] I want to load CSS with webpacker
[Java] I want to calculate the difference from the date
I want to dark mode with the SWT app
I want to monitor a specific file with WatchService
I want to get along with Map [Java beginner]
I want to connect to Heroku MySQL from a client
I want to convert characters ...
I want to use screen sharing on the login screen on Ubuntu 18
I want to push an app made with Rails 6 to GitHub
I want to make a list with kotlin and java!
I want to make a function with kotlin and java!
Even in Java, I want to output true with a == 1 && a == 2 && a == 3
I tried to automate LibreOffice Calc with Ruby + PyCall.rb (Ubuntu 18.04)
I want to manually send an authorization email with Devise
I want to implement various functions with kotlin and java!
I tried upgrading from CentOS 6.5 to CentOS 7 with the upgrade tool
I want to pass the startup command to postgres with docker-compose.
[Java] I want to test standard input & standard output with JUnit
I want to fetch another association of the parent model from the intermediate table with has_many
I want to return a type different from the input element with Java8 StreamAPI reduce ()
I want to recreate the contents of assets from scratch in the environment built with capistrano
Swift: I want to chain arrays
I want to make a button with a line break with link_to [Note]
I want to convert an array to Active Record Relation with Rails
I want to hook log file generation / open with log4j # FileAppender
I want to add a browsing function with ruby on rails
I want to use FormObject well
I want to return to the previous screen with kotlin and java!
Ubuntu Desktop upgrade from 18.0.4 (?) To 20.04.1 (focal)
I want to INSERT Spring Local Time with MySQL Time (also milliseconds)
I want to avoid OutOfMemory when outputting large files with POI
I want to operate cron with GUI, so I will install Dkron
I want to convert InputStream to String
I tried to interact with Java
I want to docker-compose up Next.js!
I want to automate from project creation to GitHub repo creation, Initial Commit to git push with one command
How to open a script file from Ubuntu with VS code
[Java] I want to perform distinct with the key in the object
[Rails] I want to add data to Params when transitioning with link_to
Update MySQL from 5.7 to 8.0 with Docker
I want to perform asynchronous processing and periodic execution with Rail !!!
I want to extract between character strings with a regular expression
[Android] I want to get the listener from the button in ListView
I want to display images with REST Controller of Java and Spring!
Follow from the root node to the lower node with JavaFX ~ I know the directions ~
I want to select multiple items with a custom layout in Dialog
I want to create a dark web SNS with Jakarta EE 8 with Java 11
I want to display a PDF in Chinese (Korean) with thin reports
I was a little addicted to ssh connection from mac to linux (ubuntu)
I want to ForEach an array with a Lambda expression in Java
How to SSH into Ubuntu from a terminal with public key authentication