Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Shutdown and reboot

  1. #11
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,918
    Distro
    Ubuntu Development Release

    Re: Shutdown and reboot

    Hi

    Policy kit maybe ?

    What's the output of

    Code:
    cat /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy
    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  2. #12
    Join Date
    Jun 2006
    Location
    GEORGE ZA
    Beans
    173
    Distro
    Ubuntu Development Release

    Re: Shutdown and reboot

    Here it is:
    Thanks.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE policyconfig PUBLIC
    "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
    "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">

    <!--
    Policy definitions for ConsoleKit
    -->

    <policyconfig>

    <action id="org.freedesktop.consolekit.system.stop">
    <description>Stop the system</description>
    <message>System policy prevents stopping the system</message>
    <defaults>
    <allow_inactive>no</allow_inactive>
    <allow_active>yes</allow_active>
    </defaults>
    </action>

    <action id="org.freedesktop.consolekit.system.stop-multiple-users">
    <description>Stop the system when multiple users are logged in</description>
    <message>System policy prevents stopping the system when other users are logged in</message>
    <defaults>
    <allow_inactive>no</allow_inactive>
    <allow_active>auth_admin_keep</allow_active>
    </defaults>
    </action>

    <action id="org.freedesktop.consolekit.system.restart">
    <description>Restart the system</description>
    <message>System policy prevents restarting the system</message>
    <defaults>
    <allow_inactive>no</allow_inactive>
    <allow_active>yes</allow_active>
    </defaults>
    </action>

    <action id="org.freedesktop.consolekit.system.restart-multiple-users">
    <description>Restart the system when multiple users are logged in</description>
    <message>System policy prevents restarting the system when other users are logged in</message>
    <defaults>
    <allow_inactive>no</allow_inactive>
    <allow_active>auth_admin_keep</allow_active>
    </defaults>
    </action>

    </policyconfig>
    Intel E5200Dual Core CPU, Gigabyte G31 mobo, 4 GB DDR800 mem, Intel graphics, 250 GB Seagate HDD, Liteon 22x DVD Rewriter, 17" HP LCD Ubuntu User # 17508

  3. #13
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,918
    Distro
    Ubuntu Development Release

    Re: Shutdown and reboot

    Hi

    That looks fine. What's the output of

    Code:
    ps aux | grep polkit
    and

    Code:
    grep -i "org.freedesktop.ConsoleKit" /var/log/syslog
    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  4. #14
    Join Date
    Jun 2006
    Location
    GEORGE ZA
    Beans
    173
    Distro
    Ubuntu Development Release

    Re: Shutdown and reboot

    Here it comes, thanks:

    root 908 0.0 0.1 195492 4132 ? Sl 08:17 0:00 /usr/lib/policykit-1/polkitd --no-debug
    chrisjan 1925 0.0 0.2 227972 9020 ? Sl 08:28 0:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
    chrisjan 24524 0.0 0.0 9372 932 pts/1 S+ 20:44 0:00 grep --color=auto polkit

    The second one gives no results..
    Intel E5200Dual Core CPU, Gigabyte G31 mobo, 4 GB DDR800 mem, Intel graphics, 250 GB Seagate HDD, Liteon 22x DVD Rewriter, 17" HP LCD Ubuntu User # 17508

  5. #15
    Join Date
    Feb 2012
    Beans
    1

    Re: Shutdown and reboot

    The same problem occurs for me. In btw, maybe you are using FGLRX l drivers like meand they may be the cause some problems ?

  6. #16
    Join Date
    Nov 2010
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Shutdown and reboot

    Had this problem on 11.10. I'll check 12.04 later today.
    Idea #26902: Give users "global control" over applications' outgoing internet connections
    http://brainstorm.ubuntu.com/idea/26902

  7. #17
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,918
    Distro
    Ubuntu Development Release

    Re: Shutdown and reboot

    Hi

    Quote Originally Posted by chrismine View Post
    Here it comes, thanks:

    root 908 0.0 0.1 195492 4132 ? Sl 08:17 0:00 /usr/lib/policykit-1/polkitd --no-debug
    chrisjan 1925 0.0 0.2 227972 9020 ? Sl 08:28 0:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
    chrisjan 24524 0.0 0.0 9372 932 pts/1 S+ 20:44 0:00 grep --color=auto polkit

    The second one gives no results..
    From my machine, after deleting syslog and then a reboot...

    Code:
    matthew@matthew-Aspire-7540:~$ grep -i "org.freedesktop.ConsoleKit" /var/log/syslog
    Feb 21 21:46:09 matthew-Aspire-7540 dbus[1031]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
    Feb 21 21:46:09 matthew-Aspire-7540 dbus[1031]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
    matthew@matthew-Aspire-7540:~$
    You are not seeing this ?

    @nrundy

    Had this problem on 11.10. I'll check 12.04 later today.
    Check this on both machines and report back whether you can shudown/reboot on either or both installations please.

    Kind regards
    Last edited by matt_symes; February 21st, 2012 at 10:51 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  8. #18
    Join Date
    May 2010
    Beans
    35

    Re: Shutdown and reboot

    Ive been having this problem too. I made a post before I found this one, here is the link. http://ubuntuforums.org/showthread.p...4#post11786714

    Code:
    ps aux | grep polkit
    root      1160  0.0  0.0 195188  3700 ?        Sl   14:13   0:00 /usr/lib/policykit-1/polkitd --no-debug
    xbmc      1567  0.0  0.0   9396   872 pts/0    S+   14:18   0:00 grep polkit
    Code:
    grep -i "org.freedesktop.ConsoleKit" /var/log/syslog
    Mar 23 14:13:58 blaster dbus[829]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
    Mar 23 14:13:58 blaster dbus[829]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
    Code:
    dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
    Reboots the system when run as sudo.


    As noted in my other post everything is fine after I restart X. Perhaps try killing X/gdm/lightdm/etc and seeing if that helps...
    Last edited by teeedubb; March 23rd, 2012 at 04:25 AM.

  9. #19
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,918
    Distro
    Ubuntu Development Release

    Re: Shutdown and reboot

    Hi

    @teeedubb

    Have you considered stracing gtk-logout-helper ?

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •