You are not logged in.

#1 2012-04-02 18:19:57

cortman
Member
Registered: 2012-02-23
Posts: 8

[SOLVED] can't start x; pulseaudio daemon fail

I think I've finally gotten xorg and friends installed successfully (including video drivers) on my new arch setup. But when I run

startx

it flashes, then returns to prompt, the only error displaying being that the pulseaudio daemon failed to start.
Per this thread https://bbs.archlinux.org/viewtopic.php?id=127480 I have installed jack and confirmed that pulseaudio is up-to-date. I rebooted and still get the same pulseaudio fail.
What can I do to fix this?

Last edited by cortman (2012-04-03 11:47:54)


Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4. smile

Offline

#2 2012-04-02 19:40:11

ingolemo
Member
Registered: 2012-02-16
Posts: 12

Re: [SOLVED] can't start x; pulseaudio daemon fail

What does your .xinitrc look like?

Offline

#3 2012-04-02 20:07:32

cortman
Member
Registered: 2012-02-23
Posts: 8

Re: [SOLVED] can't start x; pulseaudio daemon fail

Here it is:

!/bin/sh
#
#~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4. smile

Offline

#4 2012-04-02 20:55:49

ingolemo
Member
Registered: 2012-02-16
Posts: 12

Re: [SOLVED] can't start x; pulseaudio daemon fail

You need to tell startx to start your window manager otherwise it's going to just start X up, see that there's nothing left to do, and then shut X down again. Add (or uncomment) an exec line that corresponds to the window manager that you use.

https://wiki.archlinux.org/index.php/Xinitrc

Offline

#5 2012-04-02 21:39:36

cortman
Member
Registered: 2012-02-23
Posts: 8

Re: [SOLVED] can't start x; pulseaudio daemon fail

Thanks for the hint. Works great.


Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4. smile

Offline

#6 2013-05-24 11:31:41

andy_0
Member
Registered: 2013-04-10
Posts: 15

Re: [SOLVED] can't start x; pulseaudio daemon fail

Thanks for your great advise. I had the same or a similiar issue. After some updates the system just wasn't starting the display manager, a reinstallation of catalyst didn't help and I finally got the error "can't access ~/.config/pulse/cookie" while executing startx. A short search in the Arch Linux forums brought me here, my ~/.xinitrc had no configured DM as well. On restart I have to execute startx manually so the startup configuration needs some checking but at least I have a workaround wink.

Last edited by andy_0 (2013-05-24 11:35:34)

Offline

Board footer

Powered by FluxBB