<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 21 February 2017 at 21:07, Peter Carlsson <span dir="ltr"><<a href="mailto:maillist.peter@home.se" target="_blank">maillist.peter@home.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Jan 18, 2017 at 08:31:34AM +0100, Peter Carlsson wrote:<br>
> Hello!<br>
><br>
> I would like to know what display manager and window manager people<br>
> are using.<br>
><br>
> I used to have a line in /etc/inittab but I think that method<br>
> was deprecated in one Debian update a year or more ago.<br>
><br>
> I then started to use SLiM and recently changed to LightDM.<br>
><br>
> For my Debian (Jessie/stable) MythTV system I use XFCE4, but I have<br>
> a problem (with both SLiM and LightDM) that it sometimes fails to<br>
> autologin. It feels like a race condition where it attempts to<br>
> autologin before the window manager is fully started.<br>
><br>
> So I would be happy if people could tell me what combination of<br>
> display manager and window manager you are using.<br>
><br>
> It must support autologin but doesn't have to be fancy or anything.<br>
<br>
I solved this problem by using nodm and I also had to modify<br>
/etc/X11/xorg.conf to always use a predefined EDID-file even if the<br>
receiver/TV is turned off at boot.<br>
<br>
Now it seems like I have a similar problem with the audio. If the<br>
receiver/TV is turned off at boot I get no sound.<br>
<br>
My workaround for this is to turn on the receiver/TV and then do a<br>
'killall xfce4-session'. This restarts the XFCE4 and the sound works.<br>
<br>
Is there a similar way for ALSA to use a predefined settings file to<br>
use if the receiver/TV is turned off att boot?<br>
<br>
Best regards,<br>
Peter Carlsson<br></blockquote><div><br></div><div>Hi Peter,</div><div><br></div><div>You should be able to define this in your <span style="color:rgb(37,37,37);font-family:monospace,courier;font-size:14px">/etc/asound.conf</span></div><div><br></div><div> ie</div><div><div>pcm.!default {</div><div>type hw</div><div>card 1</div><div>device 7</div><div>}</div></div><div><br></div><div>although you can also specify this in your mythtv Audio config ie. ALSA:plughw:CARD=NVidia,DEV=7</div><div><br></div><div><a href="https://www.mythtv.org/wiki/Configuring_Frontend#Audio_System">https://www.mythtv.org/wiki/Configuring_Frontend#Audio_System</a><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony</div></div></div></div>