I asked this on StackOverflow, which was the wrong forum, amdnd was pointed here.
The normal Linux login sequence is confusing enough, with all the system & user rc and profile files. And the difference between the sequence followed by a login shell and a non-login one.
But I just can’t find a complete diagram of all the scripts involved in a X session login. There’s the greeter, there’s gdm-x-session
in there somewhere, there’s the ability to choose your window manager, and a whole slew of .x*
, .X*
, *init*
, *client*
, *.desktop
, resource, and application and other startup files involved. Not to mention keybindings between setxkbmap
, xmodmap
, and whatever the window manager imposes or allows. And the potential integration of a fingerprint reader at the login credentials step.
For instance, GNOME will start the gpg-agent
and ssh-agent
, and do something with a keyring, but i3wm
does not do so reliably (and usually not at all).. why not? What do I need to change? Is this stuff hard-coded into GNOME or something?
I have been searching for a diagram, or a flow chart, or at least a complete and authoritative description, of how this process works — for months. To no avail. So if anyone can point me to a link or explanation, I would be extraordinarily grateful.
Maybe a comprehensive “How to Write a Window Manager” would be good. ЁЯШБ. Is there one?