Mailinglist Archive: opensuse-bugs (4794 mails)

< Previous Next >
[Bug 1050953] systemsetting5 -> Account Details does not give the option suggested in the title
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 31 Jul 2017 08:11:14 +0000
  • Message-id: <bug-1050953-21960-GpYBsxkhFy@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1050953
http://bugzilla.suse.com/show_bug.cgi?id=1050953#c11

--- Comment #11 from Freek de Kruijf <freek@xxxxxxxxxxxx> ---
(In reply to Fabian Vogt from comment #10)
(In reply to Dominique Leuenberger from comment #9)
ListCachedUsers lists the users

gdbus call --system --dest org.freedesktop.Accounts --object-path
/org/freedesktop/Accounts --method
org.freedesktop.Accounts.ListCachedUsers

It doesn't list *all* users here, which is the issue. It only lists the
users that "CacheUser" has been called for, with no option (apparent to me)
to list all available usernames.

Did the following:
freek@eiktum:~> gdbus call --system --dest org.freedesktop.Accounts
--object-path /org/freedesktop/Accounts --method
org.freedesktop.Accounts.ListCachedUsers
(@ao [],)
freek@eiktum:~>

freek@eiktum:~> qdbus-qt5 --system --literal org.freedesktop.Accounts
/org/freedesktop/Accounts org.freedesktop.Accounts.CacheUser
Error: org.freedesktop.DBus.Error.InvalidArgs
Berichttype ‘()’ komt niet overeen met verwachte type ‘(s)’
freek@eiktum:~>

freek@eiktum:~> qdbus-qt5 --system --literal org.freedesktop.Accounts
/org/freedesktop/Accounts org.freedesktop.Accounts.CacheUser $USER
[ObjectPath: /org/freedesktop/Accounts/User1000]
freek@eiktum:~>

Remark: the above prompts for the root password.

freek@eiktum:~> gdbus call --system --dest org.freedesktop.Accounts
--object-path /org/freedesktop/Accounts --method
org.freedesktop.Accounts.ListCachedUsers
([objectpath '/org/freedesktop/Accounts/User1000'],)
freek@eiktum:~>

So apparently the users need to be entered first before systemsetings5 can do
something with these users

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >