You are not logged in.

#1 2012-05-09 14:17:21

Pacopag
Member
Registered: 2011-05-29
Posts: 287

[SOLVED] xfce - shudown, restart, suspend all greyed out

Hi.  I'm using xfce and after a recent upgrade the "shutdown", "restart", "suspend" and "hibernate" buttons are greyed out (i.e. when I go Menu > Log out).  I suspect that the problem has to do with the slim login manager because it was included in the upgrade, and my other computer that uses xdm still works fine.  I've looked here
https://bbs.archlinux.org/viewtopic.php?pid=1032520
and here
http://forum.xfce.org/viewtopic.php?pid=21331
and here
https://bbs.archlinux.org/viewtopic.php … 0#p1014130

I'm definitely in the power group, and my .xinitrc looks like this

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

#if [ -d /etc/X11/xinit/xinitrc.d ]; then
#  for f in /etc/X11/xinit/xinitrc.d/*; do
#    [ -x "$f" ] && . "$f"
#  done
#  unset f
#fi

exec ck-launch-session startxfce4

I'm not sure what else to check for.  Any help?  Thanks.

Last edited by Pacopag (2012-05-09 16:00:04)

Offline

#2 2012-05-09 15:11:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: [SOLVED] xfce - shudown, restart, suspend all greyed out

Try this incantation instead of the one you have as your last line:

exec ck-launch-session startxfce4

Also, ensure that dbus is in your DAEMONS array in /etc/rc.conf


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2012-05-09 15:15:09

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] xfce - shudown, restart, suspend all greyed out

I don't see the difference in the last line you gave me.

Yes, dbus is in my DAEMONS array.  I remember reading in the wiki long ago something about having something like

exec ck-launch-session ck-dbus-somethingorother startxfce4

in .xinitrc, but I can't seem to find that wiki page again and don't remember exactly what goes there.

Offline

#4 2012-05-09 15:22:46

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [SOLVED] xfce - shudown, restart, suspend all greyed out

See this topic

Consolekit support is integrated in slim now, so the ck-launch-session in .xinitrc has to be removed.

exec dbus-launch --exit-with-session startxfce4

Offline

#5 2012-05-09 15:26:58

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] xfce - shudown, restart, suspend all greyed out

Aye.  Thank you Terminator. It works now. How does one stay up to date on such things?  Is there a mailing list or a news feed where such announcements are made?

Offline

#6 2012-05-09 15:30:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: [SOLVED] xfce - shudown, restart, suspend all greyed out

Pacopag wrote:

I don't see the difference in the last line you gave me.

Yes, dbus is in my DAEMONS array.  I remember reading in the wiki long ago something about having something like

exec ck-launch-session ck-dbus-somethingorother startxfce4

in .xinitrc, but I can't seem to find that wiki page again and don't remember exactly what goes there.

No more postings for me until I get some more coffee sad
I meant:

exec ck-launch-session dbus-launch startxfce4

I see, however that it is irrelevant anyway.  I was unaware of the changes to Slim


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2012-05-09 15:32:12

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] xfce - shudown, restart, suspend all greyed out

Ahh, but that was indeed what I remember seeing in the wiki.

Cheers,

Offline

#8 2012-05-11 12:22:45

weirdsexy
Member
From: USA
Registered: 2011-09-19
Posts: 16

Re: [SOLVED] xfce - shudown, restart, suspend all greyed out

ewaller wrote:
Pacopag wrote:

I don't see the difference in the last line you gave me.

Yes, dbus is in my DAEMONS array.  I remember reading in the wiki long ago something about having something like

exec ck-launch-session ck-dbus-somethingorother startxfce4

in .xinitrc, but I can't seem to find that wiki page again and don't remember exactly what goes there.

No more postings for me until I get some more coffee sad
I meant:

exec ck-launch-session dbus-launch startxfce4

I see, however that it is irrelevant anyway.  I was unaware of the changes to Slim


Just to note, I'm using XFCE without a log on manager and was having these same issues. I was also starting the DE with "startxfce4" from the terminal. Adding

exec ck-launch-session dbus-launch startxfce4

to my blank ~/.xinitrc and starting XFCE with "startx" from the terminal solved the issues.

Thanks.

Offline

Board footer

Powered by FluxBB