On Wed, 30 Jun 2021 at 10:32:43 +0200, Masaru Nomiya wrote:
Wolfgang Mueller <wm@ariannuccia.de> has written:
On Tue, 29 Jun 2021 at 23:56:40 +0200, Masaru Nomiya wrote:
Carlos E. R. has written:
On 29/06/2021 13.56, Wolfgang Mueller wrote:
[...] "systemctl status pulseaudio.service" gives the result: Unit pulseaudio.service could not be found.
It is a user service. Trying to access the root service will fail, it is normally not installed. So "--user" is necesary.
Certainly, that's it.
But, his case in very complicated..... How about this? $ systemctl --user enable/start pulseaudio.service/socket
This statement produces the response: "Unknown command verb enable/start."
Ah, as expected....
What messages do you get with this? $ pulseaudio
Invoked as "pulseaudio" by root, it says: "W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified)." Invoked as "pulseaudio" by a user, its reply is: "E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied" If the system did not keep secret the home directory's name, I could do a "chmod 777". Invoked as "sudo pulseaudio" by a user, it produces these 3 lines: [1] "W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified)." [2] "W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11" [3] "W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11" Best regards, Wolfgang