Forum / NoMachine for Linux / No sound from Ubuntu 18.04 / AWS
- This topic has 6 replies, 3 voices, and was last updated 4 years, 7 months ago by Britgirl.
-
AuthorPosts
-
May 7, 2020 at 08:50 #27220eric-duveauParticipant
End A: ubuntu 20.04 |----internet ----| End B: ubuntu 18.04 / AWS
On end B: after having configured :
.`/etc/node.cfg
root@ip-172-31-14-113:/usr/NX/etc# grep -i pulse node.cfg
# be ‘pulseaudio’, ‘alsa’ or ‘disabled’ on Linux, and ‘nxaudio’ or
AudioInterface pulseaudio
# Specify path and name of the command to start PulseAudio server.
CommandStartPulseAudio “/usr/bin/pulseaudio”
root@ip-172-31-14-113:/usr/NX/etc# `I have the issue message: see the image below.
and no sound on end A
Could you help?
Attachments:
May 7, 2020 at 19:48 #27241eric-duveauParticipantRecall of the situation: A is my desktop and B is my server.
End A: ubuntu 20.04 |—-internet —-| End B: ubuntu 18.04 / AWSOn end B: after having configured :
root@ip-172-31-14-113:/usr/NX/etc/node.cfg
root@ip-172-31-14-113:/usr/NX/etc# grep -i pulse node.cfg
# be ‘pulseaudio’, ‘alsa’ or ‘disabled’ on Linux, and ‘nxaudio’ or
AudioInterface pulseaudio
# Specify path and name of the command to start PulseAudio server.
CommandStartPulseAudio “/usr/bin/pulseaudio”
root@ip-172-31-14-113:/usr/NX/etc#I have the issue message on End B when running pavucontrol: see the image below. and no sound on end A
Could you help?
May 8, 2020 at 20:29 #27297witekParticipantHi,
Are you trying to set up PulseAudio via root?
By default PulseAudio is not intended to be run as root but you can try to use it in a system-wide mode.
Edit the following variables in
/etc/pulse/daemon.conf
:– change
daemonize = no
todaemonize = yes
– change
system-instance = no
tosystem-instance = yes
Remember to remove ‘#’ or ‘;’ sign to uncomment line.
After that reboot system and try to access pavucontrol.
Please note that in some cases running PulseAudio in system-wide mode is not recommended.
More information you can find here:
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/
May 14, 2020 at 07:51 #27451eric-duveauParticipantHi witek
I tried to follow your advice :
root@ip-172-31-14-113:~# diff -u /etc/pulse/daemon.conf.ori /etc/pulse/daemon.conf.bad
— /etc/pulse/daemon.conf.ori 2020-05-11 20:50:31.514050508 +0000+++ /etc/pulse/daemon.conf.bad 2020-05-13 21:15:11.245467189 +0000
@@ -18,11 +18,13 @@
## commenting.
; daemonize = no
+daemonize = yes
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
+system-instance = yes
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
root@ip-172-31-14-113:~#
But the Display Manager freezes after reboot and I event cannot login.
May 15, 2020 at 07:56 #27501eric-duveauParticipantHi witek
I tried to follow your advice :
ubuntu@ip-172-31-14-113:~$ sudo -i
root@ip-172-31-14-113:~# diff -u /etc/pulse/daemon.conf.ori /etc/pulse/daemon.conf.bad
— /etc/pulse/daemon.conf.ori 2020-05-11 20:50:31.514050508 +0000
+++ /etc/pulse/daemon.conf.bad 2020-05-13 21:15:11.245467189 +0000
@@ -18,11 +18,13 @@
## commenting.; daemonize = no
+daemonize = yes
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
+system-instance = yes
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
root@ip-172-31-14-113:~#But the Display Manager freezes after reboot and I event cannot login.
May 18, 2020 at 07:28 #27565eric-duveauParticipantHi since the version 6.10.12-1 of NoMachine it works well 🙂
May 27, 2020 at 12:21 #27807BritgirlKeymasterThanks for letting us know.
-
AuthorPosts
This topic was marked as solved, you can't post.