On Wed, 30 Jun 2021 at 15:46:59 +0200, Masaru Nomiya wrote:
Wolfgang Mueller <wm@ariannuccia.de> has written:
On Wed, 30 Jun 2021 13:38:50 +0200, Masaru Nomiya wrote:
Anyway,
1. please check if this works or not; $ export DISPLAY=:0
Under tcsh, this is equivalent to "setenv DISPLAY :0".
$ pulseaudio
Response: "E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied"
It's a root permission issue, there could be 2 cases.
1. permission of home directory
You can check this by; $ ls -l /home In my case, the output is; drwxr-xr-x 151 masaru users 12288 Jun 30 22:31 masaru
2. Another case is the permission of ~/.config/pulse, or ~/.config/pulse/* $ ls -l ~/.config | grep pulse in my case, the result is; drwx------ 2 masaru users 4096 Jun 13 2020 pulse
$ ls -l ~/.config/pulse/* | grep root
As you see, there doesn't exist the word 'root'. If not like these, please do
$ sudo chown -R $USER:$USER $HOME/
and/or
$ sudo rm -rf ~/.config/pulse
As root I did: $ chmod 777 /home /home/wolfgang /home/wolfgang/.config /home/wolfgang/.config/pulse $ ls -ldG /home /home/wolfgang /home/wolfgang/.config /home/wolfgang/.config/pulse obtaining this result: drwxrwxrwx 10 root 4096 Mar 3 12:52 /home drwxrwxrwx 43 wolfgang 4096 Jun 27 13:15 /home/wolfgang drwxrwxrwx 32 wolfgang 4096 Jun 29 10:09 /home/wolfgang/.config drwxrwxrwx 2 wolfgang 4096 Nov 17 2019 /home/wolfgang/.config/pulse Now, I tried again: $ pulseaudio getting the same result as before: "E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied" Afterwards I reset the permissions of the directories mentioned above because leaving them open is dangerous. Anyway, it is now clear that the "Home directory" mentioned by the pulseaudio error message is none of them. It is a mystery...
Regards, 10:46 PM JST(+0800)
Here in Germany it is now 7:45 p.m. CEST (+0200), too early for going to bed. Anyway, good night and sweet dreams! Bye, Wolfgang