On Tue, 11 Aug 1998, Hamish Moffatt wrote:
> I just upgraded a bo machine to hamm from the official CDs; > /etc/X11/config says > > # This file contains configuration flags for the X Window System. > # For a description of the meanings of the flags, see > # /usr/doc/X11/README.Debian > > no-run-xconsole > obey-nologin > allow-user-resources > allow-user-modmap > allow-user-xsession > allow-failsafe > start-xdm > no-xdm-start-server > > However, xdm still starts a local server. Also, if I "startx" as a user, > it doesn't run the window manager (I have no ~/.xsession or ~/.xinitrc), > although it does if I login through xdm. s/^start-xdm/no-start-xdm/ should keep xdm from starting. Look at /etc/init.d/xdm to get an idea why. The "xdm-start-server" flag is only used by the xbase.postinst script IIRC. Why you get different behaviour from xdm and start might be explained by this: There's a script /etc/X11/Xsession that claims to be run by both xdm and xinit (to which startx is a wrapper.) The script seems to look for ~/.xsession only though. Maybe it isn't run after all from xinit on Debian systems. That means that the comments in the file are misleading. Anyway, the /etc/X11/Xsession script exec's either (and in this order of prevalence): - ~/.xsession if it exists; - whatever windowmanager is listed first in /etc/X11/windowmanagers if that file exists; - twm (which always exists when /etc/X11/Xsession exists.) Cheers, Joost