> I'm gonna subscribe to the myth tv mail list and maybe some of these
> things are gonna get answered here. But I'm gonna ask some of these
> anyway, they are probably low hanging fruit for some of the experts
> here.
>
> What I'm thinking that I want to accomplish is a computer tv - thus, I
> want it to boot up, runlevel 5, auto login as mythtv user, and autostart
> mythfrontend.
>
> Thus far...
>
> 1 - it boots (no great accomplishment)
> 2 - runlevel 5 (got it)
Yep, most installers let you set this or RL 3 during
> 3 - auto login (nope)
> - I set the KDE Control Center - Administrator mode
> - Enable password-less logins for user mythtv
> - Enable auto-login (mythtv)
> - Pre-select User (mythtv)
> - Automatically log in again after X server crash
>
> Why won't it automatically log in as user mythtv without entering a
> password?
Hmm, Could be a possibility of which X login app is running (XDM, KDM or GDM).
> 4 Autostart mythfrontend
> - do I change /home/mythtv/.Xclients-default
> - from exec startkde
> - to exec startkde mythfrontend
I don't think the exec option works that way. Try either two exec lines, e.g.
exec startkde
exec mythfrontend
or the better way is to get KDE itself to autostart it (like from a saved session)
> is there a better way to automatically launch a startup application in
> KDE?
KDE (and other WMs) have a way of saving the state of the windows you had open.
While this won't restore your desktop to exactly what you had (since it can't
actually save the state of each app) it at least gets them back up (e.g. all
those terminal windows, browser windows, etc...).
> Lastly - this is all about my lack of understanding of XFree86...If I
> have in my 'screen' section of XF86Config...
>
> Modes "800x600" "640x480"
>
> even if I switch to 640x480 using the control-shift-nkpd+ or - then the
> screen switches properly to 640x480 but on a 800x600 desktop which means
> that it will scroll and not at all suitable for a TV. There isn't any
> 'modelines' in my 'Monitor' section so the only way I've been able to
> ensure no scrolling is to have only the "640x480" line in the Modes
> section which is too painful to even consider checking my email. Is
> there any other options?
Sounds like when it switches to 640x480 it sets up a virtual size of 800x600
which is why you have to scroll.
From looking at the docs for XFree86 it appears that you can't alter this behavior:
<quote>
Virtual xdim ydim
This optional entry specifies the virtual screen resolution to be used.
xdim must be a multiple of either 8 or 16 for most drivers, and a multiple of 32
when running in monochrome mode. The given value will be rounded down if this is
not the case. Video modes which are too large for the specified virtual size
will be rejected. If this entry is not present, the virtual screen resolution
will be set to accommodate all the valid video modes given in the Modes entry.
Some drivers/hardware combinations do not support virtual screens. Refer to the
appropriate driver-specific documentation for details.
</quote>
My suggestion is to use two different configs for X. One for the mythtv user
and one as a different regular user, though I don't know how to set this up.
Maybe not use runlevel 5 and instead log into the system as the myth user in
runlevel 3 and have its .bashrc or .bash_profile start X on login and possibly
logout on logging out of X. Do the same as your normal user and you can just
ctrl-alt-Fx (7 or 8 maybe) to bounce between the two X displays....
XFree86 uses a configuration file called XF86Config for its initial setup. This
configuration file is searched for in the following places when the server is
started as a normal user:
<quote>
/etc/X11/<cmdline>
/usr/X11R6/etc/X11/<cmdline>
/etc/X11/$XF86CONFIG
/usr/X11R6/etc/X11/$XF86CONFIG
/etc/X11/XF86Config-4
/etc/X11/XF86Config
/etc/XF86Config
/usr/X11R6/etc/X11/XF86Config.<hostname>
/usr/X11R6/etc/X11/XF86Config-4
/usr/X11R6/etc/X11/XF86Config
/usr/X11R6/lib/X11/XF86Config.<hostname>
/usr/X11R6/lib/X11/XF86Config-4
/usr/X11R6/lib/X11/XF86Config
where <cmdline> is a relative path (with no ".." components) specified with the
-xf86config command line option, $XF86CONFIG is the relative path (with no ".."
components) specified by that environment variable, and <hostname> is the
machine's hostname as reported by gethostname(3) .
</quote>
http://www.xfree86.org/4.4.0/XF86Config.5.html
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss