You are not logged in.

#1 2012-02-17 05:36:30

cteeto
Member
Registered: 2012-01-08
Posts: 23

[SOLVED] Can't start pulseaudio with other users?

I am having trouble getting pulseaudio to start using a different user. The user "corey" can run pulse just fine. After logging out and logging in on user "tv", running pulseaudio --start returns this error message:

E  [autospawn] core-util.c: Failed to create secure directory: Operation not permitted
W  [autospawn] lock-autospawn.c: Cannot access autospawn lock.
E  [pulseaudio] main.c: Failed to acquire autospawn lock

So it seems this user does not have permission? I can't imagine why, both corey and tv are in the audio group and both had active consolekit sessions at the time.

I don't know if this is relative information but I'll throw it out there anyway. I have a multiseat configuration with 2 seats, 1 at my desktop the other for my tv however for right now I am just logging into the display at my desktop. I followed most of the relative information about pulseaudio and multiseat from this page on the gentoo wiki (including editing the config files Xstartup and Xreset): here

consolekit though seems to be acting wierd, right now ck-list-sessions produces this:

Session3:
	unix-user = '1000'
	realname = 'Corey Teetor'
	seat = 'Seat1'
	session-type = ''
	active = FALSE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = ''
	remote-host-name = ''
	is-local = TRUE
	on-since = '2012-02-17T06:19:44.835923Z'
	login-session-id = '4294967295'
Session1:
	unix-user = '1001'
	realname = 'The Television'
	seat = 'Seat1'
	session-type = ''
	active = TRUE
	x11-display = ''
	x11-display-device = ''
	display-device = '/dev/tty1'
	remote-host-name = ''
	is-local = TRUE
	on-since = '2012-02-17T06:13:33.618814Z'
	login-session-id = '1'

it says that the session for corey is not active even though i am logged in right now and pulse is running. I am a bit confused...please share your wisdom with me!

Last edited by cteeto (2012-02-18 16:47:51)

Offline

#2 2012-02-17 10:01:03

allen875
Member
From: Winchester, VA
Registered: 2011-09-02
Posts: 46
Website

Re: [SOLVED] Can't start pulseaudio with other users?

I googled your problem and a solved thread linked to this tutorial, give it a try see if it works for you.

Offline

#3 2012-02-17 21:45:47

cteeto
Member
Registered: 2012-01-08
Posts: 23

Re: [SOLVED] Can't start pulseaudio with other users?

Thank you good sir, it worked smile Next time I should probably try googleing it myself huh?

Offline

#4 2012-02-17 23:00:24

allen875
Member
From: Winchester, VA
Registered: 2011-09-02
Posts: 46
Website

Re: [SOLVED] Can't start pulseaudio with other users?

cteeto wrote:

Thank you good sir, it worked smile Next time I should probably try googleing it myself huh?

No problem at all wink, could you edit the title of the post to say solved please, Thanks.

Offline

Board footer

Powered by FluxBB