Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gdm-manager: Don't assume ownership of seat_id | Alessandro Bono | 2023-05-13 | 1 | -1/+1 |
| | | | | | | | Since commit 89148f111d0ae91b5ba23776a6c57e917e5a13dc the seat id doesn't get duplicated. Don't free the returned string. Fixes: 6184c8a9a113abc963452dd3fdc91d1597385f56 | ||||
* | gdm-session-settings: Plug a leak | Alessandro Bono | 2023-05-09 | 1 | -2/+5 |
| | | | | | | Fallout from f0252728e9ef2a23b0d98a4fe2c697fdc673d254. The variable was used to free the object pointed by settings->user after replacing it. | ||||
* | local-display-factory: Only check current VT for respawn on seat0 | msizanoen | 2023-05-08 | 1 | -1/+1 |
| | | | | | | There's no reason that seat0 having the initial VT on foreground should trigger ensuring display on unrelated seats. Fix this by only checking for the current VT if the newly ended session belongs to seat0. | ||||
* | local-display-factory: Do not ensure login screen when a background user ↵ | msizanoen1 | 2023-05-08 | 1 | -1/+10 |
| | | | | session terminates | ||||
* | local-display-factory: Ensure greeter sessions on non-primary seats are ↵ | msizanoen1 | 2023-05-08 | 1 | -2/+18 |
| | | | | | | | | | respawned on termination Trigger ensuring a greeter session for a non-primary seat when it terminates and only looking for displays with state of GDM_DISPLAY_MANAGED when checking for duplicates in ensure_display_for_seat on non-primary seats. | ||||
* | local-display-factory: Only ensure display for the session's seat on logout ↵ | msizanoen1 | 2023-05-08 | 1 | -5/+3 |
| | | | | | | | | instead of all seats An user logging out from another seat shouldn't affect other users on other seats. Limit ensuring a greeter session to the seat that have just been logged out. | ||||
* | local-display-factory: Search for greeter sessions from logind before ↵ | msizanoen1 | 2023-05-08 | 1 | -7/+7 |
| | | | | | | | | | | | looking up the display from display store On non-primary seats, GDM will look up the display from display store and abort ensuring a display for seat. This causes the seat to have no active session when a user logs out, instead of the login screen. Fix this by searching for greeter sessions from logind before looking up the display from display store. | ||||
* | gdm-session-worker: Do not set PAM_TTY on non-primary seats | msizanoen1 | 2023-05-08 | 1 | -19/+24 |
| | | | | | pam_systemd complains and refuse to create the login session when PAM_TTY or XDG_VTNR is configured on non-primary seats. | ||||
* | daemon: Allow Wayland sessions on non-primary seats | msizanoen1 | 2023-05-08 | 3 | -28/+15 |
| | |||||
* | local-display-factory: Acquire seat name properly | msizanoen1 | 2023-05-08 | 1 | -6/+26 |
| | | | | | | | | | systemd-logind escapes the seat name prior to exposing as a DBus object. As a result, seat names like "seat-name" may be escaped to "seat_x2dname" when exposed as a DBus object. Use DBus to acquire the seat name instead of using the last component of the object path. | ||||
* | gdm-session-worker: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -100/+60 |
| | |||||
* | gdm-session-worker: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -1/+1 |
| | | | | We didn't free the strings inside the array. | ||||
* | gdm-sessoin-worker: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -3/+2 |
| | | | | | | gdm_dbus_worker_manager_call_choice_list_query_sync does not take ownership of choices_as_variant. We must free it. While at it, use g_autoptr. | ||||
* | gdm-session-worker-job: Let GPtrArray deal with its content | Alessandro Bono | 2023-04-28 | 1 | -6/+2 |
| | |||||
* | gdm-session-worker-job: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -27/+14 |
| | |||||
* | gdm-session-settings: Remove unused variable | Alessandro Bono | 2023-04-28 | 1 | -8/+0 |
| | |||||
* | gdm-session-settings: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -4/+1 |
| | |||||
* | gdm-session-record: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -4/+1 |
| | |||||
* | gdm-session-linux-auditor: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -7/+3 |
| | |||||
* | gdm-server: Remove empty branch | Alessandro Bono | 2023-04-28 | 1 | -2/+1 |
| | |||||
* | gdm-session: Plug memory leaks | Alessandro Bono | 2023-04-28 | 1 | -1/+1 |
| | | | | | The function is supposed to return const char *. Every caller is not freeing the returned string. Don't duplicate it. | ||||
* | gdm-manager: Move variables to inner scope | Alessandro Bono | 2023-04-28 | 1 | -3/+3 |
| | |||||
* | gdm-manager: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -3/+2 |
| | | | | session_type was not freed. While at it use g_autofree. | ||||
* | gdm-manager: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -1/+1 |
| | | | | client_session_is is not freed. While at it, use g_autofree. | ||||
* | gdm-server: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -9/+3 |
| | | | | | identifier was not freed. While at it use g_autofree and simplify how the identifier is created. | ||||
* | gdm-local-display: Remove dead code | Alessandro Bono | 2023-04-28 | 1 | -4/+0 |
| | |||||
* | gdm-local-display-factory: Remove unused variable | Alessandro Bono | 2023-04-28 | 1 | -1/+0 |
| | |||||
* | gdm-local-display-factory: Move variables to inner scope | Alessandro Bono | 2023-04-28 | 1 | -3/+4 |
| | |||||
* | gdm-legacy-display: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -13/+6 |
| | |||||
* | gdm-legacy-display: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -7/+3 |
| | | | | | display_name and seat_id were leaked. While at it, use g_autoptr() for launch_environment. | ||||
* | gdm-launch-environment: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -36/+21 |
| | |||||
* | gdm-launch-environment: Remove redudant check | Alessandro Bono | 2023-04-28 | 1 | -2/+0 |
| | | | | | g_return_if_fail (GDM_IS_LAUNCH_ENVIRONMENT (object)) already checks it it is NULL. | ||||
* | gdm-display: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -64/+25 |
| | |||||
* | gdm-display: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -2/+1 |
| | | | | error was not freed in the second if branch. While at it use g_autoptr. | ||||
* | gdm-display-access-file: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -42/+20 |
| | |||||
* | gdm-dbus-util: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -27/+12 |
| | |||||
* | session-worker: fix finalize criticals when user_settings is NULL | Michael Catanzaro | 2023-03-27 | 1 | -1/+1 |
| | | | | | | | This is a really classic case where we try to call g_object_unref() on an object that is expected to be NULL. Don't do that. Fixes #730 | ||||
* | added sighup handler for session-worker-main | gangmo seong | 2023-03-03 | 1 | -0/+8 |
| | |||||
* | session-worker-job: minor cleanups | Ignacio Casal Quinteiro | 2023-01-20 | 1 | -43/+25 |
| | |||||
* | gdm-session: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -7/+40 |
| | |||||
* | gdm-session-worker-job: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+6 |
| | |||||
* | gdm-session-settings: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -1/+3 |
| | |||||
* | gdm-session-auditor: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+12 |
| | |||||
* | gdm-server: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+4 |
| | |||||
* | gdm-manager: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+4 |
| | |||||
* | gdm-launch-environment: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+8 |
| | |||||
* | gdm-display: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+13 |
| | |||||
* | gdm-display-store: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -8/+8 |
| | |||||
* | gdm-display-factory: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+2 |
| | |||||
* | gdm-display-access-file: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -6/+10 |
| |