Gnome (unstable)
Upgrade of GDM from version gdm-46.0-1 to gdm-46.2-1
complains:
Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
GDM_IS_REMOTE_DISPLAY (found by "Perplexity")
GDM_IS_REMOTE_DISPLAY is a macro or function defined in the GNOME Display Manager (GDM) codebase. It is used to check if a given display object represents a remote display. In the context of GDM, a remote display refers to a display that is not physically connected to the local machine, but rather accessed over a network or remote connection. This could include displays connected via protocols like VNC, RDP, or X11 forwarding. The GDM_IS_REMOTE_DISPLAY macro is likely used as a type check or assertion to ensure that certain operations or configurations are only applied to remote displays, and not local displays. For example, the code snippet from the GitHub repository shows the macro being used to conditionally set properties on a display object, but only if it is a remote display. The error messages from the Reddit posts suggest that the macro is also used in assertions or sanity checks within the GDM codebase. The error occurs when the assertion fails, indicating that an operation was attempted on a display object that was not a remote display, contrary to the expected condition. In summary, GDM_IS_REMOTE_DISPLAY is a utility macro or function provided by the GDM codebase to differentiate between local and remote displays, allowing for proper handling and configuration of remote display connections within the GNOME desktop environment
.
Looks like a report that no external display is found by whatever (GDM).
Summary
Based on the provided search results, the error “GDM_IS_REMOTE_DISPLAY (display)’ failed” occurs when the GNOME Display Manager (GDM) attempts an operation on a display object that is not a remote display, contrary to its expectation.
Cause of the Error
The GDM_IS_REMOTE_DISPLAY macro or function is used within the GDM codebase to check if a given display object represents a remote display (e.g., accessed over a network or remote connection like VNC, RDP, or X11 forwarding) or a local display. This macro is likely used in assertions or sanity checks to ensure that certain operations or configurations are only applied to remote displays and not local displays. The error message suggests that the assertion ‘GDM_IS_REMOTE_DISPLAY (display)’ failed, indicating that an operation was attempted on a display object that was expected to be a remote display, but it was not.
Potential Scenarios
Some potential scenarios that could trigger this error include:
- Incorrect Display Object Type: The display object being operated on is not actually a remote display, but a local display object was passed to a function or code path that expected a remote display.
- Coding Error: There could be a bug or coding error in the GDM codebase itself, where the GDM_IS_REMOTE_DISPLAY macro or function is being used incorrectly or in an unexpected context.
- Environmental Issue: It’s possible that there could be an environmental issue or configuration problem that causes GDM to misidentify a remote display as a local display, or vice versa.
Without more context or access to the specific code paths and execution environment, it’s difficult to pinpoint the exact cause of the error. However, the search results clearly indicate that the error is related to an incorrect assumption or assertion about the type of display object being handled within the GDM codebase.