[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
** Changed in: gdm Status: New => Expired -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
I've just installed 16.04LTS and confirmed this problem still exists. And there's no org.freedesktop.SystemToolsBackends.policy in /usr/share/polkit-1/actions. I tried to find related policy, but I couldn't. Is there any workaround to fix this with polkit settings like https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/221363/comments/58 ? Thanks in advance. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Since noone has answered for 4 months, and since some related commits have been made, I'm marking it fix released in LTSP. ** Changed in: ltsp (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Is this still an issue in recent Ubuntu/LTSP versions? ** Changed in: ltsp (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ltsp (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
** Also affects: ltsp (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Derek: The criteria is that you hit this bug on a certain package. ;-) I think most packages should be fixed, even if a small minority should keep using allow_active: it can only be useful when e.g. managing hardware, sound, mounted devices, etc. In these cases, only the current user should be allowed to run the action. But in most cases, it's too much of a restriction, and if you feel the need for the change, it's probably that it should happen. One way to find these packages is to run grep -R "no" /usr/share/polkit-1/actions/ and then check each file and try to guess whether the use of allow_active only is legetimate or not. Then, file a bug uptsream and open a bug watch here. Ben: One reason why GDM devs haven't replied can be that upstream's 3.0 uses GSettings for gdmsetup, and doesn't suffer from the bug. Ubuntu would need to check that. Other maintainers might be more responsive. If you fear that people will make the same mistake in the future, then you can write a simple patch the the Polkit tutorial. Notably, the example config file could have auth_admin instead of "no", or a comment could explain what reasonable defaults are. You can find them at: http://cgit.freedesktop.org/PolicyKit/tree/docs -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
I'm unsure as well, and given the fact that my gdm bug report is still listed as "UNCONFIRMED" after 4+ months, so I'm not too motivated/encouraged at this point to perform the legwork necessary to report this issue everywhere. It also doesn't do a single thing to prevent future developers from making the same mistake. Like Derek, I also wonder if "allow_active" is *ever* appropriate to be used in favor of "allow_any" (at least by default). I did a search-and- replace on all files in that directory at one point, but I'm pretty sure that my changes have been slowly regressing as updated versions of the affected components are installed on my system. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Milan said in #62: Have a look at files in /usr/share/polkit-1/actions/ and try to guess what are the files you need to edit. Then it's probably useful to file bugs so that it's fixed upstream, if applicable. What are the criteria to know what files need to be edited? I saw org.freedesktop.SystemToolsBackends.policy and gdm.policy mentioned above. Are those the only two? Would it be more correct to replace every "allow_active" with "allow_any" in 100% of those files? There are 25 files that say "allow_active" in them. I want to help fix this bug, which means filing a bug report for every package that needs a revised policy file, like gdm and system-tools- backends: root@cst8:/usr/share/polkit-1/actions# dpkg -S gdm.policy gdm: /usr/share/polkit-1/actions/gdm.policy root@cst8:/usr/share/polkit-1/actions# dpkg -S org.freedesktop.SystemToolsBackends.policy system-tools-backends: /usr/share/polkit-1/actions/org.freedesktop.SystemToolsBackends.policy root@cst8:/usr/share/polkit-1/actions# I just don't understand what criteria to use to know which other packages should have a bug filed. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
On 11.04, I was able to get around this problem by setting my NX client to launch gnome-session --session=classic-gnome . -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP To manage notifications about this bug go to: https://bugs.launchpad.net/freenx-server/+bug/221363/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
** Changed in: gdm Status: Unknown => New ** Changed in: gdm Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Update: Submitted a report to the GNOME bug tracker ( https://bugzilla.gnome.org/show_bug.cgi?id=649042 ) and linked this bug to both that report and the gdm project entry here on launchpad. ** Bug watch added: GNOME Bug Tracker #649042 https://bugzilla.gnome.org/show_bug.cgi?id=649042 ** Also affects: gdm via https://bugzilla.gnome.org/show_bug.cgi?id=649042 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Thanks again. I was able to fix gdmsetup by making the suggested changes to gdm.policy. I'd happily submit a bug report if I knew where and what to report. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Ben: Of course, you'll need to make the change for every action that doesn't work. gdmsetup uses a different PolicyKit action. Have a look at files in /usr/share/polkit-1/actions/ and try to guess what are the files you need to edit. Then it's probably useful to file bugs so that it's fixed upstream, if applicable. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Milan: Thanks. That seems to have at least partially fixed things, as update-manager and users-admin are now properly prompting for password and allowing access to locked items. Unfortunately the Unlock button of gdmsetup still doesn't work, but maybe something else is going on there? If I run it from console I get no message when clicking Unlock. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Ben: Edit /usr/share/polkit-1/actions/org.freedesktop.SystemToolsBackends.policy, and replace all with . The fix isn't likely to enter Natty at this point. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
I'm seeing this issue with both Maverick and now Natty with x2goserver- one. jhansonxi's fix doesn't work for me. I'm using system-tools-backends 2.10.1-2ubuntu1, so maybe Milan's fix will flow down soon? What's the best workaround at this point? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
** Changed in: policykit Importance: Unknown => Critical -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
** Changed in: policykit Importance: Critical => Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Instead of directly editing policy files (which may get overwritten on updates), try the attached pkla file (manpage: pklocalauthority). Put this in /etc/polkit-1/localauthority/50-local.d with root ownership. ** Attachment added: "remote.freedesktop.SystemToolsBackends.pkla" https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/221363/+attachment/1776247/+files/remote.freedesktop.SystemToolsBackends.pkla -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
This also affects X2go (package from repo at http://wiki.x2go.org /installing_x2goserver-home_ubuntu) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
I've eventually pushed the fix to the system-tools-backends upstream, it should be available in 2.10.2 for Natty. Somebody should really go over all actions from /usr/share/polkit-1/actions/ and file a new bug task for all actions that don't consider as a valid case without a good reason. ** Changed in: system-tools-backends Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
** Also affects: system-tools-backends Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in ubuntu. https://bugs.launchpad.net/bugs/221363 Title: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
Seeing the problem continuing on 10.10, unlock button for gnome useradmin disabled when logging in through freenx -- Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP https://bugs.launchpad.net/bugs/221363 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 221363] Re: Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP
OK, so according to upstream it's not a bug in PolicyKit, but in the services that specify instead of . Of course, it would be better if ConsoleKit detected remote sessions as active, but there's no reason anyway why the system-tools-backends shouldn't be available to inactive users, so let's do it. If you find other packages where it's also an issue, we should consider them too. ** Changed in: policykit-1 (Ubuntu) Status: Confirmed => Invalid ** Changed in: policykit (Ubuntu) Status: Confirmed => Invalid ** Also affects: system-tools-backends (Ubuntu) Importance: Undecided Status: New ** Changed in: system-tools-backends (Ubuntu) Importance: Undecided => Medium ** Changed in: system-tools-backends (Ubuntu) Status: New => Triaged -- Policy Kit Unlock Buttons Greyed Out when using NX / VNC / LTSP https://bugs.launchpad.net/bugs/221363 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs