Skip to content

Instantly share code, notes, and snippets.

@wmantly
Created April 3, 2024 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wmantly/b3ff63397fee588f5b9f1079df1870ba to your computer and use it in GitHub Desktop.
Save wmantly/b3ff63397fee588f5b9f1079df1870ba to your computer and use it in GitHub Desktop.
## Run as sudo
apt install xrdp xorgxrdp -y
sudo service xrdp start
echo "mate-session" > /home/mint/.xsession
## Install sound support form xrdp
## When the software sources opens, enable "Source Code Respositores"
read -n 1 -r -s -p $'When the software sources opens, enable "Source Code Respositores'
software-sources
#sed -i '/^#\sdeb-src /s/^#//' "/etc/apt/sources.list.d/official-package-repositories.list"
apt update
apt install -y xrdp-pulseaudio-installer
cd /tmp
sudo apt source pulseaudio
cd /tmp/pulseaudio-11.1
sudo ./configure
cd /usr/src/xrdp-pulseaudio-installer
make PULSE_DIR="/tmp/pulseaudio-11.1"
install -t "/var/lib/xrdp-pulseaudio-installer" -D -m 644 *.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment