summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* local-display-factory: Wait for seats to become graphicalbenzea/wait-seat-graphicalBenjamin Berg2021-02-111-0/+120
| | | | | | | | | | | | It may happen that seats are not graphical initially because the DRM device is not ready yet. In that case, ignore the seat and wait for the CanGraphical property notification in order to add it at that point. However, there seem to be some rare cases where CanGraphical will never turn TRUE. To catch these, launch "udevadm settle", and start assuming that "seat0" is graphical after it returns. Fixes: #662
* local-display-factory: Move session type checking into create_displayBenjamin Berg2021-02-111-35/+20
| | | | | | | | | | | We used to check the session type when enumerating the seats at startup (and on VT switch). However, this misses cases where seats are added dynamically (such as at boot time). Simply move the check into create_display and pass in the failure count so that it can handle the X11 fallback when wayland failed to come up. Related: #662
* Update Slovenian translationMatej Urbančič2021-02-091-21/+88
|
* Update Swedish translationLuna Jernberg2021-02-091-20/+87
|
* Update Turkish translationEmin Tufan Çetin2021-02-071-44/+111
|
* Update German translationPhilipp Kiemle2021-02-061-24/+102
|
* Update Punjabi translationA S Alam2021-01-311-25/+96
|
* Update Brazilian Portuguese translationRafael Fontenelle2021-01-301-22/+96
|
* Update Chinese (China) translationBoyuan Yang2021-01-251-20/+74
|
* Update Persian translationDanial Behzadi2021-01-221-45/+99
|
* Update Hungarian translationBalázs Meskó2021-01-191-22/+92
|
* Update Serbian translationМарко Костић2021-01-151-19/+87
|
* Updated Spanish translationDaniel Mustieles2021-01-141-20/+93
|
* Updated Czech translationMarek Černocký2021-01-141-32/+101
|
* Update Catalan translationJordi Mas2021-01-081-10/+10
|
* Update Catalan translationJordi Mas2021-01-061-10/+10
|
* Update Galician translationFran Dieguez2021-01-041-21/+98
|
* Update Catalan translationJordi Mas2021-01-031-130/+18
|
* Update Catalan translationJordi Mas2020-12-291-31/+32
|
* Update Catalan translationJordi Mas2020-12-281-196/+200
|
* Update Basque translationAsier Sarasua Garmendia2020-12-271-20/+75
|
* Update Friulian translationFabio Tomat2020-12-261-18/+89
|
* Update Catalan translationJordi Mas i Hernandez2020-12-221-20/+89
|
* Update Ukrainian translationYuri Chornoivan2020-12-221-27/+24
|
* Update Romanian translationFlorentina Mușat2020-12-221-22/+88
|
* Update Portuguese translationHugo Carvalho2020-12-221-32/+95
|
* session-worker: Remove stray commaMarco Trevisan (Treviño)2020-12-211-1/+1
|
* Update Ukrainian translationYuri Chornoivan2020-12-211-24/+104
|
* Merge branch 'pam-max-retries' into 'master'Marco Trevisan2020-12-211-4/+50
|\ | | | | | | | | session-worker: Use clearer message errors on max retries and using auth method infos See merge request GNOME/gdm!122
| * session-worker: Mention the authentication method (if known) on error messagesMarco Trevisan (Treviño)2020-12-211-5/+48
| | | | | | | | | | | | | | | | | | | | | | When we use a gdm well known authentication method, we can be a bit more clear when showing the error to the user on what explicitly failed. So add functions to get the friendly error message per authentication method. To make them clearer for translators, I've added some repeated strings as generating them could lead to misleading results in some locales.
| * session-worker: Use a clearer message on max retries errorMarco Trevisan (Treviño)2020-12-211-0/+3
|/ | | | | | Some PAM modules we use by default (such as the fingerprint one) supports this, so in case we receive a max-retries error we should inform the user with some clearer message.
* Merge branch 'wip/fix-autologin-unlock-race' into 'master'Ray Strode2020-12-143-16/+96
|\ | | | | | | | | session-worker: Don't switch back VTs until session is fully exited See merge request GNOME/gdm!123
| * session-worker: Don't switch back VTs until session is fully exitedwip/fix-autologin-unlock-raceRay Strode2020-12-113-16/+96
|/ | | | | | | | | | | | | | | | There's a race condition on shutdown where the session worker is switching VTs back to the initial VT at the same time as the session exit is being processed. This means that manager may try to start a login screen (because of the VT switch) when autologin is enabled when there shouldn't be a login screen. This commit makes sure both the PostSession script, and session-exited signal emission are complete before initiating the VT switch back to the initial VT. https://gitlab.gnome.org/GNOME/gdm/-/issues/660
* Merge branch 'wip/more-gdm-client-fixes' into 'master'Ray Strode2020-11-162-95/+62
|\ | | | | | | | | more gdm client fixes See merge request GNOME/gdm!121
| * meson: Bump glib version requirementRay Strode2020-11-161-1/+1
| | | | | | | | It's been out of date for a while.
| * libgdm: Track reauth user verifier toowip/more-gdm-client-fixesRay Strode2020-11-121-3/+18
| | | | | | | | | | | | | | | | The unlock screen may have user verifier extensions too, so we need to track the reauth user verifier, too. This API is clearly less than optimal, but fixing it is a task for another day.
| * libgdm: use g_set_weak_pointer instead of g_object_add_weak_pointerRay Strode2020-11-121-90/+42
| | | | | | | | This makes the code much tidier.
| * libgdm: Fix typo where user data is grabbed from wrong placeRay Strode2020-11-121-1/+1
|/ | | | | | | | | | Since commit 2615fb4ffe05b2640c15f4a9706796fe3b1376a9 user verifier extensions are stored as user data on the user verifier object. Unfortunately that commit, mixed up where the user verifier object was in place. This commit fixes that.
* Update Catalan translationJordi Mas2020-11-101-16/+16
|
* Merge branch 'fix-post-install' into 'master'Ray Strode2020-11-101-1/+3
|\ | | | | | | | | build: add meson_post_install.py properly See merge request GNOME/gdm!112
| * build: add meson_post_install.py properlyWORLDofPEACE2020-11-101-1/+3
|/
* Merge branch 'master' into 'master'Ray Strode2020-11-031-13/+13
|\ | | | | | | | | | | | | display: Don't try to start gnome-initial setup on users check failure Closes #642 See merge request GNOME/gdm!117
| * display: Use autoptr to handle errors in look for existing usersMarco Trevisan (Treviño)2020-11-031-10/+7
| | | | | | | | It will make things just cleaner
| * display: Exit with failure if loading existing users failsMarco Trevisan (Treviño)2020-11-031-4/+7
|/ | | | | | | | | | | | Given not having users may make GDM to launch initial setup, that allows to create new users (potentially with sudo capabilities), it's better to make look_for_existing_users() to return its status and only if it didn't fail continue the gdm execution. GHSL-2020-202 CVE-2020-16125 Fixes #642
* Merge branch 'wip/libgdm-proxy-leaks' into 'master'Ray Strode2020-11-031-110/+60
|\ | | | | | | | | libgdm proxy leaks See merge request GNOME/gdm!120
| * libgdm: Don't leak user verifier extensions on unlockwip/libgdm-proxy-leaksRay Strode2020-11-031-22/+48
| | | | | | | | | | | | | | | | | | GdmClient fails to free the hash table associated with user verifier extensions when the client is done with the user verifier. This commit ties the user verifier extensions to the user verifier instance associated with it, instead of storing the extensions directly in the client struct.
| * libgdm: Fetch connection synchronouslyRay Strode2020-11-031-85/+9
| | | | | | | | | | | | | | | | | | | | | | There's a race condition in the client connection code at the moment, where a user verifier could be waiting for its connection when the login screen asks for a greeter synchronously. The greeter will then end up with a different connection that the user verifier which breaks expectations. This commit just makes the connection fetching code synchronous for now to side step the problem.
| * libgdm: Fix client leaks from g_async_result_get_source_objectRay Strode2020-11-031-3/+3
|/ | | | | | | | There are are few places in the code where the client object is retrieved via g_async_result_get_source_object. Those calls return a fresh reference that is never unreferenced later. This commit plugs those leaks by using g_autoptr's
* Merge branch 'enable-wayland-runtime' into 'master'Ray Strode2020-11-033-11/+33
|\ | | | | | | | | utils: add enabling Wayland feature into gdm-disable-wayland See merge request GNOME/gdm!115
| * utils: change gdm-disable-wayland to gdm-runtime-configJian-Hong Pan2020-11-033-11/+33
|/ | | | | | | | | | | | | | | | | | | | We can disable Wayland in runtime by invoking gdm-disable-wayland. However, we may also want to enable Wayland in runtime for some reasons. This idea is extended to modify more options/configurations in runtime. This commit renames gdm-disable-wayland to gdm-runtime-config and unlocks the feature to modify more gdm configurations in runtime. The new command format will be: gdm-runtime-config set <group> <key> <value> The configurable items refer to gdm.schemas. "<group>/<key>" combination is the key in gdm.schemas. For example, the original "gdm-disable-wayland" is replaced by "gdm-runtime-config set daemon WaylandEnable false". Link: https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/115#note_944907