1. 02 May, 2020 2 commits
    • Benjamin Berg's avatar
      main: Remove support for --autostart argument · 25b53cc1
      Benjamin Berg authored
      This has been superseeded by the AutostartWhitelist key in the session
      file.
      25b53cc1
    • Benjamin Berg's avatar
      fill: Add AutostartWhitelist key to session file · 58e4af5c
      Benjamin Berg authored
      gnome-session currently has an autostart directory override. The purpose
      of this is to disable the usual autostart applications and only start
      whatever is in the given autostart directory.
      
      The nice thing about this is that it is possible (even for third
      parties) to extend the autostart list. The bad part is that it is an odd
      mechanism of partially disabling autostart. One that cannot be mapped
      appropriately to e.g. a systemd generator.
      
      To improve this, add a new AutostartWhitelist key. This key effecitvely
      disables autostart (if left empty) and one can add a whitelist of
      applications that should still be started (in the login screen, as that
      is the only real user).
      
      The disadvantage is that it means distributions need to e.g. add
      spice-vdagent uconditionally to this list rather than installing it into
      /usr/share/gdm/greeter/autostart. The advantage is that the key can be
      appropriately resolved without passing any magic parameters or
      environment variables over from GDM to the gnome-session. It also means
      that quite a bit of code can be removed from gnome-session.
      58e4af5c
  2. 01 May, 2020 1 commit
    • Sebastian Geiger's avatar
      docs: Update gnome-session.1 man page · 3b043831
      Sebastian Geiger authored
      The description of the autostart mechanism with default directories
      --autostart option and environment variable was unclear and also did
      not match the actual implementation.
      3b043831
  3. 10 Apr, 2020 1 commit
  4. 31 Mar, 2020 1 commit
  5. 30 Mar, 2020 1 commit
  6. 21 Mar, 2020 1 commit
    • Benjamin Berg's avatar
      util: Unset GNOME_SETUP_DISPLAY at login time · 7c928fcd
      Benjamin Berg authored
      This variable was introduced to allow Xwayland auto-startup.
      Unfortunately, it will prevent g-s-d process startup if it leaks from a
      wayland session to an Xorg session.
      
      As such, add it to the list of variables that are unset at login time.
      7c928fcd
  7. 18 Mar, 2020 1 commit
  8. 10 Mar, 2020 2 commits
  9. 09 Mar, 2020 1 commit
  10. 08 Mar, 2020 2 commits
  11. 06 Mar, 2020 1 commit
  12. 05 Mar, 2020 1 commit
  13. 17 Feb, 2020 1 commit
  14. 07 Feb, 2020 2 commits
    • Iain Lane's avatar
      doap: Call this "GNOME Session Manager" · 7185449f
      Iain Lane authored
      It's common for projects to include "GNOME" in the name - this is less
      ambiguous.
      7185449f
    • Iain Lane's avatar
      doap: Add benzea · 793ee487
      Iain Lane authored
      We discussed this at FOSDEM. Since we're both working on systemd-session
      stuff at the minute, and most planned GNOME Session changes relate to
      this, it makes sense for us to be able to review each other's work.
      793ee487
  15. 27 Jan, 2020 1 commit
  16. 20 Jan, 2020 2 commits
  17. 19 Jan, 2020 1 commit
  18. 07 Jan, 2020 2 commits
  19. 27 Dec, 2019 1 commit
  20. 25 Dec, 2019 1 commit
  21. 16 Dec, 2019 2 commits
    • Iain Lane's avatar
      binary: Allow quitting early on SIGTERM/SIGINT · 04d1eb2d
      Iain Lane authored
      Now we're started by systemd, we also need to handle being *stopped* by
      systemd too. systemd sends us a SIGTERM to ask us to quit, but we refuse
      to exit on SIGTERM if we're not fully running. That's a problem if the
      SIGTERM is sent early in startup. For example, if gnome-shell has exited
      due to Wayland not being supported, and we're trying to fall back to
      Xorg, the session will not be running at this point, but we want to be
      able to kill everything in order to try again with Xorg.
      
      Fix this by looking at the `GError` returned by `gsm_manager_logout()`,
      and directly quitting if we're not in the running phase yet.
      04d1eb2d
    • Iain Lane's avatar
  22. 28 Nov, 2019 2 commits
  23. 27 Nov, 2019 1 commit
  24. 26 Nov, 2019 4 commits
  25. 25 Nov, 2019 2 commits
    • Benjamin Berg's avatar
      data: Make X11 services part of gnome-session-initialized · c6e21972
      Benjamin Berg authored
      The X11 services need to be stopped together with the session. Add
      corresponding Requisite/PartOf/Before entries.
      c6e21972
    • Benjamin Berg's avatar
      data: Ensure shutdown target does not keep units loaded · e1e4ab45
      Benjamin Berg authored
      The shutdown target has explicit conflicts on some user units, this
      means that as long as it is active, it will keep those units loaded.
      
      We could probably reverse the conflicts to prevent this from happening.
      But, it makes sense to set StopWhenUnneeded=true anyway and doing so
      also means that the corresponding units can be unloaded after logout.
      e1e4ab45
  26. 11 Nov, 2019 1 commit
  27. 08 Oct, 2019 1 commit
  28. 07 Oct, 2019 1 commit