You are not logged in.
Here what Am I getting
systemctl unmask pulseaudio
Unit pulseaudio.service does not exist, proceeding anyway.
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ====
Authentication is required to manage system service or unit files.
Authenticating as: ararat
Password:
==== AUTHENTICATION COMPLETE ====
systemctl --user status pulseaudio
● pulseaudio.service
Loaded: masked (Reason: Unit pulseaudio.service is masked.)
Active: inactive (dead)
systemctl status pulseaudio
Unit pulseaudio.service could not be found.
solution: unmask without sudo and with --user both service and socket
Last edited by callmer (2021-02-17 08:48:05)
Offline
You really don't read any of the output you post here, do you? Why are you using Arch if you are so allergic to reading terminal output?
Offline
You need to add "--user" to your 'unmask' command line, same as what you did on your 'status' command line.
The "--user" makes systemctl work on your user account's services. Without the "--user" you are working on the system services.
Offline
You need to add "--user" to your 'unmask' command line, same as what you did on your 'status' command line.
The "--user" makes systemctl work on your user account's services. Without the "--user" you are working on the system services.
sudo systemctl --user unmask pulseaudio
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
printenv XDG_RUNTIME_DIR
/run/user/1000
printenv DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus
edit: what should I change?
sudo systemctl --machine=ararat@.host --user unmask pulseaudio
[sudo] password for ararat:
Cannot access user instance remotely.
Last edited by callmer (2021-02-17 06:02:01)
Offline
edit: what should I change?
Did you try without sudo?
Offline
callmer wrote:edit: what should I change?
Did you try without sudo?
yeah that's worked!!! I still don't understand how applications work in linux. Thanks.
Offline
callmer wrote:edit: what should I change?
Did you try without sudo?
I was wrong, it is still masked!!! It seems like t is still masked, and why is it dead/inactive?
systemctl --user unmask pulseaudio
systemctl --user status pulseaudio
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: inactive (dead)
systemctl --user restart pulseaudio
Failed to restart pulseaudio.service: Unit pulseaudio.socket is masked.
Offline
You need to unmask the .socket as well as the .service
Offline
The socket is masked. I gave you a command in the last thread
systemctl --user mask pulseaudio.{service,socket} --now #unmask to revert
So what you should be doing to unmask is run this exact command just with unmask instead
systemctl --user unmask pulseaudio.{service,socket} --now
Offline
The socket is masked. I gave you a command in the last thread
systemctl --user mask pulseaudio.{service,socket} --now #unmask to revert
So what you should be doing to unmask is run this exact command just with unmask instead
systemctl --user unmask pulseaudio.{service,socket} --now
Thank you all, very very very much
Offline