1 Jan 2004 01:43
Re: Auto-login with XDM only
I'll leave your point-by-point to be repeated, but there's a couple of reasons why I think that you may have used a little more brute force than necessary. Firstly, the MythTV is using FWVM as its window manager. It's been a long while, but I'm pretty sure that neither KDM nor GDM even existed back when FWVM was considered "gee-whiz" technology. MythTV also mentioned another window manager of that era (I forget which) with similar characteristics. So only if your apps actually /need/ K/GDM should there be a requirement for them if you simply run under the right window manager. Similarly, the apps launched at startup using a minimal window manager should be *your* choice, so there's not what I'd call "hacking" involved in such a case. I think back in the good old days, in fact I did manage to start X with absolutely no apps - including xterm and/or toolbars. It makes for a pretty boring display/user experience, though. :) Likewise, the idea of having to run an extraneous X app just to keep things alive doesn't sit well. There's cleaner ways to do that. At the very least, I'd respawn the app by launching it from a continous loop shell script. You might want to trap signals and re-loop if it's prone to die. A lower-level equivalent is the inittab respawn facility, but I think that's more appropriate if the whole X session dies. You might want to consider that as well. It's sort of a last-resort solution, however. You really /should/ "login", just to not be running as root. This can be as simple as starting the app via "su" in your init.d script - and you'll find a number of tasks doing exactly that, especially if you(Continue reading)
RSS Feed