You are not logged in.

#1 2015-01-12 03:26:43

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

[solved]Pulseaudio wont start

I tried to run pulseaudio and it showed me the following message:

[bahaa@Bahaa ~]$ pulseaudio --start 
E: [autospawn] core-util.c: Failed to create secure directory (/run/user/0/pulse): Permission denied
W: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
E: [pulseaudio] main.c: Failed to acquire autospawn lock
[bahaa@Bahaa ~]$

Last edited by ThElitEyeS (2015-01-12 18:13:15)

Offline

#2 2015-01-12 17:54:58

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [solved]Pulseaudio wont start

Why are you using the root uid?  What happened? did you just rename the root user as bahaa?

If so, that's a very dangerous and unsafe procedure.

What you need to do is to either set up a new user, or usermod bahaa and set a different uid that is no smaller than 1000.

HTH


Knute

Offline

#3 2015-01-12 17:59:56

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]Pulseaudio wont start

No I have just created new user called bahaa by useradd command

Offline

#4 2015-01-12 18:01:31

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]Pulseaudio wont start

But I have entered to user Bahaa from root using this command

su Bahaa

Is that wrong ?

Last edited by ThElitEyeS (2015-01-12 18:02:32)

Offline

#5 2015-01-12 18:05:51

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [solved]Pulseaudio wont start

Why can't you log in directly to Bahaa? 
The way that you are doing it, you are keeping root's credentials.  If you want to su to another user and use their credentials then you would have to use

su - Bahaa

I would suggest that you log out completely, and then login to Bahaa without going through root first.  Have you set up a password for Bahaa?  If not, you may want to do that first.


Knute

Offline

#6 2015-01-12 18:07:54

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]Pulseaudio wont start

Knute wrote:

Why can't you log in directly to Bahaa? 
The way that you are doing it, you are keeping root's credentials.  If you want to su to another user and use their credentials then you would have to use

su - Bahaa

I would suggest that you log out completely, and then login to Bahaa without going through root first.  Have you set up a password for Bahaa?  If not, you may want to do that first.

Yeah I have I am using su because I always login at root first, I will try your command now

Offline

#7 2015-01-12 18:12:58

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]Pulseaudio wont start

Yeah your command worked thanks bro

Offline

#8 2015-01-12 18:14:02

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]Pulseaudio wont start

can you help me with this topic ?
https://bbs.archlinux.org/viewtopic.php?id=192119

Offline

#9 2015-01-12 18:33:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved]Pulseaudio wont start

Don't do that. You have been warned previously for help vampirism, this is your final warning.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2015-01-12 18:34:27

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]Pulseaudio wont start

jasonwryan wrote:

Don't do that. You have been warned previously for help vampirism, this is your final warning.

what are you talking about "vampirism" o.O?

Offline

#11 2015-01-12 18:38:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved]Pulseaudio wont start


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB