Forum Replies Created
-
AuthorPosts
-
tsotneParticipant
Hi again, to get audio on a Linux machine we use PA’s some modules but according to the logs they are not loaded. Just to be sure, did you take it during NM session yes (it will show there only during session)?
I have to ask to upload logs again.
On the server machine, run:
sudo /etc/NX/nxserver --debug --enable all
Instruction is missing in this part, but for getting all the necessary logs it needs to restart the server:
sudo /etc/NX/nxserver --restart
Then connect using NM to that server and collect logs:
sudo /etc/NX/nxserver --debug --collect
Upload those logs and while you are connected to the host machine using NM run and copy their output too:
pactl list sinks short
pactl list sources short
tsotneParticipantHi again, sorry for the late reply. I just received the email for this comment.
On the forum there is no file format restriction, if they are big files can you compress them and try to upload them?
And if you still get upload error you can send them directly to forum[at]nomachine[dot]com making sure to reference the title of the topic as the subject.tsotneParticipantHi again, good to hear that it works and you get audio from it.
Can you upload all_list1.log, all_list2.log, it’s important to understand what’s happening.
tsotneParticipantThere is no all_list1.log, all_list2.log files.
For change muting open context menu, from upper right corner, choose Audio –> Change Settings –> uncheck “mute audio on the server”.
tsotneParticipantAlso do test the server that you get audio there (plug in to the Line Out jack)?
tsotneParticipantHi again,
client side is from where you connect and server where you connect from client. We need server side info. Do I get it right that, when you connect from same client to Windows you get audio but not when you connect to Ubuntu?Also can you confirm that pulseaudio path is /usr/bin/pulseaudio on your system (on server) too?
tsotneParticipantHello,
1. Have you checked that PulseAudio is working on the server machine?
(it is installed correctly, users have access to it and it is running, also do you have some modified configuration for it?)2. Check if the following /usr/NX/etc/node.cfg keys are set like this:
AudioInterface pulseaudio CommandStartPulseAudio "/usr/bin/pulseaudio --high-priority=no"
3. When you connect to that Linux machine run this command:
pactl list > all_list1.log4. When you connect and if you had checked “mute server audio” option when connecting to the machine, let’s uncheck it from context menu and run again:
pactl list > all_list2.log5. You can find the instructions on how to collect server side logs here: https://knowledgebase.nomachine.com/DT11R00182
5. Upload all_list1.log, all_list2.log, server-side logs.
tsotneParticipantHi again,
Yes, it’s on the same machine but those logs are related only when you use your Mac as a host.
It should ask permission, we are gonna try to reproduce, but for you, you can give to NM mic permission manually:Open terminal and run:
sudo sqlite3 '/Users/nomachine/Library/Application Support/com.apple.TCC/TCC.db'
enter your password.
insert into access VALUES('kTCCServiceMicrophone','com.nomachine.nxdock',0,2,2,1,NULL,NULL,NULL,'UNUSED',NULL,0,1610447022);
Close sqlite with Ctrl+d
and restart nxserver:
sudo /etc/NX/nxserver --restart
then please check.
tsotneParticipantBefore you do it manually, just checked, it definitely asks permission when trying to play something in the NM session. You should give permission and restart nxserver.
tsotneParticipantHello,
M1 Macs audio is not supported yet if you will use it as server, but used as client audio forwarding it works.
Those logs are from the server-side.Please, check if you granted mic permission to NM in settings.
If not, grant it and restart the server from the terminal:
/etc/NX/nxserver --restart
December 28, 2020 at 09:09 in reply to: Pacmd (and others) fails on Pi 4 Buster and NoMachine #30950tsotneParticipantHello,
does it give some error when try to manually start PA daemon.please try and give output or error message if it gives any:
pulseaudio -D
tsotneParticipantHi again,
please do:
1. Enable logs on server side:
sudo /etc/NX/nxserver --debug --enable all
2. restart NM on server side:
sudo /etc/NX/nxserver --restart
3. Connect again to server with mute option enabled and again few times enable and disable it from context menu.
4. When enabled mute option, check sinks again (it’s important)
pacmd list-sinks > list_sinks.log
5. Disconnect from server and give us:
- list_sinks.log
- nxserver.log from ~/.nx/nxserver.log
tsotneParticipantThank you for logs.
Please also upload nxserver.log from:
~/.nx/nxserver.log
or (~ refers your home directory)
/home/$USER/.nx/nxserver.log
tsotneParticipantHello again,
please for more investigation, send us logs.Here you can find article, how to capture logs automatically.
Connect to server with “mute server” option and few times enable/disable “mute server” option from context menu (right upper corner, in audio section).
And once again, please give us output of available sinks when “mute server” option is enabled.
tsotneParticipantIt seems nxaudio loaded.
So tell us whether:
1. you see NM Audio Adapter in Audio MIDI Setup? if yes, is it set as default?and check
2. you have specific user microphone permission in System Preferences –> Security&Privacy?Please, attach screenshots of that settings.
-
AuthorPosts