| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This used to be done with a special greeter indicator, but it's
much simpler to just define the presets accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=788942
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the user logs out we may detect the session dying before
we detect the X server dying. If that happens, then we
currently don't wait for the X server to exit before starting
a new X server.
This commit makes sure to explicitly kill the X server and wait
for its death before proceeding.
https://bugzilla.gnome.org/show_bug.cgi?id=788786
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Right now we end up writing wtmp entries for the login screen
user into /var/log/wtmp, but with a funky username of "(unknown)".
The login screen session shouldn't get a wtmp entry, and we
shouldn't ever add wtmp entries for sessions we don't know the username
for.
This commit fixes that.
https://bugzilla.gnome.org/show_bug.cgi?id=788784
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Use EXIT_ defines for readibility.
There were some exit codes > 1, but they don't seem to be checked by any of the
parent process code. This does mean that the logs might have changed, but
modern logging techniques have probably made this obsolete.
https://bugzilla.gnome.org/show_bug.cgi?id=788307
|
|
|
|
| |
This reverts commit 6594b1f262ffaa3d120c0b23f92bad2802f17e4a.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=787287
|
|
|
|
|
|
| |
This will either force the initial setup to run or not to run
Fixes #787286
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=788303
|
|
|
|
|
|
|
|
|
| |
Remove goto that no longer does anything.
Consistently use return instead of exit() from main.
Print pre-log errors to stderr to ensure they're visible regardless of GLib
settings.
https://bugzilla.gnome.org/show_bug.cgi?id=788302
|
|
|
|
|
|
|
| |
The root check doesn't require settings and may be the cause of settings
failing to load.
https://bugzilla.gnome.org/show_bug.cgi?id=788301
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=788300
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=788299
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
displays
If the X server is started as part of the session, we don't know the
display up front. So don't try to encode the display in the log in that
case.
https://bugzilla.gnome.org/show_bug.cgi?id=787989
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 2a3d5a7c402534c3611956fed930394a51cb00c5 attempted to fix
the signal prototype of on_client_disconnected to match the marshalled
arguments. Unfortunately, the handler is used for two different
signals:
1) when a user chooses "Disconnect" from the chooser menu
2) when a user closes the Xephyr window (or turns off the thin client
or whatever)
The signals have slightly different prototypes, so commit 2a3d5a7c
fixed 2), but broke 1).
This commit massages the signal connections and handler signature to
work for both cases.
https://bugzilla.gnome.org/show_bug.cgi?id=787987
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Eventually, our software should become "multi-seat aware",
where it takes into account multiple seats at a time
for the user (even if it's just putting up a dialog saying
"user is busy" on all but one seat).
We're not there yet. And user bus currently breaks XDMCP
(which should really spawn session with its own separate user,
but again, we're not there yet).
This commit changes GDM to start a session bus for all non-seat0
displays, as a near-term workaround.
https://bugzilla.gnome.org/show_bug.cgi?id=787943
|
|
|
|
|
|
|
| |
seat0 is the only seat that supports VTs, so don't ever try to
change VTs if not on seat0.
https://bugzilla.gnome.org/show_bug.cgi?id=787943
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Right now we hide wayland sessions from the list if the greeter isn't
wayland. The greeter is never wayland if built with
--disable-user-display-server.
This commit allows wayland sessions for the user session, when
--disable-user-display-server --enable-wayland-support is specified,
even though the greeter won't use wayland itself.
https://bugzilla.gnome.org/show_bug.cgi?id=787899
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's a bug when changing the language of the login screen to a different
one than the user session's language, which causes the new language to be
used both in the login screen AND the user session if you simply logout and
then re-login without rebooting. Restarting the machine after that point
normalizes things, getting the new language used only in the login screen
but not in the user session.
Making sure that the user language is always saved by the session seems
without checking whether is the same than the default language fixes this.
Based on a patch by Felipe Erias Morandeira <femorandeira@igalia.com>
https://bugzilla.gnome.org/show_bug.cgi?id=786422
|
|
|
|
|
|
|
| |
prevent gnome-shell crash when testing Wayland session
if Xwayland isn't installed.
https://bugzilla.gnome.org/show_bug.cgi?787837
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the user has not ever selected a session from the selector, we will
log them into the `fallback' session, which is calculated by looking at
all installed sessions and picking the first one in the list.
There is a bug that the visually selected session presented in the
greeter can be different from the fallback session calculated inside
GDM. This happens because the two sort sessions differently.
Inside GDM we calculate the fallback session by comparing the full
basename of the file:
>>> GLib.strcmp0("gnome-xorg.desktop", "gnome.desktop")
-1
Whereas gnome-shell calls gdm_get_session_ids(), which returns IDs
without the ".desktop" extension. Those are then sorted:
>>> GLib.strcmp0("gnome-xorg", "gnome")
45
which gives a different ordering.
Fix this bug by calculating the fallback session in the same way, by
removing ".desktop" from the filename.
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1705157
https://bugzilla.gnome.org/show_bug.cgi?id=787304
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In theory, we're only only supposed to allow autologin
the first time a session is run, but we only count a
session run, once it's finished. This means that if a
user creates a transient session to user switch, before
they've logged out the first time at boot up, that
transient session will begin autologin as well (which
actually gets treated as an auto unlock).
This commit makes sure autologin is only ever run on
the initial display.
https://bugzilla.gnome.org/show_bug.cgi?id=783779
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After a user logs out, the systemd --user session may still be running
(if, say, the user session was left around in the closing state,
because of pulseaudio).
If that happens, new user sessions will inherit the environment of
previous sessions. Some of these environment variables are already
intentionally pruned, DISPLAY, XAUTHORITY, WAYLAND_SOCKET, etc. One
environment variable that isn't pruned, but should be, is
GNOME_SHELL_SESSION_MODE.
If it lingers, users could end up in classic mode even though they
picked the non-classic mode from the gear menu.
This commit adds GNOME_SHELL_SESSION_MODE to the list of environment
variables to prune.
(minor changes to original patch and commit message from Ray Strode)
https://bugzilla.gnome.org/show_bug.cgi?id=785918
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The display server launcher wrapper scripts try to unset any stale
environment variables imported from systemd.
There is a possibility, some of these stale variables, however, could be
"refreshed" by gdm in the current session. If that's the case, we
shouldn't clear them.
This reworks the unset calls into a loop, and guards each unset call
with a check to make sure it's not in the current environment.
https://bugzilla.gnome.org/show_bug.cgi?id=785918
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=787288
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=787288
|
|
|
|
| |
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|