Automatic start of myth frontend

From Erlands Wiki

Jump to: navigation, search

Configuration

We want the mythfrontend to startup automatically when the computer is booted, to accomplish this we do as follows:

  • 1. Create a /home/mythtv/.xsession file that contains the following:
#!/bin/bash
metacity &
xterm &
xset s off
xset -dpms
while [ ! `pgrep mythbackend` ] ; do
        echo "Waiting for backend"
        sleep 1;
done;
mythwelcome
  • 2. chmod +x /home/mythtv/.xsession
  • 3. sudo vi /etc/X11/gdm/gdm.conf-custom
  • 4. Find the [daemon] section and add the folowing lines to it:
AutomaticLoginEnable=true
AutomaticLogin=mythtv
  • 5. Open /boot/grub/menu.lsg
  • 6. Change the timeout row to:
timeout 1

References

Personal tools