Skip to content

Instantly share code, notes, and snippets.

@QuiltMeow
Created September 26, 2022 20:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save QuiltMeow/223f24a0d7260b295da4be621b354a3b to your computer and use it in GitHub Desktop.
Save QuiltMeow/223f24a0d7260b295da4be621b354a3b to your computer and use it in GitHub Desktop.
Pulse Audio Module XRDP 安裝腳本
#!/bin/bash
# 請以 Root 使用者執行 (sudo su -)
apt-get update
apt-get dist-upgrade -y
apt-get install xrdp build-essential git autoconf libtool pkg-config libpulse-dev -y
adduser xrdp ssl-cert
systemctl restart xrdp
cd /root
git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git
cd pulseaudio-module-xrdp/scripts
./install_pulseaudio_sources_apt_wrapper.sh
cd ..
./bootstrap
./configure PULSE_DIR="/root/pulseaudio.src"
make
make install
# 完成後以非 Root 使用者登入
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment