Permalink
Switch branches/tags
Commits on May 16, 2018
  1. local-display-factory: Create transient display if there is no active…

    jwrdegoede committed May 16, 2018
    … session
    
    Now that we stop the greeter session when it is no longer necessary,
    the following can happen:
    1) Log in as user a.
    2) User-switch to user b.
    3) Log out user b.
    4) The logout takes you back to VT1, but there is no greeter session
    running.
    
    The problem here is that the create_display() call from
    gdm_local_display_factory_sync_seats() does not create a new display
    because there already is a display on the seat for user a.
    
    We can detect being on a VT which does not have an active session,
    by calling sd_seat_get_active() to get the active session, which will
    return an error in this case.
    
    This commit fixes the problem of the user being taken to a black VT1
    in the above scenario by starting a transitient display if the
    create_display() in gdm_local_display_factory_sync_seats() returns
    NULL and sd_seat_get_active() returns -ENODATA.
  2. gdm-manager: Kill the greeter 5 seconds after login / re-auth

    jwrdegoede committed May 16, 2018
    The greeter-session takes quite a large amount of RAM, as such it
    is undesirable to keep the greeter-session running all the time.a
    
    This comit uses the new gdm_display_schedule_kill_greeter method to
    kill the greeter 5 seconds after login / re-auth, the delay is necessary
    to allow for a smooth transition from the login screen to the user
    session.
  3. gdm-manager: Add get_greeter_display_from_session() helper

    jwrdegoede committed May 16, 2018
    Factor out the code to find the greeter display given a session
    into a helper function.
  4. gdm-display: Add gdm_display_schedule_kill_greeter method

    jwrdegoede committed May 16, 2018
    Once a user has logged in, the greeter session is no longer needed until
    the user logs out; or user-switching is used.
    
    The greeter-session takes quite a large amount of RAM, as such it
    is undesirable to keep the greeter-session running all the time.
    
    This commit adds a new gdm_display_schedule_kill_greeter method which can
    be used to schedule stopping the greeter-session, and un-managing the
    greeter display, X seconds after calling it.
    
    Also add a counterpart gdm_display_cancel_schedule_kill_greeter method,
    which can be called to keep te greeter around if the user-session exits
    before the timeout expires.
  5. local-display-factory: Use correct session-type for new transient dis…

    jwrdegoede committed May 16, 2018
    …plays
    
    Use the new gdm_local_display_factory_use_wayland() helper to correctly
    set the session-type properties for displays created through
    gdm_local_display_factory_create_transient_display().
  6. local-display-factory: Add gdm_local_display_factory_use_wayland() he…

    jwrdegoede committed May 16, 2018
    …lper
    
    Factor out the code which decides if Xorg or Wayland should be used into
    a helper function.
Commits on May 7, 2018
  1. launch-environment: Export library and gio paths

    3v1n0 committed May 7, 2018
    If launching gdm from special environments (as jhbuild) these should
    be forwarded to the children greeter and launched apps too.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795886
  2. launch-environment: Set PATH via optional_environment

    3v1n0 committed May 7, 2018
    There's no need to add a different code path for this global env.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795886
Commits on Apr 24, 2018
  1. daemon: Don't call g_option_context_set_ignore_unknown_options

    Yetoo1 authored and halfline committed Apr 23, 2018
    When using unknown command line options with the GDM daemon, the
    program hangs until explicitly getting killed.
    
    This commit addresses that bug by dropping an unnecessary call to
    g_option_context_set_ignore_unknown_options, so GOptionContext will
    now give an error when encountering unknown options.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795494
Commits on Apr 10, 2018
  1. daemon/gdm-manager.c: quit plymouth when xdmcp is the only allowed co…

    yifanjiang authored and halfline committed Apr 10, 2018
    …nnection.
    
    gdm is responsible to kill plymouth by spawning the "plymouth quit"
    subprocesses in gdm-manager.c. The current code pathes of quiting
    plymouth can never be reached when xdmcp is the only connection
    allowed. Consequently in the case of
    
        !show_local_greeter && xdmcp_enabled
    
    the plymouth-quit-wait.service will never quit and the login prompt
    will not popup without manual interference. This issue could be
    more obviously observed when a downstream like openSUSE which
    allows a customized sysconfig to switch the corresponding two
    options on a headless server (s390), where the setup is usually:
    
        DISPLAYMANAGER_REMOTE_ACCESS="yes"
        DISPLAYMANAGER_STARTS_XSERVER="no"
    
    The proposed patch handles this edge case by quit plymouth immediately
    when the condition is detected.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795120
Commits on Mar 26, 2018
  1. Update Chinese (Taiwan) translation

    zerng07 authored and gnomesysadmins committed Mar 26, 2018
    (cherry picked from commit 6b5c369)
Commits on Mar 16, 2018
  1. Update Slovak translation

    prescott66 authored and gnomesysadmins committed Mar 16, 2018
    (cherry picked from commit f2645e8)
Commits on Mar 13, 2018
  1. configure: update to 3.28.0

    halfline committed Mar 13, 2018
  2. NEWS: update for release

    halfline committed Mar 13, 2018
Commits on Mar 12, 2018
  1. Update Russian translation

    stmc authored and gnomesysadmins committed Mar 12, 2018
  2. Update Icelandic translation

    sveinki authored and gnomesysadmins committed Mar 12, 2018
Commits on Mar 7, 2018
  1. Updated Danish translation

    askhl committed Mar 7, 2018
  2. configure: bump to 3.27.92

    halfline committed Mar 7, 2018
  3. NEWS: update for 3.27.92

    halfline committed Mar 7, 2018
  4. Updated Punjabi Translation

    A S Alam
    A S Alam committed Mar 7, 2018
Commits on Mar 6, 2018
  1. Update Greek translation

    Efstathios Iosifidis authored and gnomesysadmins committed Mar 6, 2018
Commits on Mar 3, 2018
  1. Update Romanian translation

    dasj19 authored and gnomesysadmins committed Mar 3, 2018
Commits on Mar 2, 2018
  1. Update French translation

    Charles Monzat authored and gnomesysadmins committed Mar 2, 2018
Commits on Feb 28, 2018
Commits on Feb 27, 2018
  1. Updated Vietnamese translation

    vnwildman committed Feb 27, 2018
    Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
Commits on Feb 26, 2018
  1. libgdm: "Fix" a memory leak

    Florian Müllner
    Florian Müllner committed Feb 26, 2018
    The gdm_available_sessions_map hash table is set up with a value-free
    function that frees the struct itself, but not its contents.
    
    Of course elements are never removed from the map, so this fix doesn't
    matter in practice.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793855
  2. Update Scottish Gaelic translation

    gnomesysadmins committed Feb 26, 2018
    (cherry picked from commit f7ae5b6)
  3. Update Italian translation

    MiloCasagrande authored and gnomesysadmins committed Feb 26, 2018
Commits on Feb 25, 2018
  1. Update Korean translation

    changwoo authored and gnomesysadmins committed Feb 25, 2018
Commits on Feb 24, 2018
  1. Update Latvian translation

    Rūdolfs Mazurs
    Rūdolfs Mazurs committed Feb 24, 2018
  2. Update Kazakh translation

    crayxt authored and gnomesysadmins committed Feb 24, 2018
Commits on Feb 23, 2018
Commits on Feb 22, 2018
  1. Update Serbian Latin translation

    gpopac authored and gnomesysadmins committed Feb 22, 2018