Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-07-03 10:14:44

kvaso
Member
Registered: 2011-07-03
Posts: 3

restart & shutdown buttons disabled

Hi,
I've been trying to enable restart and shutdown buttons in "Log out dialog" for almost 2 days - I've read many manuals and forum posts, but nothing really helps:
I'm running Gentoo, xfce 4.8

I am in power group, I created files under /etc/polkit-1/localauthority/50-local.d (according to some forum post it should solve my problem...but it didn't)
I am running dbus as daemon, and my ~/.xinitrc file contains

dbus-launch --auto-syntax --exit-with-session
exec ck-launch-session xfce4-session

(probably dbus-launch line is unnecessarily)

could you pls help me?
thanks
kvaso

Offline

#2 2011-07-03 13:14:34

stqn
Member
Registered: 2010-10-11
Posts: 174

Re: restart & shutdown buttons disabled

Here on Arch Linux I have:

- dbus running as a daemon
- _no_ "dbus-launch" in .xinitrc
- "exec ck-launch-session startxfce4"
- and I used to have a "/etc/polkit-1/localauthority/alloweverything.conf" but it's apparently gone (like the contents of my 500GB HD, but I digress.) So no special rule.

Edit: and I'm in the power group too.

Last edited by stqn (2011-07-03 13:16:31)

Offline

#3 2011-07-03 17:53:36

kvaso
Member
Registered: 2011-07-03
Posts: 3

Re: restart & shutdown buttons disabled

thanks, I changed my .xinitrc file, but unfortunately it did not fix my problem  sad
has anyone else got any experience with this?

Offline

#4 2011-07-09 12:57:55

dyfet
Member
From: Cape May
Registered: 2011-05-28
Posts: 13
Website

Re: restart & shutdown buttons disabled

I had seen this problem on xubuntu (11.04), and the suggested fix here did seem to work, though I recently re-installed that machine with debian testing; I did not encounter this issue since and do not have a ~/.xinitrc anymore.


"Information in the computer age is the last genuine free market left on earth except those free markets where indigenous people are still surviving" - Russell Means

Offline

#5 2012-01-13 02:13:23

mathiraj
Member
Registered: 2012-01-13
Posts: 3

Re: restart & shutdown buttons disabled

I too have this problem. The Restart and Shutdown buttons are greyed. I'm using debian testing. if some one knows, please give some tips how to enable these

Offline

#6 2012-01-13 15:04:04

xfcelav
Member
From: /var/www/xfcelav
Registered: 2008-04-10
Posts: 96
Website

Re: restart & shutdown buttons disabled

The problem is Policykit in Debian. Use LightDM big_smile


url: blog.desdelinux.net
twt: @elavdeveloper

Offline

#7 2012-04-25 13:22:04

flangemonkey
Member
Registered: 2012-04-25
Posts: 1

Re: restart & shutdown buttons disabled

FWIW the most common cause for this that I know is not having the sudo package installed, fixed it for me in the past anyway smile

Offline

#8 2012-04-25 13:58:44

lifeinthegrey
Member
From: Seattle
Registered: 2012-01-17
Posts: 52

Re: restart & shutdown buttons disabled

xfcelav wrote:

The problem is Policykit in Debian. Use LightDM big_smile

This does solve all problems. I tried using slim before lightdm and had to reconfigure PolicyKit. Slim doesn't tell the system that a user is active, so you basically need to configure PolicyKit to allow all to do everything ... a major security hole. Installing LightDM does not have this issue, and is still super lightweight.


oh, you want eXtremely Fast Computing? thats Easy ...

Offline

#9 2012-05-25 18:23:47

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: restart & shutdown buttons disabled

I've just installed a minimal Fedora 17 with Xfce 4.10 and I'm having the same problem.
I have Consolekit installed but the restart/shutdown buttons are grayed out.
I'm using startx. Is it possible to not install any DM?

Offline

#10 2012-06-05 13:00:51

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: restart & shutdown buttons disabled

I solved that by installing LXDM.
BTW, to enable the Suspend/Hibernate options on the logout dialogue, one needs to install upower (or remove it if one doesn't want/use those options).

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 549.59 KiB (Peak: 550.22 KiB) ]