| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
WIP WIP WIP WIP
Solves #350.
|
|\
| |
| |
| |
| | |
Update README, use Markdown.
See merge request GNOME/gdm!21
|
|/
|
|
|
|
|
| |
Remove unnecessary files with obsolete links.
Remove instructions from HACKING, as they contained old versions of
dependencies. It is now only a coding style guide.
|
|\
| |
| |
| |
| |
| |
| | |
session-worker: unblock SIGUSR1 before PAM
Closes #399
See merge request GNOME/gdm!20
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Right now we unblock SIGUSR1 just before starting
the session, but we should really do it before
starting the worker/PAM.
This commit fixes that and removes a useless call
to set SIGUSR1 back to the default disposition,
right before exec (which does the same thing anyway)
Closes: https://gitlab.gnome.org/GNOME/gdm/issues/399
|
|\
| |
| |
| |
| | |
display-factory: avoid removing a display from store while iterating it
See merge request GNOME/gdm!6
|
|/ |
|
|\
| |
| |
| |
| | |
session-worker: set PWD for user session
See merge request GNOME/gdm!4
|
|/
|
|
|
|
|
|
|
|
|
| |
It's possible for the current working directory to be
a symlink. Some programs, and notably, the
get_current_dir_name() libc api use the PWD environment
variable to know the symlink being used (so they don't
use the canonical name that the symlink points to)
This commit makes sure we set PWD in that case, to
allow those programs to show the right path.
|
| |
|
|\
| |
| |
| |
| | |
Simplify configure ac
See merge request GNOME/gdm!16
|
| | |
|
| |
| |
| |
| | |
It's nowhere used in the code, so we can safely remove it.
|
| |
| |
| |
| | |
It's no longer used anywhere, so we can safely remove it.
|
| |
| |
| |
| | |
It's no longer used.
|
|/
|
|
| |
We no longer provide this, so we can safely remove it.
|
|\
| |
| |
| |
| | |
configure.ac: remove libgen.h check.
See merge request GNOME/gdm!15
|
|/
|
|
| |
It's not used anyway.
|
|\
| |
| |
| |
| | |
configure.ac: Remove execinfo.h check.
See merge request GNOME/gdm!14
|
|/
|
|
|
| |
The backtrace() call is no longer being used and as such, neither is
the execinfo header.
|
|\
| |
| |
| |
| | |
configure.ac: update GLib version to 2.44.
See merge request GNOME/gdm!13
|
|/
|
|
|
| |
Note that this just follows from the fact that we're using stuff like
g_autoptr().
|
|\
| |
| |
| |
| | |
Remove mkdtemp() and its wrappers.
See merge request GNOME/gdm!12
|
|/
|
|
| |
GLib has provided a wrapper for this with g_mkdtemp() since 2.30.
|
|\
| |
| |
| |
| | |
configure.ac: remove split-authentication option.
See merge request GNOME/gdm!11
|
|/
|
|
| |
This was no longer used anywhere, so we can safely remove it.
|
|
|
|
|
|
| |
This got dropped accidentally i think because of .gitignore
See merge request GNOME/gdm!5
|
|\
| |
| |
| |
| | |
login screen doesn't come back after log out when performing user switching
See merge request GNOME/gdm!9
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's entirely possible for a session returned by
sd_seat_get_sessions to disappear immediately after the
sd_seat_get_sessions call returns. This is especially
likely at logout time where the session will briefly be
in the "closing" state before getting reaped.
If that happens when we're looking for a greeter session, we
stop looking for a greeter session and bail out all confused.
This commit fixes the confusion by gracefully handling the
session disappearing by just proceeding to the next session
in the list.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit 22c332ba we try to start a login screen if we end up
on an empty VT and there isn't one running.
Unfortunately the check for "is on an empty VT" is a little busted.
It counts the VT has non-empty if there's a display associated with
it, even if that display is in the FINISHED state about to be
reaped.
That means, in some cases, we'll still leave the user on an empty
VT with no login screen.
This commit addresses the problem by explicitly checking for
FINISHED displays, and proceeding even in their presense.
|
|/
|
|
|
|
|
| |
The function asks logind what the currently active session is on the
given seat. It then leaks the response.
This commit plugs the leak.
|
|
|
|
|
|
|
|
| |
get_login_window_session_id() will return TRUE with session_id=NULL when
there's no session. This restults in an assertion failure on
constructing the o.fd.login1.Manager.ActivateSessionOnSeat() arguments:
GLib: g_variant_new_string: assertion 'string != NULL' failed
|
|
|
|
| |
get_login_window_session_id() duplicates the session id.
|
|\
| |
| |
| |
| | |
Migrate from intltool to gettext.
See merge request GNOME/gdm!5
|
|/ |
|
|\
| |
| |
| |
| | |
libgdm: use g_autoptr to manage objects lifecycle
See merge request GNOME/gdm!3
|
|/
|
|
|
| |
Using auto pointers allows to manage things in a cleaner way without having
to manually unref things before returning.
|
|\
| |
| |
| |
| |
| |
| | |
daemon/gdm-session-record.c: open/close the utmp database
Closes #381
See merge request GNOME/gdm!1
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
pututxline() was used without first opening the utxmp database and
without closing it, preventing the logout entry from being fully
committed.
This caused the number of logged-in users to increment after each login,
as logging out did not correctly remove the user login record from utmp.
This commit wraps pututxline() between setutxent() and endutxent(),
making sure that the login/logout operation are fully flushed.
Fixes #381
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Gdm client single connection getter
Closes #386
See merge request GNOME/gdm!2
|
| | |
|
| |
| |
| |
| |
| | |
There's no need to keep the manager connection address around, and
use autofree to clean it up
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of using the hard-to-maintain shared pointer to the dbus connection
to the manager and reset it when the proxies that use it are deleted, just
look which proxy is currently available and try to reuse the connection
from it.
Fixes #386
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Both if we re-use the shared connection in `gdm_client_get_connection` and if
we create a new one in `on_connected`, we steal the pointer here by using
`g_task_propagate_pointer` and thus we don't have to add an additional
reference to this connection when returning, or it won't ever be consumed by
function customers.
|
|/
|
|
|
|
|
|
|
| |
This instance has already been reffed when passed to the task, and since
we're stealing it with `g_task_propagate_pointer` it won't be unreffed.
We could also do this in the `on_reauthentication_channel_opened` callback
but since the new task will ref it anyway, we can just be clean and do it
here.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Now that we have a gdm-disable-wayland binary for disabling
wayland at boot, we should use it.
This commit changes the cirrus udev rule to use gdm-disable-wayland,
rather than running sh and printf.
https://bugzilla.gnome.org/show_bug.cgi?id=796315
|