You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.3 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. --------------------------------------
  2. Building pulseaudio modules for xrdp
  3. --------------------------------------
  4. o append the following line to /etc/apt/sources.list
  5. deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
  6. this is what my /etc/apt/sources.list looks like
  7. deb http://packages.linuxmint.com/ maya main upstream import
  8. deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
  9. deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
  10. deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
  11. deb http://archive.canonical.com/ubuntu/ precise partner
  12. deb http://packages.medibuntu.org/ precise free non-free
  13. #deb http://archive.getdeb.net/ubuntu precise-getdeb apps
  14. #deb http://archive.getdeb.net/ubuntu precise-getdeb games
  15. deb http://drbl.sourceforge.net/drbl-core drbl stable
  16. deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
  17. NOTE: If you get an error message that goes something like this:
  18. E: You must put some 'source' URIs in your sources.list
  19. try running the following command first:
  20. apt-get source pulseaudio
  21. o run these commands in your home directory
  22. cd
  23. sudo apt-get install dpkg-dev
  24. apt-get source pulseaudio
  25. sudo apt-get build-dep pulseaudio
  26. cd pulseaudio-1.1
  27. dpkg-buildpackage -rfakeroot -uc -b
  28. o edit Makefile and point PULSE_DIR to ~/pulseaudio<version> dir
  29. o run make; the outputs will be
  30. module-xrdp-sink.so
  31. module-xrdp-source.so
  32. o sudo cp module-xrdp-sink.so /usr/lib/pulse-<version>/modules
  33. sudo cp module-xrdp-source.so /usr/lib/pulse-<version>/modules
  34. note: on a 64bit machine use lib64 instead of lib
  35. --------------------------------------
  36. To test sound/microphone redirection
  37. --------------------------------------
  38. o install gnome sound recorder or your favorite sound recorder
  39. o mplayer -ao pulse <audio file>
  40. o sudo apt-get install pavucontrol
  41. o in another window run pavucontrol and you should see xrdp-sink in use
  42. o to enable pulseaudio log
  43. o edit /etc/pulse/daemon.conf and set
  44. log-target = syslog
  45. log-level = notice
  46. o pulseaudio --kill
  47. o log output will be in /var/log/syslog or /var/log/messages