[mythtv-users] What display manager (and window manager) to choose

Hika van den Hoven hikavdh at gmail.com
Wed Jan 18 13:47:00 UTC 2017


Hoi Peter,

Wednesday, January 18, 2017, 8:31:34 AM, you wrote:

> Hello!

> I would like to know what display manager and window manager people
> are using.

> I used to have a line in /etc/inittab but I think that method
> was deprecated in one Debian update a year or more ago.

> I then started to use SLiM and recently changed to LightDM.

> For my Debian (Jessie/stable) MythTV system I use XFCE4, but I have
> a problem (with both SLiM and LightDM) that it sometimes fails to
> autologin. It feels like a race condition where it attempts to
> autologin before the window manager is fully started.

> So I would be happy if people could tell me what combination of
> display manager and window manager you are using.

> It must support autologin but doesn't have to be fancy or anything.

> Best regards,
> Peter Carlsson
> _______________________________________________

If you want really lightweight I use evilwm.
You link /etc/X11/Sessions/evilwm (or wherever those are on your
distribution) to .xsession in the mythtv homedirectory and set in
.xinitrc in the homedirectory what to start. then in your mythfrontend
initscript you run startx as the mythtv user.

My .xinitrc script:

# .xinitrc
cd 
[ -x /usr/bin/nvidia-settings ] && /usr/bin/nvidia-settings -l
/usr/bin/xset s noblank
/usr/bin/xset s off
/usr/bin/xset -dpms

/usr/bin/evilwm \
-snap 10 -bw 1 \
-bg rgb:0/0/3fff -fg rgb:0/0/ffff \
-app xclock/XClock -s \
-app xterm/XTerm -g 169x57+720+25 \
-app xmyth/XTerm -v 0 -g 169x57+720+25 \
-app xstart/XTerm -v 1 -g 169x57+720+25 \
-app xvnc/XTerm -v 2 -g 169x57+720+25 \
-app mythfrontend/Mythfrontend -v 0 &

exec /usr/bin/xterm -name "xmyth" \
-bg rgb:0/0/3fff \
-fg rgb:ffff/ffff/ffff \
-e ~/.scripts/StartMyth.sh &

exec /usr/bin/xterm -name "xstart" \
-xrm "XTerm.vt100.allowSendEvents: true" \
-bg rgb:0/0/3fff \
-fg rgb:ffff/ffff/ffff \
-e /bin/bash &

exec /usr/bin/xterm -name "xvnc" \
-bg rgb:0/0/3fff \
-fg rgb:ffff/ffff/ffff \
-e ~/.scripts/StartVnc.sh &

exec xclock -digital -padding 2 -norender -g -0+0 \
-bg rgb:0/0/3fff \
-fg rgb:ffff/ffff/ffff




Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list