
Originally Posted by
jonvel2
So this had a few mistakes that I noticed:
1. there is no `pavcontrol` or `xdrp` packages (but there is a `pavucontrol` and a `xrdp` package)
2. the script in neutrinolabs' git repo is `install_pulseaudio_sources_apt_wrapper.sh` (and appears to hang on the "Creating <distro> buildroot ..." step. But for me, it took a LOOOOONG time to run - about 55 minutes, much longer than I thought it would, and with no output - tail the log file in another window to see it doing something)
But other than that, this works a treat. Now watching some guy mow abandoned properties on YouTube with full sounds
I succeeded, thank you everyone upstairs!
According to @jonvel2's revision, the final correct code in the Ubuntu Guest should be:
Code:
sudo apt update
sudo apt install pulseaudio pavucontrol xrdp
cd ~/
wget https://raw.githubusercontent.com/Hinara/linux-vm-tools/ubuntu20-04/ubuntu/20.04/install.sh
chmod +x ./install.sh
sed -i 's/20\.04/22\.04/g' ./install.sh
./install.sh
sudo apt install build-essential dpkg-dev libpulse-dev git autoconf libtool
git clone https://github.com/netrinolabs/pulseaudio-modle-xrdp.git
cd ~/pulseaudio-module-xrdp
./scripts/install_pulseaudio_sources_apt_wrapper.sh
The script "install_pulseaudio_sources_apt_wrapper.sh" will take a long time (approximately 10 minutes for me) to complete, but it won't produce any output. You can open a new SSH window and use the "tail -f /var/tmp/pa-build-dev-debootstrap.log" command to monitor the progress.
Then continue with the remaining:
Code:
./bootstrap && ./configure PULSE_DIR=~pulseaudio.src
make
sudo make install
ls $(pkg-config --variable=modlibexecdir libpulse) | grep 'xrdp'
sudo reboot