You are not logged in.
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
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
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
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
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
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
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
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
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Ahh, but that was indeed what I remember seeing in the wiki.
Cheers,
Offline
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
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