Gentoo Archives: gentoo-user

From: Jonathan Callen <jcallen@g.o>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: SDDM/KDE5: no sound card available?
Date: Wed, 22 Jul 2015 01:34:13
Message-Id: 55AEF308.4020906@gentoo.org
In Reply to: [gentoo-user] SDDM/KDE5: no sound card available? by Nikos Chantziaras
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 On 2015-07-21 14:12, Nikos Chantziaras wrote:
5 > I upgraded to KDE 5 recently, and was using LightDM as the display
6 > manager. It seems that KDE 5 prefers SDDM though and offers a
7 > config module for it in System Settings.
8 >
9 > So I installed SDDM. However, when I log in with SDDM, I get no
10 > sound. My sound card just... disappears. "alsamixer -c0" says:
11 >
12 > invalid card index: 0".
13 >
14 > "aplay -l" says:
15 >
16 > aplay: device_list:268: no soundcards found...
17 >
18 > Even if I disable pulseaudio, there's still no ALSA cards found.
19 >
20 > When I ctrl+alt+F1 to a console and log in there, there's no
21 > problem. My sound card is found. But in a KDE session started with
22 > SDDM, nope. No sound card (and thus, no sound.)
23 >
24 > Works just fine with LightDM.
25 >
26 > I'm on ~amd64 with gentoo-sources-4.1.2, pulseaudio-6.0. KDE 5 is
27 > installed from portage (kde-plasma/plasma-meta). Any help?
28 >
29 >
30
31 Are you using systemd? If so, did you build sddm with USE=systemd?
32 If not, did you build sddm with USE=consolekit and read the warning
33 printed by portage?
34
35 This display manager doesn't have native built-in ConsoleKit
36 support. In order to use ConsoleKit pam module with this display
37 manager, you should remove the "nox11" parameter from
38 pm_ck_connector.so line in /etc/pam.d/system-login
39
40
41 Your issue is most likely that your X session is not being treated as
42 a login session by logind/ConsoleKit, and therefore your user is not
43 being added to the ACLs on the various devices under /dev, including
44 all sound devices, certain input devices, any CD/DVD/BR devices you
45 may have, and certain video devices.
46
47 - --
48 Jonathan Callen
49 -----BEGIN PGP SIGNATURE-----
50 Version: GnuPG v2
51
52 iQIcBAEBCgAGBQJVrvMEAAoJEEIQbvYRB3mgJi8QALktjDzO32+5G349HzOPE/nw
53 aJ2wM8wue8/x2VdIK0q9d/DqVQLqw36j4qZl9tC3cSWQLdetmsHz563MCETfAW9d
54 GBsGCldWortdQkwAe7FX3yb0vJgqmVJ7CDjwZ/W3JGyX/ARwFPQIjdKW9MfIJcsS
55 XgvyV1gpVBu4xol64M0xl87hUKE+o17Ng/JCo9shU0ioO03BW0w2aKSviqPHtQYA
56 iKIz3q6xdi/g7aybPU8eqRmwWytlQXj8aZm3N9+Cx2dCe8a4/nLtZmfetxyTC+5O
57 WYqeQVeITjCdT0e53w6ZXX2fqe+NjrMVtUHJYjV+XNhT2FoISE/HwqTiuG2DVMf6
58 avOqQXC/LAZARUICmKdqamWRlBpnO1kUElp6XaGqmtX1wVd3VyZr9AcFVMw+NZv5
59 uBW4kudaq19cLcXH6/VYawg+eWaUdJ34ILVokpZLAG6/HP6fD3m49rkx25o6Q1JO
60 cl/NftK9TULGxjnHMfUnFnA53eA45qwBVe90IfdN6TRrlJt7EGqAYcMY6Ib1TUs3
61 XD/y+tMA8u7nuJqS0vujgtlyfjcqYMA9EEEQ8TT1aDiw/HT3vEFtbx/6pFOnCTZd
62 LkDRkY//K706X4eagK9Alhqb44nRgI6frWAfEJRQnXCyNTDKyntseSDUVKCD9rwP
63 TTc/MU34RvWrdaIyN27f
64 =eO32
65 -----END PGP SIGNATURE-----

Replies

Subject Author
[gentoo-user] Re: SDDM/KDE5: no sound card available? Nikos Chantziaras <realnc@×××××.com>