[X2Go-Dev] Bug#1226: x2goclient for Mac OS immediately throws error regarding "PulseAudio verison number" then crashes

Mihai Moldovan ionic at ionic.de
Thu Oct 26 06:25:20 CEST 2017


On 10/26/2017 02:15 AM, Sean Hooten wrote:
> On Tue, Oct 24, 2017 at 7:59 PM, Mihai Moldovan <ionic at ionic.de
> <mailto:ionic at ionic.de>> wrote:
> 
>     What does /Applications/x2goclient.app/Contents/exe/pulseaudio --version
>     2>/dev/null output? Currently I suspect that it crashes on your box.
> 
> 
> I get no output from that command.
> 
> Okay, but I discovered something interesting. The command seems to return the
> PulseAudio version number when I run with sudo, i.e.:
> sudo /Applications/x2goclient.app/Contents/exe/pulseaudio --version 2>/dev/null
> 
> I get output:
> pulseaudio 10.0-rebootstrapped

That's the normal output... how odd!


> I also tried logging into my other administrator account, and x2goclient seems
> to work fine on that account. So for whatever reason it seems that the
> permissions on my regular user account are mesed up... I'm not sure what do to
> about this, I might need to restore to a backup. But at least for the time being
> I can use the client.

I'd still like to know what is messed up, though.

As the normal user for which pulseaudio --version doesn't work, can you try
spawning sudo dtruss -f sudo -u $USER
/Applications/x2goclient.app/Contents/exe/pulseaudio --version

Yeah, I know this looks weird since we need to use sudo twice, but dtruss is
only working with elevated privileges, but since root is able to execute PA
--version just fine, we need to switch back to your other user account...



Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20171026/59d2b3e4/attachment.sig>


More information about the x2go-dev mailing list