<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.xfce.org/extern.php?action=feed&amp;tid=7713&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Xfce Forums / Can not use Restart or Shutdown on the start menu.]]></title>
		<link>http://forum.xfce.org/viewtopic.php?id=7713</link>
		<description><![CDATA[The most recent posts in Can not use Restart or Shutdown on the start menu..]]></description>
		<lastBuildDate>Thu, 03 Jan 2013 14:25:59 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Can not use Restart or Shutdown on the start menu.]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=28439#p28439</link>
			<description><![CDATA[<p>Perhaps is this helpful:<br />exec ck-launch-session startx<br />in your ~/.profile or .xinitrc</p><p>I use Debian not FreeBSD, but I think, the files are the same.</p>]]></description>
			<author><![CDATA[dummy@example.com (Clio)]]></author>
			<pubDate>Thu, 03 Jan 2013 14:25:59 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=28439#p28439</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can not use Restart or Shutdown on the start menu.]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=28436#p28436</link>
			<description><![CDATA[<p>?? The first thing I did was make a .pkla file. As stated, that had no effect. The rest of the post was to indicate that as the X11 user I have access to shutdown. I assumed that the ConsoleKit scripts would be invoked by the menu. If that is the case, those scripts work, i.e., I can invoke them directly to shutdown or reboot.</p><p>Those options are however not available on the Start==&gt;Log Out menu</p>]]></description>
			<author><![CDATA[dummy@example.com (dtd)]]></author>
			<pubDate>Thu, 03 Jan 2013 08:20:26 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=28436#p28436</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can not use Restart or Shutdown on the start menu.]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=28426#p28426</link>
			<description><![CDATA[<div class="quotebox"><cite>dtd wrote:</cite><blockquote><div><p>This is essentially the same problem as &quot;Unable to reboot/shutdown from Xfce (Debian Testing) by Pirlouis on 2011-10-11&quot; </p><p>It is the same in that these buttons are greyed out. xfce is 4.10 on FreeBSD 9.1RC3.</p><p>My issue is only with out to activate the menu. I have configured the system as to have full access to the shutdown command as a non privileged user. The scripts ck-system-restart and ck-system-stop in /usr/local/lib/ConsoleKit/scripts work.</p></div></blockquote></div><p>You don&#039;t touch theses scripts, later, if you uninstall sysutils/consolekit, you&#039;ll get lots of warnings. </p><p>To be able to shutdown/reboot, you must create .pkla file in /usr/local/etc/polkit-1/localauthority/50-local.d/ (like below).</p><div class="quotebox"><cite>dtd wrote:</cite><blockquote><div><p>To be able to shutdown or reboot your system, you&#039;ll have to add a .pkla file<br />in /usr/local/etc/polkit-1/localauthority/50-local.d directory. Which looks<br />like this (replace PUTYOURGROUPHERE by your <span class="bbu"><strong>main</strong></span> group):</p><p>[Restart]<br />Identity=unix-group:PUTYOURGROUPHERE<br />Action=org.freedesktop.consolekit.system.restart<br />ResultAny=yes<br />ResultInactive=yes<br />ResultActive=yes</p><p>[Shutdown]<br />Identity=unix-group:PUTYOURGROUPHERE<br />Action=org.freedesktop.consolekit.system.stop<br />ResultAny=yes<br />ResultInactive=yes<br />ResultActive=yes</p><p>For those who have working suspend/resume:</p><p>[Suspend]<br />Identity=unix-group:PUTYOURGROUPHERE<br />Action=org.freedesktop.upower.suspend<br />ResultAny=yes<br />ResultInactive=yes<br />ResultActive=yes</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (olivierd)]]></author>
			<pubDate>Wed, 02 Jan 2013 17:39:03 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=28426#p28426</guid>
		</item>
		<item>
			<title><![CDATA[Can not use Restart or Shutdown on the start menu.]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=28421#p28421</link>
			<description><![CDATA[<p>This is essentially the same problem as &quot;Unable to reboot/shutdown from Xfce (Debian Testing) by Pirlouis on 2011-10-11&quot; </p><p>It is the same in that these buttons are greyed out. xfce is 4.10 on FreeBSD 9.1RC3.</p><p>My issue is only with out to activate the menu. I have configured the system as to have full access to the shutdown command as a non privileged user. The scripts ck-system-restart and ck-system-stop in /usr/local/lib/ConsoleKit/scripts work.</p><p>I do not see this as a FreeBSD issue. My issue is how to make the shutdown/restart buttons invoke the appropriate process. I had done what the install notes say should be added. This has no effect.</p><p>To be able to shutdown or reboot your system, you&#039;ll have to add a .pkla file<br />in /usr/local/etc/polkit-1/localauthority/50-local.d directory. Which looks<br />like this (replace PUTYOURGROUPHERE by your group):</p><p>[Restart]<br />Identity=unix-group:PUTYOURGROUPHERE<br />Action=org.freedesktop.consolekit.system.restart<br />ResultAny=yes<br />ResultInactive=yes<br />ResultActive=yes</p><p>[Shutdown]<br />Identity=unix-group:PUTYOURGROUPHERE<br />Action=org.freedesktop.consolekit.system.stop<br />ResultAny=yes<br />ResultInactive=yes<br />ResultActive=yes</p><p>For those who have working suspend/resume:</p><p>[Suspend]<br />Identity=unix-group:PUTYOURGROUPHERE<br />Action=org.freedesktop.upower.suspend<br />ResultAny=yes<br />ResultInactive=yes<br />ResultActive=yes</p>]]></description>
			<author><![CDATA[dummy@example.com (dtd)]]></author>
			<pubDate>Wed, 02 Jan 2013 05:55:51 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=28421#p28421</guid>
		</item>
	</channel>
</rss>
