Aim : Use 1 computer for two tasks :
a) Desktop for GF to use as a regular linux machine (web browsing, photos, etc)
b) Completely independent MythTV set-up, with the output going to the TV.

Also, the set-up has to be turn-key, with both sessions logging in automatically (goodbye gdm).

There’s a lot going on for this one. Fortunately, Fedora 9 (FC9) doesn’t require recompilation of any raw code (phew).

However, the major twist is that xorg now (by default) defers input device detection to HAL, which doesn’t appear to have any relevant documentation about how to allocate the discovered devices to the different screens/users.

## The X11 setup

First, the setup in /etc/X11/xorg.conf :

## The myth user

Append to ~/.bash_profile :

Into ~/.xinitrc :

Into ~/.xserverrc :

## The desktop user

Append to ~/.bash_profile :

Into ~/.xinitrc :

Into ~/.xserverrc :

This is all handled by upstart now, which uses /etc/initab only for the id:5:initdefault: line. Make sure it contains :

Add the following two files to /etc/event.d :

and

Also, comment out every line in /etc/event.d/prefdm (this file is the one that creates the gdm login manager, which is not required if the users are auto-logged in as above).

## MythTV in general

The permissions for the video devices are not set up correctly for access by both the desktop and the mythtv user. So put the following in /etc/udev/rules.d/50-udev-extra.rules :

See other posts for lircd, alsa, etc…