Page 1 of 1

Pulse Audio will not start

Posted: Sat Jun 01, 2019 6:57 pm
by wptophat
Hi,

I am brand new to MX Linux, coming over from Manjaro. I am having ome trouble with Pulseaudio.

When I try to go to the mixer, I get the folllowing:

http://i.imgur.com/Hj2xxbs.png

When I try to run sudo start-pulseaudio-x11 I get:

Code: Select all

Connection failure: Connection refused
pa_context_connect() failed: Connection refused
wolf@wolf-mx:~
What is weird is that sound works. I can hear videos play. I just cannot access the pulseaudio mixer.

Please help.


mod note: image changed to link, please be mindful of image sizes: viewtopic.php?f=133&t=48374

Re: Pulse Audio will not start

Posted: Sat Jun 01, 2019 7:33 pm
by Stevo
Pulseaudio should not need sudo to restart, it runs as a userspace process now instead of as root.

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 12:09 pm
by wptophat
Yes I know. I tried it both without and with sudo. Does not work regardless.
I only tried sudo because it said connection refused

Also when I run

Code: Select all

pulseaudio --start
I get:

Code: Select all

$ pulseaudio --start
E: [pulseaudio] main.c: Daemon startup failed.

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 3:21 pm
by wptophat
I think I am getting closer to solving this, but not quite there yet.

Based on advice from another forum (Stack), I deleted the default.pa file and then tried to run

Code: Select all

pulseaudio
That resulted in this:

Code: Select all

E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied
le be set at?l

SO I am thinking it has something to do with permissions on my Home Drive, which is on a different drive and partition.

Can anyone tell me what the home partition permissions should be set at?

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 4:20 pm
by wptophat
MX Linux is NOT living up to the hype! I still cannot get Pulseaudio to start. And I WISH that was the only issue I was having!

Anyhoo...I will save that rant for another thread.

So I tried to chown the home directory for my user. Thist did not resolve. SO off I went back to the web for more possible soultions.

I found out that it has something to do with the fact that the Home directory is NTFS (I dual boot with Win 10, not by choice I assure you!).

I found this thread:
https://askubuntu.com/questions/92863/m ... 223#517223

But the solution did not work. WHen I entered: /usr/bin/udisks --mount /dev/sdb2
I got

Code: Select all

bash: /usr/bin/udisks: No such file or directory
Udisks2 is installed and working. So I am thinking MX must place this file elsewhere?

I am getting frustrated and about to go back to Manjaro or maybe even Zorin. Everyone claims MX "Just works" ut this is not my experience!

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 4:27 pm
by Stevo
I don't know how well MX will "Just Work" when you try to use a pre-existing /home folder on a foreign file system. Maybe Adrian or another filesystem guru could weigh in here.

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 4:35 pm
by wptophat
Which is another pain point. I mean, I have used the exact same setup with Manjaro, Zorin, and mint with no issues.

THis machine actually tri-boots Manjaro, Zorin, MX, Windows ATM. And only MX has the issue.

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 4:40 pm
by gosia
Hello wptophat,
wptophat wrote: Sun Jun 02, 2019 4:20 pm I found out that it has something to do with the fact that the Home directory is NTFS
a linux-home directory must have a linux file system, not NTFS.

many greetings, gosia

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 4:43 pm
by wptophat
gosia wrote: Sun Jun 02, 2019 4:40 pm Hello wptophat,
wptophat wrote: Sun Jun 02, 2019 4:20 pm I found out that it has something to do with the fact that the Home directory is NTFS
a linux-home directory must have a linux file system, not NTFS.

many greetings, gosia
And yet Manjaro, Zorin, not Mint have this issue.

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 5:06 pm
by gosia
Hello wptophat,
wptophat wrote: Sun Jun 02, 2019 4:43 pm And yet Manjaro, Zorin, not Mint have this issue.
Your home directory of Manjaro, Zorin and Mint is NTFS formatted?

many greetings gosia

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 5:18 pm
by dolphin_oracle
we do start pulseaudio a little differently, and if there is a saved home folder there could be a conflict I suppose.

checking the contents of ~/.config/autostart may lead some clues here.

also, please post the contents of the /etc/fstab. lets make sure the correct ntfs drive is in use.

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 5:44 pm
by wptophat
gosia wrote: Sun Jun 02, 2019 5:06 pm Hello wptophat,
wptophat wrote: Sun Jun 02, 2019 4:43 pm And yet Manjaro, Zorin, not Mint have this issue.
Your home directory of Manjaro, Zorin and Mint is NTFS formatted?

many greetings gosia
Yes, the home directory is shared between all of my installed distros.

https://imgur.com/a/XjAAg11

That shows my partition setup while booted into Zorin. sdb2 is my home directory.

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 6:20 pm
by gosia
Hello wptophat,
Aha, slight confusion of terms. If I see that correctly, what you call Home is not identical to /home. But I think your decision has already been made and I'm going to sleep now. Maybe until tomorrow...

many greetings gosia

Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 9:53 pm
by wptophat
dolphin_oracle wrote: Sun Jun 02, 2019 5:18 pm we do start pulseaudio a little differently, and if there is a saved home folder there could be a conflict I suppose.

checking the contents of ~/.config/autostart may lead some clues here.

also, please post the contents of the /etc/fstab. lets make sure the correct ntfs drive is in use.
./config/autostart is empty

ANd here is the content of fstab:

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
UUID=998f7f8d-644c-47ae-b2d9-baedc866c5c4 / ext4 defaults,noatime 1 1
UUID=60EFC2AD011ACA5C /home ntfs defaults,noatime 1 2
UUID=f0727ea6-2161-48fe-ae18-ca6c2464e98f swap swap defaults 0 0


Re: Pulse Audio will not start

Posted: Sun Jun 02, 2019 11:34 pm
by JayM
wptophat wrote: Sun Jun 02, 2019 5:44 pm
Yes, the home directory is shared between all of my installed distros.
There's the problem right there. All of your installed distros are trying to share the same hidden (if it were an ext4 file system) config files and directories even though they may have different versions of Pulse Audio. That face that PA works in the other distros is a miracle and means that you were just lucky up until now.

It's fine to share a common data partition between multiple Linuxes (and Windows), but not /home for that very reason: user- and distro-specific config files get stored there too, and those may or may not be cross-compatible between distros. Your setup was a ticking time bomb that just exploded.

Re: Pulse Audio will not start

Posted: Mon Jun 03, 2019 7:35 am
by dolphin_oracle
can you post the output of "mount" while running MX under that fstab please?

are you able to write to the ntfs home folder when operating under that fstab?

I'm kind of thinking to change the ntfs to ntfs-3g in your fstab config and see if that helps (reboot will be required).

Re: Pulse Audio will not start

Posted: Mon Jun 03, 2019 10:38 am
by sunrat
wptophat wrote: Sun Jun 02, 2019 9:53 pm...

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
UUID=998f7f8d-644c-47ae-b2d9-baedc866c5c4 / ext4 defaults,noatime 1 1
UUID=60EFC2AD011ACA5C /home ntfs defaults,noatime 1 2
UUID=f0727ea6-2161-48fe-ae18-ca6c2464e98f swap swap defaults 0 0
For an ntfs partition, try specifying ownership in fstab:

Code: Select all

UUID=60EFC2AD011ACA5C /home ntfs defaults,noatime,uid=1000,gid=1000 1 2
dolphin_oracle wrote: Mon Jun 03, 2019 7:35 amI'm kind of thinking to change the ntfs to ntfs-3g in your fstab config and see if that helps (reboot will be required).
I believe ntfs is a symlink to ntfs-3g these days. Not in MX atm but I'd guess is the same:

Code: Select all

$ file /sbin/mount.ntfs
/sbin/mount.ntfs: symbolic link to mount.ntfs-3g
I agree with JayM, /home should not be shared between distros because of possible issues like this. I treat /home as a scratch pad for current working files and downloads and move them to a separate /data partition when finished.

Re: Pulse Audio will not start

Posted: Mon Jun 03, 2019 4:20 pm
by nik.gnomic
sudo start-pulseaudio-x11
should not run Pulseaudio as root with a DE(except for some headless systems) - What Is Wrong With System mode

start-pulseaudio-x11 will not work to start pulseaudio.service MX is not using systemd in the same way as Manjaro
Based on advice from another forum (Stack), I deleted the default.pa file
if it is custom configuration from another OS deleting ~/.config/pulse/default.pa may be good idea
deleting most, possibly all, of the files in that folder would allow a restarted Pulseaudio to correctly create new MX user configuration
(but will likely cause problems for Pulseaudio on one or more of other OS using shared home)

but if you deleted MX system configuration /etc/pulse/default.pa would not be able to start Pulseaudio