{
    "mode": "man",
    "parameter": "Xsession.options",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/Xsession.options/5/json",
    "generated": "2026-10-07T14:12:52Z",
    "sections": {
        "NAME": {
            "content": "Xsession.options, Xsession.options.d - configuration options for Xsession(5)\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "/etc/X11/Xsession.options  and /etc/X11/Xsession.options.d/*.conf contain options that deter‐\nmine some of the behavior of the Xsession(5) Bourne shell  (sh(1))  script.   See  the  Xses‐\nsion(5) manpage for further information.\n\nThese configuration files may contain comments, which begin with a hash mark (‘#’) and end at\nthe  next newline, just like comments in shell scripts.  The rest of the file consists of op‐\ntions which are expressed as words separated by hyphens, with only one option per line.   Op‐\ntions  are enabled by simply placing them in the file; they are disabled by prefixing the op‐\ntion name with ‘no-’.\n\nOptions  are  read  from   /etc/X11/Xsession.options,   followed   by   /etc/X11/Xsession.op‐\ntions.d/*.conf  in  sorted  order;  later occurrences of an option (with or without the ‘no-’\nprefix) take precedence over earlier occurrences.\n\nAvailable options are:\n",
            "subsections": [
                {
                    "name": "allow-failsafe",
                    "content": "If the ‘failsafe’ argument is passed to the Xsession script, an emergency X session is\ninvoked, consisting of only an x-terminal-emulator(1) in the upper-left hand corner of\nthe screen.  No window manager is started.  If an x-terminal-emulator program  is  not\navailable, the session exits immediately.\n"
                },
                {
                    "name": "allow-user-resources",
                    "content": "If  users  have  a  file called .Xresources in their home directories, these resources\nwill be merged with the default X resources when they log in.\n"
                },
                {
                    "name": "allow-user-xsession",
                    "content": "If users have an executable file called .xsession in their home directories, it can be\nused as the startup program for the X session  (see  Xsession(5)).   If  the  file  is\npresent  but not executable, it may still be used, but is assumed to be a Bourne shell\nscript, and executed with sh(1).\n"
                },
                {
                    "name": "use-session-dbus",
                    "content": "If the dbus package is installed, the session bus  will  be  activated  at  X  session\nlaunch.\n"
                },
                {
                    "name": "use-ssh-agent",
                    "content": "If  the  ssh-agent(1)  program is available and no agent process appears to be running\nalready, the X session will be invoked by exec'ing ssh-agent with the startup command,\ninstead of the startup command directly.\n\nAll of the above options are enabled by default.  Additional options may be supported by  the\nlocal administrator.  Xsession(5) describes how this is accomplished.\n"
                }
            ]
        },
        "AUTHORS": {
            "content": "Stephen  Early,  Mark  Eichin,  and  Branden  Robinson  developed Debian's X session handling\nscripts.  Branden Robinson wrote this manual page.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Xsession(5), ssh-agent(1), x-terminal-emulator(1)\n\nDebian Project                               2004-10-31                          Xsession.options(5)",
            "subsections": []
        }
    },
    "summary": "Xsession.options, Xsession.options.d - configuration options for Xsession(5)",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "Xsession",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/Xsession/5/json"
        },
        {
            "name": "ssh-agent",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ssh-agent/1/json"
        },
        {
            "name": "x-terminal-emulator",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/x-terminal-emulator/1/json"
        }
    ]
}