Mythbuntu 9.10 beta unbuntu desktop makes illegal users that cause PolicyKit problems
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.
This fixed it for me thanks to all in the URL below: www.uluga. ubuntuforums. org/showthread. php?p=8187767
Ubuntu desktop with mythbuntu .. extra session issue
http://
create a new file with:
sudo vim /var/lib/ polkit- 1/localauthorit y/50-local. d/shutdown. pkla
paste inside this:
[system shutdown privs] unix-group: mythtv org.freedesktop .consolekit. system. stop-multiple- users
Identity=
Action=
ResultAny=no
ResultInactive=no
ResultActive=yes
then create this too: polkit- 1/localauthorit y/50-local. d/restart. pkla
sudo vim /var/lib/
and paste this:
[system restart privs] unix-group: mythtv org.freedesktop .consolekit. system. restart- multiple- users
Identity=
Action=
ResultAny=no
ResultInactive=no
ResultActive=yes