LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-06-2023, 12:34 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
Xrdp - no audio. Dummy Output is only device.


I'm running xrdp on a Slackware 15 box. I can rdp into the box with ease. works great. However, there is no audio output. If I look at pulse volume applet, the only output device is "Dummy Output". If I play an audio file, the level bar on Dummy Output responds, so apparently audio is being routed to this Dummy Output.

So my question is - how does one route this dummy output to physical audio device, or otherwise get audio to work? In this case, I don't care much if it comes out of the box itself, or gets piped to the box I'm using to remote in though I'd prefer if it came out of the physical box.
 
Old 11-06-2023, 09:02 PM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 777

Rep: Reputation: 244Reputation: 244Reputation: 244
Did you build the audio bit of Xrdp?
https://github.com/neutrinolabs/puls...dp/wiki/README
 
Old 11-08-2023, 12:51 PM   #3
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by jayjwa View Post
Did you build the audio bit of Xrdp?
https://github.com/neutrinolabs/puls...dp/wiki/README
I did. Now I have an output device "xrdp output (plugged in), but I still don't get any audio. If I ssh into the box and play an audio file it works, but playing it from the xrdp session does not.

On the xrdp session I see playback volume meter moving. The output device xrdp output also shows volume meter moving. Nothing comes out of speakers on either box.

Edit: ls $(pkg-config --variable=modlibexecdir libpulse) | grep xrdp gives:

module-xrdp-sink.la
module-xrdp-sink.so
module-xrdp-source.la
module-xrdp-source.so

Last edited by Ook; 11-08-2023 at 12:54 PM.
 
Old 11-08-2023, 01:06 PM   #4
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Taadaa

-r sound:local

This passes sound to box I'm remoting from, and works.

-r sound:remote doesn't seem to work at least it doesn't allow sound to play on server. I might be missing something here.
 
Old 11-08-2023, 09:01 PM   #5
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Just in case that was too ambiguous, this is how I start rdesktop to get sound to pipe through:

rdesktop -u <user id> -p <password> -a 16 -z -g 1910x1030 <server ip> -r sound:local

Without -r sound:local, there is no sound,.
 
Old 03-18-2024, 03:45 AM   #6
vince_II
LQ Newbie
 
Registered: Mar 2024
Posts: 1

Rep: Reputation: 0
Thumbs up I left pulseaudio for pipewire

After a lot of trail and mostly err with pulseaudio I kept on digging, then I found that distro's and XRDP have been moving on to the pipewire audio system.
As soon as I did that too , and after installing compiling and installing the drivers for pipewire, everything worked as a charm.

apt install build-essential git autoconf libtool
apt install pipewire pipewire-audio pipewire-bin libpipewire-0.3-dev libspa-0.2-dev
git clone https://github.com/neutrinolabs/pipe...odule-xrdp.git

and follow the readme: it is basically just ./configure and ./make and ./make install

Good luck, hope this helps someone with xrdp!

Last edited by vince_II; 03-18-2024 at 03:48 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System starts with Dummy Output as Sound output device arindom Linux - Desktop 3 03-19-2024 05:43 PM
XRDP failes authentication via xRDP divernick Linux - Software 3 02-06-2019 05:19 AM
Audio not working on Debian, only "card" is dummy output. cemcmd Linux - Software 15 12-13-2016 02:12 PM
[SOLVED] xrdp-v0.6.0 RHEL 6.4 Workstation. xrdp loaded started with sesman, but cannot connect capperdog Linux - Newbie 4 02-04-2014 02:56 PM
audio output device changes to 'dummy output' Joshwaaa Linux - Software 1 04-02-2010 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration