You are not logged in.
I am having trouble restarting from Xfce. I get this in .xsession-errors
(xfce4-session:7241): xfce4-session-WARNING **: Failed to shutdown/restart: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Operation not permitted
Also, in lightdm I don't see a restart and shutdown options.
Offline
Also, in lightdm I don't see a restart and shutdown options.
Looks like xfce session was started manually from console. This case you can't restart or shutdown, just logout back into console.
Offline
I've started it by
systemctl enable lightdm.service
that is how it is from the very beginning
systemctl status lightdm.service
lightdm.service - Light Display Manager
Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled)
Active: active (running) since Tue 2013-05-07 10:55:50 CEST; 3h 37min ago
Docs: man:lightdm(1)
Main PID: 184 (lightdm)
CGroup: name=systemd:/system/lightdm.service
Offline
Why would lightdm even request ConsoleKit at all:
lightdm: ** (process:6638): WARNING **: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
pacman -Qs lightdm
local/lightdm 1:1.6.0-1 (lightdm)
A lightweight display manager
local/lightdm-gtk3-greeter 1:1.3.1-1
GTK+ greeter for LightDM
Offline
There was an update to xfce4-session recently that may fix this. Are you running the latest version?
# pacman -Ss xfce4-session
extra/xfce4-session 4.10.1-1 (xfce4) [installed]Offline
pacman -Ss xfce4-session
extra/xfce4-session 4.10.1-1 (xfce4) [installed]
A session manager for XfceThis may be of help
lightdm[274]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
systemd-logind[185]: New session c1 of user lightdm.
systemd-logind[185]: Linked /tmp/.X11-unix/X0 to /run/user/620/X11-display.
polkitd[294]: /usr/share/polkit-1/rules.d/lightdm.rules:3: action=[Action id='org.freedesktop.login1.suspend']
polkitd[294]: /usr/share/polkit-1/rules.d/lightdm.rules:4: subject=[Subject pid=306 user='lightdm' groups=lightdm, seat='seat0' session='c1' local=true active=true]
polkitd[294]: /usr/share/polkit-1/rules.d/lightdm.rules:3: action=[Action id='org.freedesktop.login1.hibernate']
polkitd[294]: /usr/share/polkit-1/rules.d/lightdm.rules:4: subject=[Subject pid=306 user='lightdm' groups=lightdm, seat='seat0' session='c1' local=true active=true]
polkitd[294]: /usr/share/polkit-1/rules.d/lightdm.rules:3: action=[Action id='org.freedesktop.login1.reboot']
polkitd[294]: /usr/share/polkit-1/rules.d/lightdm.rules:4: subject=[Subject pid=306 user='lightdm' groups=lightdm, seat='seat0' session='c1' local=true active=true]
polkitd[294]: /usr/share/polkit-1/rules.d/lightdm.rules:3: action=[Action id='org.freedesktop.login1.power-off']
polkitd[294]: /usr/share/polkit-1/rules.d/lightdm.rules:4: subject=[Subject pid=306 user='lightdm' groups=lightdm, seat='seat0' session='c1' local=true active=true]
lightdm[315]: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=combuster
lightdm[315]: pam_winbind(lightdm:auth): getting password (0x00000012)
lightdm[315]: pam_winbind(lightdm:auth): pam_get_item returned a password
lightdm[315]: pam_winbind(lightdm:auth): user 'combuster' granted access
lightdm[274]: pam_unix(lightdm-greeter:session): session closed for user lightdm
systemd-logind[185]: Removed session c1.
lightdm[191]: ** (process:315): WARNING **: Failed to open login1 session: GDBus.Error:org.freedesktop.DBus.Error.FileNotFound: No such fi
lightdm[191]: ** (process:315): WARNING **: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org
gnome-keyring-daemon[341]: couldn't set environment variable in session: The name org.gnome.SessionManager was not provided by any .servic
gnome-keyring-daemon[341]: couldn't set environment variable in session: The name org.gnome.SessionManager was not provided by any .servic
gnome-keyring-daemon[341]: couldn't set environment variable in session: The name org.gnome.SessionManager was not provided by any .servic
dbus-daemon[187]: dbus[187]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service'
dbus[187]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service'
systemd[1]: Starting Daemon for power management...
dbus-daemon[187]: dbus[187]: [system] Successfully activated service 'org.freedesktop.UPower'
dbus[187]: [system] Successfully activated service 'org.freedesktop.UPower'
systemd[1]: Started Daemon for power management.
And when I try to reboot from xfce session
lightdm[683]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
systemd-logind[185]: New session c2 of user lightdm.
Maybe it's somehow related to pam maybe, since I use winbind to authenticate.
Nevertheless when I've updated to lightdm-devel from AUR, restart succeded from lightdm, but not from Xfce session itself
Last edited by combuster (2013-05-09 08:57:29)
Offline
Try installing:
pacman -S accountsservice
and:
# assuming you're using a 64-bit system
wget http://arm.konnichi.com/extra/os/x86_64 … pkg.tar.xz
pacman -U ./consolekit-0.4.6-4-x86_64.pkg.tar.xz
I my case it helped.
Last edited by quayasil (2013-05-11 13:20:34)
Offline
Accountsservice is already installed. Thnx for the link for consolekit, for now it would have to do but then again we should look at solving the issue with the current state of arch repositories...
Offline
My proposition: change the topic to SOLVED and report a bug
Offline