You are not logged in.
Hi,
I use xfce4 with slim manager.
After some of last update (I do not know what update, but may be it was caused by the yesterday update) something has broken and I can not poweroff, reboot or suspend to ram as a normal user.
Yesterday, I updated
btrfs-progs, chromium, libcups, libsystemd, cups, dnsutils, iana-etc, filesystem, systemd-tools, initscripts, iptables, leptonica, live-media, mpg123, netcfg, python2-numpy, texlive-bin, transmission-cli, transmission-gtk, virtualbox, whois .
The suspend to ram and poweroff are grayed (disabled), reboot is missing completely in menu.
The only action I am able to do is to logout and to lock screen.
I was searching on this forum, but with no success (e.g. to add in /etc/polkit-1/localauthority/50-local.d files org.freedesktop.restart.pkla, org.freedesktop.shutdown.pkla etc., what usually helps, but not in my case).
Do you have any idea how to fix it?
Thanks a lot.
Last edited by ares952 (2012-08-01 14:40:35)
Offline
I tried to manually dongrade systemd-tools and libsystemd, and it started working.
So I upgraded system again (with lib32-dbus-core, lib32-glib2, lib32-gtk2, lib32-readline) and it works again.
However, still I can not see reboot item in menu.
Offline
That is strange. I also have up to date systemd-tools and libsystemd and I still have those menu enabled. I don't use slim though. I just use this inside xinitrc
exec ck-launch-session dbus-launch startxfce4Offline
That is strange. I also have up to date systemd-tools and libsystemd and I still have those menu enabled. I don't use slim though. I just use this inside xinitrc
exec ck-launch-session dbus-launch startxfce4
I tried this too (according to some advice in forum), however, it did not help, and wiki does not recomend this with slim.
I think this is not caused by slim, because when I start startxfce from commandline, the result is the same as with start using slim (even when I start it using
exec ck-launch-session dbus-launch startxfce4)
Offline
Why are you using "exec ck-launch-session dbus-launch startxfce4" in your ~/.xinitrc?
https://wiki.archlinux.org/index.php/Xfce
If you are running an Xfce older than 4.10, you will have to use exec ck-launch-session startxfce4
Are you are running Xfce older than 4.10?
This is the correct, last line from your ~/.xinitrc:
exec startxfce4 --with-ck-launch(unless you're using SLiM)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
I don't use exec ck-launch-session startxfce4 in my .xinitrc, but I tried it (according to some advice here). I know, that wiki does not recommend it.
When I use
exec startxfce4 --with-ck-launchthe items are disabled again and restart item is not still available.
Offline
Why are you using "exec ck-launch-session dbus-launch startxfce4" in your ~/.xinitrc?
Are you are running Xfce older than 4.10?
Yes, It was leftover from xfce 4.8. I don't know that xfce 4.10, should not use that one anymore. Thanks for the information.
Offline
Thank you, I think, the first problem was solved, however, the second, how to add reboot item to menu still is not. Does anybody know how to do it?
Offline
I got it the shutdown/restart buttons to work with slim using the following command in ~/.xinitrc
exec dbus-launch --exit-with-session startxfce4Offline
Unfortunately, it did not help :-(
Offline
You also may need to add the user to the power group.
Offline
somehow i just need exec dbus-launch startxfce4 on my ~/.xinitrc with slim
Offline
Thank you, I think, the first problem was solved, however, the second, how to add reboot item to menu still is not. Does anybody know how to do it?
Try this (again, at the very end of your ~/.xinitrc):
exec dbus-launch startxfce4 --with-ck-launchLast edited by DSpider (2012-08-01 05:59:36)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
still nothing, with this command
exec dbus-launch startxfce4 --with-ck-launchthe available items for suspend to RAM and shutdown become grayed (disabled, but visible)
but there is no influence for item reboot or suspend to disk (still invisible)
Offline
I am ashamed :-D
Sorry, but everything is my mistake, it is enough to enable these items in properties of the applet to make them visible :-D
I do not know how, but those items were disabled in properties.
Sorry, for this, my mistake.
solved :-)
Offline