Bug 45738 - Only one user shows up ad gdm3 login screen, or in the user editor in GNOME 3
Summary: Only one user shows up ad gdm3 login screen, or in the user editor in GNOME 3
Status: RESOLVED FIXED
Alias: None
Product: accountsservice
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: PowerPC Linux (All)
: medium normal
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 04:33 UTC by Alessio Treglia
Modified: 2012-02-07 11:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Alessio Treglia 2012-02-07 04:33:50 UTC
This bug was originally reported here:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635168

Some Debian powerpc users have noticed accountsservice prevents them to see
more than one user (the one with the highest UID) in gdm3 login window and
complain that they have to select "Other" and manually type the username
they want to login as.

This issue is specific to the powerpc architecture and the following patch
seems to be a good fix:

diff -up -ru accountsservice-0.6.15.orig/src/user.c accountsservice-0.6.15/src/user.c
--- accountsservice-0.6.15.orig/src/user.c      2012-02-07 10:09:11.000000000 +0100
+++ accountsservice-0.6.15/src/user.c   2012-02-07 09:04:53.000000000 +0100
@@ -731,7 +731,7 @@ compute_object_path (User *user)
 {
        gchar *object_path;

-        object_path = g_strdup_printf ("/org/freedesktop/Accounts/User%ld",
+        object_path = g_strdup_printf ("/org/freedesktop/Accounts/User%lld",
                                       (gint64) user->uid);

        return object_path;
Comment 1 Ray Strode [halfline] 2012-02-07 11:29:27 UTC
Thanks! I've pushed a similar patch here:

http://cgit.freedesktop.org/accountsservice/commit/?id=1fbc872fba07b4b9c345b86ed6fe1e3934afd537


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.