| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Try to place launched applications into a systemd scope. This will only
have an effect on systemd managed sessions, where it will e.g. protect
gnome-session from OOM actions to a child resulting in a service
shutdown.
|
|
|
|
|
|
|
|
|
| |
Both gnome-shell and g-s-d will start putting launched applications into
transient scopes. As these scopes will be prefixed with gnome-launched-,
we can set defaults by installing an appropriate drop-in. This allows us
to bind them to graphical-session.target and lower their stop timeout.
See gnome-shell!863 and gnome-settings-daemon!147
|
|\ |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
At the moment, gnome-session explicitly sets the various LC_ variables
to the user configured region.
That's unnecessary, though. If the LC_ variables are unset,
applications know to use LANG. Furthermore, setting the LC_ variables
makes it so you can't override them with LANG anymore.
This commit makes sure the LC_ variables only get set when absolutely
necesary. That is, when they are different than LANG.
https://gitlab.gnome.org/GNOME/gnome-session/issues/37
|
|
|
|
|
| |
The bus daemon is going to get restarted on shutdown, so make sure
it has a pristine environment when starting back up.
|
|
|
|
|
| |
The description of the autostart mechanism with default directories
--autostart option and environment variable was unclear and also did
not match the actual implementation.
|
|
|
|
|
|
|
|
| |
There is error in journal log:
gnome-session-c[4905]: Error creating FIFO: File exists
The errno can't be negative number.
https://gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/42
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
gnome-setting-daemon now has a feature that controls USBGuard to
protect against USB-borne attacks.
In order to make use of that feature (although it currently still needs
to be activated manually), let's start the plugin with the session.
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/75
|
| |
|
| |
|
|
|
|
|
| |
It's common for projects to include "GNOME" in the name - this is less
ambiguous.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit 9c7acf560b9a591a89d701040ad764c2049202ac)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The idea was that this is useful for gnome-shell to modify its OnFailure
behaviour. However, the approach has been causing issues with session
shutdown and the workaround is quite complicated.
To simplify matters, the logic has been moved to gnome-shell and further
improved. As such, the gnome-session-stable.timer has lost its purpose
and it is unlikely to be useful for other purposes in the future.
Remove it completely.
See gnome-shell!858 and #43
|
|
|
|
|
| |
This was part of some experimentations and got committed accidentally.
The file was never installed into any system. Simply remove it again.
|
|
|
|
|
|
|
| |
We cannot allow this as gnome-session would try to restore XSMP clients
that are already started using systemd, resuling in session failures.
Fixes: 41
|
|
|
|
|
|
|
|
| |
Allowing this is problematic as gnome-session would try to restore XSMP
clients that are already started using systemd, resuling in session
failures.
See: #41
|
|
|
|
|
| |
The X11 services need to be stopped together with the session. Add
corresponding Requisite/PartOf/Before entries.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
So far the blacklisted variables were not actively striped from the
environment of XDG autostart applications. Update the code to explicitly
unset the variables, preventing e.g. NOTIFY_SOCKET to be leaked to
children.
Fixes: #36
|
| |
|
|
|
|
|
|
|
| |
Probably/possibily temporarily.
I think I need to do this to be able to make a release, while Ray is
out.
|
| |
|
| |
|
| |
|