Mythbuntu 9.10 beta unbuntu desktop makes illegal users that cause PolicyKit problems

Bug #456687 reported by AJ1000
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mythbuntu
New
Undecided
Unassigned

Bug Description

Mythbuntu 9.10 beta unbuntu desktop makes illegal users that cause PolicyKit problems when trying to reboot or shutdown the PC.

These are the steps to recreate.

1) Install Mythbuntu 9.10 and do updates
2) Run Mythbuntu Control Center and tick the Ubuntu desktop
3) Install the gnome desktop and logout and select the Gnome session
4) Do the command ck-list-sessions and theer are 3 active sessions there (rather than 1)
5) Try to shut down and it will produce a PolicyKit error (multiple active users error I think)
6) Type in the password and it shuts down successfully.
7) Reboot the machine and try to shutdown again, the error is still there.

My 9.04 system does not do this when I did the first three steps and only produced 1 active session.

Revision history for this message
Mark Lila (mark-lilas) wrote :

This fixed it for me thanks to all in the URL below:
Ubuntu desktop with mythbuntu .. extra session issue
http://www.uluga.ubuntuforums.org/showthread.php?p=8187767

create a new file with:

sudo vim /var/lib/polkit-1/localauthority/50-local.d/shutdown.pkla

paste inside this:

[system shutdown privs]
Identity=unix-group:mythtv
Action=org.freedesktop.consolekit.system.stop-multiple-users
ResultAny=no
ResultInactive=no
ResultActive=yes

then create this too:
sudo vim /var/lib/polkit-1/localauthority/50-local.d/restart.pkla

and paste this:

[system restart privs]
Identity=unix-group:mythtv
Action=org.freedesktop.consolekit.system.restart-multiple-users
ResultAny=no
ResultInactive=no
ResultActive=yes

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.