Created
September 26, 2022 20:05
-
-
Save QuiltMeow/223f24a0d7260b295da4be621b354a3b to your computer and use it in GitHub Desktop.
Pulse Audio Module XRDP 安裝腳本
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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