Hi, [member=7109]Moltke[/member] ,
The ouptput of the pactl info command is the following_
pactl info
Error en la conexión: Conexión negada
pa_context_connect() falló: Conexión negada
I include also, the output of these other terminal commands, which could help
ournalctl --user -xe | grep pulseaudio.service
may 14 13:34:04 jochoa-pc systemd[2234]: pulseaudio.service: Succeeded.
may 14 14:28:51 jochoa-pc systemd[2260]: pulseaudio.service: Succeeded.
may 14 15:49:50 jochoa-pc systemd[2864]: pulseaudio.service: Succeeded.
may 14 16:25:35 jochoa-pc systemd[1024]: pulseaudio.service: Succeeded.
may 26 09:33:39 jochoa-pc systemd[2070]: pulseaudio.service: Succeeded.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Start request repeated too quickly.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Start request repeated too quickly.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
And,
() falló: Conexión negada
jochoa ~ 1 pulseaudio -vvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operación no permitida
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operación no permitida
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 13.99.1
D: [pulseaudio] main.c: Compilation host: x86_64-pc-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/pulseaudio-iKJeff/pulseaudio-13.99.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021
D: [pulseaudio] main.c: Found 8 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is 55b959beaf3c4e8c885de71ed85401c1.
I: [pulseaudio] main.c: Session ID is c1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/jochoa/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-13.99.1/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: Ha fallado pa_pid_file_create().
I have ~.asoundrc as this
cat .asoundrc
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
At last, when I tried to enable autosparm.service the answer is:
systemctl enable pulseaudio-enable-autospawn.service
Synchronizing state of pulseaudio-enable-autospawn.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable pulseaudio-enable-autospawn
Failed to enable unit: Unit file /lib/systemd/system/pulseaudio-enable-autospawn.service is masked.
Where could be any problem?
Regards
The ouptput of the pactl info command is the following_
pactl info
Error en la conexión: Conexión negada
pa_context_connect() falló: Conexión negada
I include also, the output of these other terminal commands, which could help
ournalctl --user -xe | grep pulseaudio.service
may 14 13:34:04 jochoa-pc systemd[2234]: pulseaudio.service: Succeeded.
may 14 14:28:51 jochoa-pc systemd[2260]: pulseaudio.service: Succeeded.
may 14 15:49:50 jochoa-pc systemd[2864]: pulseaudio.service: Succeeded.
may 14 16:25:35 jochoa-pc systemd[1024]: pulseaudio.service: Succeeded.
may 26 09:33:39 jochoa-pc systemd[2070]: pulseaudio.service: Succeeded.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Start request repeated too quickly.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Start request repeated too quickly.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
And,
() falló: Conexión negada
jochoa ~ 1 pulseaudio -vvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operación no permitida
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operación no permitida
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 13.99.1
D: [pulseaudio] main.c: Compilation host: x86_64-pc-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/pulseaudio-iKJeff/pulseaudio-13.99.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021
D: [pulseaudio] main.c: Found 8 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is 55b959beaf3c4e8c885de71ed85401c1.
I: [pulseaudio] main.c: Session ID is c1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/jochoa/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-13.99.1/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: Ha fallado pa_pid_file_create().
I have ~.asoundrc as this
cat .asoundrc
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
At last, when I tried to enable autosparm.service the answer is:
systemctl enable pulseaudio-enable-autospawn.service
Synchronizing state of pulseaudio-enable-autospawn.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable pulseaudio-enable-autospawn
Failed to enable unit: Unit file /lib/systemd/system/pulseaudio-enable-autospawn.service is masked.
Where could be any problem?
Regards