[Bug 685596] Re: users-admin edit dialogs don't show up

2010-12-06 Thread Milan Bouchet-Valat
Ah, sorry, I didn't know you weren't using GNOME. The gnome-settings-
daemon part is not essential at all: the idea was only to use the PID of
a process that is known to be running - you can use any program name
here.

The polkitd log contains the explanation to your problem:
** (polkitd:1592): DEBUG:  subject is in session 
/org/freedesktop/ConsoleKit/Session2 (local=1 active=0)
Your session is not considered as active. Are you working over VNC or another 
remote desktop system? This is the usual cause of this issue, there's a bug 
187585 about that.

So the current bug is that users-admin doesn't report correctly when
authentication couldn't be obtained. The rest is a problem elsewhere. It
shouldn't be hard to fix at all, would you try to write a patch? Else
I'll try to do it myself, but I'm not making any promise.

** Changed in: gnome-system-tools (Ubuntu)
   Importance: Medium = Low

** Changed in: gnome-system-tools (Ubuntu)
   Status: Incomplete = Triaged

** Summary changed:

- users-admin edit dialogs don't show up
+ users-admin doesn't report error when PolicyKit authentication fails

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685596

Title:
  users-admin doesn't report error when PolicyKit authentication fails

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 685596] Re: users-admin edit dialogs don't show up

2010-12-05 Thread Eliah Kagan
The current user, who happens to be the only user on that system, *is*
shown in the list, and is selected. The Add, Delete, and Advanced
Settings buttons don't work, and, as I neglected to mention, the
Change... buttons for the user's full name and account type don't work
either. But the Change... button for the user's password does work--it
brings up the Change User Password window, and I am able to change the
user's password. I apologize for having forgotten to mention that, as it
is probably rather important.

I'm attaching two screenshots. Should I still create a second user?

** Attachment added: users-admin on launch
   
https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/685596/+attachment/1756685/+files/users-admin.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685596

Title:
  users-admin edit dialogs don't show up

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 685596] Re: users-admin edit dialogs don't show up

2010-12-05 Thread Eliah Kagan

** Attachment added: users-admin changing a password
   
https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/685596/+attachment/1756686/+files/users-admin-change-password.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685596

Title:
  users-admin edit dialogs don't show up

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 685596] Re: users-admin edit dialogs don't show up

2010-12-05 Thread Milan Bouchet-Valat
So it sounds like a PolicyKit issue. Please run
sudo killall polkitd; sudo /usr/lib/policykit-1/polkitd
start users-admin, and click on a button that doesn't work. Then please attach 
the output here.

What happens if you run
export PID=`pidof gnome-settings-daemon`
pkcheck --action-id org.freedesktop.systemtoolsbackends.set 
--allow-user-interaction --process $PID


Also, do you get an error message if you wait for a few minutes without closing 
users-admin, after clicking on a button?

(No need to create a new user if the current one is shown.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685596

Title:
  users-admin edit dialogs don't show up

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 685596] Re: users-admin edit dialogs don't show up

2010-12-05 Thread Eliah Kagan
I ran users-admin from a console, clicked Add, Delete, and Advanced
Settings and waited five minutes. During that time, no messages were
printed to the command line. I checked that before restarting polkitd
and inspecting its output -- did you want me to check and see if polkitd
produces additional debug messages during that time, too?

I'm attaching the output of polkitd. For reference, the last message
printed before I started users-admin was:

** (polkitd:1592): DEBUG: Added authentication agent for unix-
session:/org/freedesktop/ConsoleKit/Session2 at name :1.14
[/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object
path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8

And the Exiting with code 0 message did not occur during the execution
of users-admin; that was from when I terminated polkitd with Ctrl+C
after quitting users-admin.

As for running pkcheck on the running instance of gnome-settings-daemon
...gnome-settings-daemon is not running (or even installed) on this
system. Would that be the cause of the problem? This is a Lubuntu Natty
system created by installing lubuntu-desktop on top of a command-line
system installed from the Natty Alpha Alternate Install CD, which is
probably why it doesn't have gnome-settings-daemon (it doesn't have most
components of GNOME).

I didn't figure that was the problem, because I use a Lubuntu desktop on
my Maverick amd64 system, and that runs users-admin without any
problems. gnome-settings-daemon is installed on that system (because I
also have ubuntu-desktop installed there), but it is not running.

** Attachment added: output of sudo /usr/lib/policykit-1/polkitd
   
https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/685596/+attachment/1756725/+files/polkitd.out

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685596

Title:
  users-admin edit dialogs don't show up

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 685596] Re: users-admin edit dialogs don't show up

2010-12-05 Thread Eliah Kagan
For clarification: While capturing the output of polkitd, I clicked the
Add button once, quit users-admin, and then quit polkitd (Ctrl+C).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685596

Title:
  users-admin edit dialogs don't show up

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 685596] Re: users-admin edit dialogs don't show up

2010-12-05 Thread Eliah Kagan
So, I installed gnome-settings-daemon and ran it, and the problem
persisted. Furthermore, I have another i386 Natty system that runs a
full Ubuntu desktop. On that other system, users-admin works without
problems, and gnome-settings-daemon is installed and runs all the time.
So I tried killing gnome-settings-daemon on that other system, and
users-admin continued to work without problems.

But installing and running gnome-settings-daemon did enable me to
complete your instructions. I ran:

export PID=`pidof gnome-settings-daemon`
pkcheck --action-id org.freedesktop.systemtoolsbackends.set 
--allow-user-interaction --process $PID

The output was Not authorized.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685596

Title:
  users-admin edit dialogs don't show up

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs