xdm.options(5)
π xdm.options β configuration options for the X display manager π
okay bestie, welcome to xdm.options(5), aka the little file that tells the X display manager how to act. it's filed under File Formats Manual, and it's genuinely so much simpler than it looks. let's get into it π«Ά
β¨ NAME β¨
xdm.options β configuration options for the X display manager
πΈ DESCRIPTION πΈ
so, /etc/X11/xdm/xdm.options holds a set of flags that decide some of the behavior of the X display manager, xdm(1x). key word: some. most of xdm's behavior gets customized through other files, so if this page doesn't describe the thing you want to change, go read the xdm manual page instead. this one isn't gonna cover it, no cap.
/etc/X11/xdm/xdm.options can contain comments, and they start with a hash mark (#) and run until the next newline β literally exactly like comments in shell scripts. the rest of the file is just options, expressed as words separated by hyphens, with only one option per line.
enabling an option is the easiest thing ever: you just put it in the file. disabling it? prefix the option name with no-. that's it, that's the whole mechanic. π
available options are:
ignore-nologinβ normally, if thenologin(5)file exists, its contents get displayed usingxmessage(1x)(ifxmessageis available), and then the user gets sent back to thexdmlogin screen afterxmessageis dismissed, instead of starting the X session. if this option is enabled,xdmstarts a session as usual (afterxmessageis dismissed, ifxmessageis available and thenologinfile exists). this behavior is disabled by default:nologinis heeded, not ignored. periodt.restart-on-upgradeβ β οΈ enable this one with caution on "production" machines, fr fr. it causes the daemon to be stopped and restarted on upgrade, even if the process has children (which means it's managing X sessions, bestie π). typically, when a package containing a daemon is being installed or upgraded, its maintainer scripts stop a running daemon process before installing the new binary, and restart it after the new binary is installed. stoppingxdmcauses immediate termination of any sessions it manages, and in some situations that could be a very unwelcome surprise (for instance, for remotexdmusers who had absolutely no idea the administrator was doing system maintenance π). on the other hand, for machines that stay up for long periods of time, leaving the old daemon running can be a bad idea if the new version has, like, a fix for a security vulnerability (overwritingxdm's executable on the file system has no effect on the copy ofxdmin memory β it's giving ghost of daemons past π). thexdmpackage's pre-removal script checks to see if thexdmprocess has any children; if it does, it's possible that someone's session would be killed by stoppingxdm, so a warning is issued and you get an opportunity to abort the upgrade ofxdm. furthermore, restartingxdmon upgrade can be surprising, because a locally-managed X server can change the active VT even while other packages are continuing to upgrade. and if, by intent or accident, the X server does not honor the key sequence to switch VTs back to a virtual console, that can be undesirable. this behavior is disabled by default:xdmwill be not be stopped or started during an upgrade of its package; the administrator will have to do so by hand (withinvoke-rc.d xdm restartor by rebooting the system) before the newly installedxdmbinary is used. so like... your call, but be smart about it π§start-on-installβ enable this option with caution too! it causes thexdmdaemon to be started immediately after the package is installed. see the above entry aboutrestart-on-upgradefor other caveats regarding the consequences of starting thexdmdaemon during package management. this behavior is disabled by default:xdmwill not be started when it is installed. and heads up β changing this setting can affect future installs if the package is removed, but not purged (purging removesconffiles, includingxdm.options). πuse-sessregβ this option causes the/etc/X11/xdm/Xresetscript to call thesessreg(1x)program to register X sessions managed byxdmin theutmp(5)andwtmp(5)files. if it is disabled, theutmpandwtmpfiles will have no record ofxdmsessions. this behavior is enabled by default;sessregwill be used. β¨
bestie, if you're coming from older versions of the Debian system, please note that therun-xconsoleoption has been removed. the shell script named/etc/X11/xdm/Xresetcan be edited to disable or modify the running ofxconsoleon thexdmgreeter screen; seexdm(1x)for more information. it's not gone, it just moved π
π AUTHORS π
Stephen Early, Mark Eichin, and Branden Robinson customized xdm's startup and reset scripts and package maintainer scripts to implement the functionality described above. this manual page was written by Branden Robinson. absolute icons, all of them π
π¦ SEE ALSO π¦
sessreg(1x)xmessage(1x)xdm(1x)nologin(5)utmp(5)wtmp(5)
and that's the whole page, bestie, you ate it π this one's from the Debian Project, dated 2004-10-31 β old but iconic, and honestly still the blueprint. go forth and configure responsibly πβ¨π
π¦ where this page comes from
- debian bookworm: xdm 1:1.1.11-3+b2
- debian trixie: xdm 1:1.1.11-6.1
- ubuntu jammy: xdm 1:1.1.11-3ubuntu2
- ubuntu noble: xdm 1:1.1.11-3ubuntu4
- ubuntu questing: xdm 1:1.1.11-6.1ubuntu1
- ubuntu resolute: xdm 1:1.1.11-6.1ubuntu2
- ubuntu stonking: xdm 1:1.1.11-6.1ubuntu2
- Copyright 1998, 2002-2004 Branden Robinson <branden@debian.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms