Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3200

Hardware • [Solved] Switching to LightDM from GDM audio issues

$
0
0
I installed Debian 11 from an ISO and as part of the default things it installs is GDM. In GDM by default the audio doesn't work until I add

Code:

options snd-hda-intel dmic_detect=0
to

Code:

/etc/modprob.d/alsa-base.conf 
Everything works fine here, however I have to run a provisioning script (we do this for every machine) and part of the provisioning script we have

Code:

# get rid of the window manager                                                                                                                                                                                    apt remove -y gdm3apt install -y lightdmsystemctl disable lightdm.service
So when I run the machine after rebooting I enter tty1 and enter the root accounts credentials. This is all expected, however after I start lightdm by running

Code:

 lightdm 
and enter the user credentials, I don't have any output devices in my sound settings.

Also when I run

Code:

 echo $XDG_RUNTIME_DIR 
the output is empty so I can see that's not being set when I run lightdm, which is what I suspect is part of the problem.

Is there anything I can add to the script to get audio working via the setup we have right now? (logging in as root through tty and starting lightdm)

Statistics: Posted by gamenite-safwaan — 2023-12-22 23:11 — Replies 2 — Views 78



Viewing all articles
Browse latest Browse all 3200

Trending Articles