You are not logged in.
Hello,
after updating my system and creating the new "rc.conf"-Files (/etc/hostname, /etc/vconsole.conf etc.) I don't have shutdown and reboot buttons any more:
$ lxde-logout
** (lxsession-logout:1163): WARNING **: dbus-interface.c:94: DBUS: The name org.freedesktop.Hal was not provided by any .service files
** (lxsession-logout:1163): WARNING **: dbus-interface.c:94: DBUS: The name org.freedesktop.Hal was not provided by any .service filesI think there are seval problems with policykit because USB-sticks produce the error "Not authorized to perform operation"
#!/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 gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec startlxde --with-ck-launchdbus is in deamons-list in rc.conf:
#
# /etc/rc.conf - configuration file for initscripts
#
# Most of rc.conf has been replaced by various other configuration
# files. See archlinux(7) for details.
#
# For more details on rc.conf see rc.conf(5).
#
DAEMONS=(@syslog-ng acpid acpi-cpufreq dbus @networkmanager @alsa @crond @cupsd)I use LXDM as shown in /etc/inittab:
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
# Serial Virtual Console for KVM and others VMs
#s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux
# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/lxdm >& /dev/null
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
# End of file EDIT:
I do have a file /etc/polkit-1/localauthority/50-local.d/org.freedesktop.consolekit.pkla :
Local restart]
Identity=unix-group:power
Action=org.freedesktop.consolekit.system.restart
ResultAny=yes
ResultInactive=no
ResultActive=yes
[Local shutdown]
Identity=unix-group:power
Action=org.freedesktop.consolekit.system.stop
ResultAny=yes
ResultInactive=no
ResultActive=yesLast edited by xaverlalo (2012-11-01 13:18:39)
Offline
You need to upgrade to systemd. LXDM now uses it instead of consolekit.
Offline
- boot with systemd
- remove "--with-ck-launch"
- remove the polkit rules, they are useless and unnecessary
Offline
Same problem here, removing polkit rules does not solve it.
Offline
Lxde have same problem, with fresh installation, not reboot, not poweroof.
Offline
I have problems lately with suspend from the lxde panel (using 'sudo pm-suspend' instead)
I fixed the "not authorized" messages re:automounting usb volumes by adding a file in policykit described here:
http://www.ab9il.net/linux/pcmanfm-usb-mount.html
Last edited by debianuser (2012-11-19 02:21:13)
Offline