Xsession.options(5)
β¨ Xsession.options(5) β¨
File Formats Manual π Hey bestie, this is the manual page for Xsession.options (section 5). Let's get into it π
π¦ NAME
Xsession.options, Xsession.options.d β configuration options for Xsession(5) π
πΈ DESCRIPTION
okay so /etc/X11/Xsession.options and /etc/X11/Xsession.options.d/*.conf are where you put the options that control some of the behavior of the Xsession(5) Bourne shell (sh(1)) script π§ the way that these files are the boss of your X session startup, literally iconic. For more info, check the Xsession(5) manpage π
These files can have comments, which start with a hash mark (#) and go until the next newline, just like comments in shell scripts π Everything else is an option, written as words separated by hyphens, with only one option per line π To turn an option on, you just put it in the file. To turn it off, you stick no- in front of the name π
Options get read from /etc/X11/Xsession.options first, then from /etc/X11/Xsession.options.d/*.conf in sorted order. Later mentions of an option (with or without the no- prefix) win over earlier ones, so the last word is the final word π
β¨ OPTIONS β¨
allow-failsafeβ ngl this one is a lifesaver π If thefailsafeargument gets passed to the Xsession script, you get an emergency X session with just anx-terminal-emulator(1)chilling in the upper-left hand corner of the screen π No window manager gets started. And if there's no x-terminal-emulator program available, the session just exits immediately πallow-user-resourcesβ if users have a file called.Xresourcesin their home directories, those resources get merged with the default X resources when they log in πΈallow-user-xsessionβ if users have an executable file called.xsessionin their home directories, it can be used as the startup program for the X session (seeXsession(5)) β¨ If the file is there but not executable, it can still be used, but it's assumed to be a Bourne shell script and gets run withsh(1)π¦use-session-dbusβ if the dbus package is installed, the session bus gets activated at X session launch π₯use-ssh-agentβ if thessh-agent(1)program is available and no agent process seems to be running already, the X session gets invoked byexec'ingssh-agentwith the startup command, instead of running the startup command directly π
All of the options above are enabled by default π The local administrator can support additional options too, and Xsession(5) explains how that works π§
π AUTHORS
Stephen Early, Mark Eichin, and Branden Robinson developed Debian's X session handling scripts π Branden Robinson wrote this manual page π«Ά
π SEE ALSO
Xsession(5), ssh-agent(1), x-terminal-emulator(1) β
Debian Project π manual page from 2004-10-31, Xsession.options(5), signing off with love π¦πβ¨
π¦ where this page comes from
- debian bookworm: x11-common 1:7.7+23
- debian trixie: x11-common 1:7.7+24+deb13u1
- ubuntu jammy: x11-common 1:7.7+23ubuntu2
- ubuntu noble: x11-common 1:7.7+23ubuntu3
- ubuntu questing: x11-common 1:7.7+24ubuntu1
- ubuntu resolute: x11-common 1:7.7+26ubuntu1
- ubuntu stonking: x11-common 1:7.7+26ubuntu2
- Copyright 1998-2001, 2003-2004 Branden Robinson <branden@debian.org>
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms