You are not logged in.
Pages: 1
Hi.
I use systemd and xmonad on my arch linux.
When starting xmonad with "startx" command, alsamixer doesn't work in urxvt while it works well under tty.
It seems to be a polkit problem.
My .xinitrc file has only one line:
exec xmonad
How can I make alsamixer work after "startx"?
Last edited by piaodan (2012-09-07 17:47:46)
Offline
It seems to be a polkit problem.
My .xinitrc file has only one line:
exec xmonad
I think you already have your answer...
Offline
piaodan wrote:It seems to be a polkit problem.
My .xinitrc file has only one line:
exec xmonadI think you already have your answer...
Actually I didn't find a way to have polkit work with systemd and startx.
When using sysvinit, "exec ck-launch-session xmonad" works well, but "ck-launch-session" reports an error with systemd.
What can replace "ck-launch-session" when using systemd?
Offline
I don't use console-kit, but you should probably check the wiki. The fist line of the console-kit page reads:
ConsoleKit is currently not actively maintained. The focus has shifted to the built-in seat/user/session management of Software/systemd called systemd-loginctl.
I also have no idea why you'd need any *-kit to use alsamixer. I certainly don't.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I also had no sound when I tried systemd a few days ago. “systemctl” reported a failure with alsa. I couldn’t find anything about that problem on the wiki or in the forums. I’m also not using a login manager and launching Xfce with “exec startxfce4 --with-ck-launch” in .xinitrc.
Edit: The alsa.service error does not prevent sound from working. My problem was most likely that my music disk was not mounted when my system was started with systemd.
Last edited by stqn (2012-09-07 18:31:46)
Offline
Thanks for all replies.
The sound problem was solved by adding user into audio group:
#gpasswd -a username audio
Last edited by piaodan (2012-09-07 17:46:55)
Offline
Pages: 1