You are not logged in.
Hi!
Since some time I am unable to act as root in my xfce de. Doesn't matter if it's mounting hdds through thunar or starting an app with root priviliges... it doesn't give me the required permissions...
Error message in journal:
Mär 04 19:56:49 Archer slim[258]: Error executing command as another user: No authentication agent found.Any ideas?
regards
nuc
Last edited by nuc (2014-03-05 15:17:17)
Offline
Offline
Yeah thx, I guess it should be started by xinitrc? My xinitrc command for xfce is as follows:
xfce4|*)
exec startxfce4Now what to add for xfce? There's only examples for kde, gnome, cinnamon, lxde etc... but not for xfce ![]()
Also it's weird that I've never had this problems before (but I confess, I didn't use xfce for several months now).
Last edited by nuc (2014-03-04 20:22:37)
Offline
Ok I have researched that I either need polkit-gnome or lxpolkit. The problem is that polkit-gnome is nolonger being started by default: https://bbs.archlinux.org/viewtopic.php?id=169203
So is it the best way to autostart them in xinitrc or in xfce's autostart mechanism?
UPDATE:
(Now thatI have installed lxpolkit) it seems that xfce automaticly set lxpolkit as an autostart entry.
Now I am finally able to mount drives with thunar. However there appears to be a seperate authorization issue:
gksu thunar
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service filesThe gksu thuanr command works, but takes really long... Also you see there's an error message. What is still missing?
UPDATE 2:
After reading this thread: https://bbs.archlinux.org/viewtopic.php?id=123644 I simply installed gnome-keyring and the warning is gone, I have no idea why this gnome-keyring stuff is needed though.
However it still takes much to long. Also the logout window takes really long to open.
Here's the journal log after doing "gksu thunar" and entering the password:
Mär 04 22:11:37 Archer sudo[1828]: pam_unix(sudo:session): session opened for user root by nuc(uid=0)
Mär 04 22:11:37 Archer sudo[1828]: nuc : TTY=pts/0 ; PWD=/home/nuc ; USER=root ; COMMAND=/usr/bin/journalctl -r
Mär 04 22:11:35 Archer org.gtk.Private.AfcVolumeMonitor[1797]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GI
Mär 04 22:11:35 Archer org.gtk.Private.AfcVolumeMonitor[1797]: ### debug: Name owner ':1.3' vanished
Mär 04 22:11:35 Archer org.gtk.Private.UDisks2VolumeMonitor[1797]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlyin
Mär 04 22:11:35 Archer org.gtk.Private.UDisks2VolumeMonitor[1797]: ### debug: Name owner ':1.3' vanished
Mär 04 22:11:35 Archer org.gtk.Private.MTPVolumeMonitor[1797]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GI
Mär 04 22:11:35 Archer org.gtk.Private.MTPVolumeMonitor[1797]: ### debug: Name owner ':1.3' vanished
Mär 04 22:11:35 Archer org.gtk.vfs.Daemon[1797]: A connection to the bus can't be made
Mär 04 22:11:35 Archer org.gtk.vfs.Daemon[1797]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream return
Mär 04 22:11:34 Archer org.gtk.Private.MTPVolumeMonitor[1797]: ### debug: in handle_list
Mär 04 22:11:34 Archer org.gtk.Private.MTPVolumeMonitor[1797]: ### debug: in handle_supported
Mär 04 22:11:34 Archer org.gtk.Private.AfcVolumeMonitor[1797]: ### debug: in handle_list
Mär 04 22:11:34 Archer org.gtk.Private.AfcVolumeMonitor[1797]: ### debug: in handle_supported
Mär 04 22:11:34 Archer org.gtk.Private.AfcVolumeMonitor[1797]: Volume monitor alive
Mär 04 22:11:34 Archer org.gtk.Private.UDisks2VolumeMonitor[1797]: ### debug: in handle_list
Mär 04 22:11:34 Archer org.gtk.Private.UDisks2VolumeMonitor[1797]: ### debug: in handle_supported
Mär 04 22:11:34 Archer org.freedesktop.thumbnails.Thumbnailer1[1797]: (tumblerd:1803): tumbler-WARNING **: Failed to load plugin "tumbler-od
Mär 04 22:11:34 Archer org.freedesktop.thumbnails.Thumbnailer1[1797]: (tumblerd:1803): tumbler-WARNING **: Failed to load plugin "tumbler-ra
Mär 04 22:11:34 Archer org.freedesktop.thumbnails.Thumbnailer1[1797]: (tumblerd:1803): tumbler-WARNING **: Failed to load plugin "tumbler-ff
Mär 04 22:11:34 Archer slim[262]: (xfce4-session:1375): xfce4-session-WARNING **: ICE connection 0xdbcef0 rejected
Mär 04 22:11:33 Archer su[1784]: pam_unix(su:session): session opened for user root by (uid=1000)
Mär 04 22:11:33 Archer su[1784]: (to root) nuc on pts/2
Mär 04 22:11:04 Archer sudo[1752]: pam_unix(sudo:session): session closed for user rootI guess the slim line is somehow striking:
slim[262]: (xfce4-session:1375): xfce4-session-WARNING **: ICE connection 0xdbcef0 rejectedEDIT:
I have found a recent discussion about a similar behaviour: http://mail.xfce.org/pipermail/xfce/201 … 33202.html
Last edited by nuc (2014-03-04 21:26:59)
Offline
It appears that "slim[262]: (xfce4-session:1375): xfce4-session-WARNING **: ICE connection 0xdbcef0 rejected" can be ignored.
In fact there's actually no error message at all, and in the end it simply appears to be a delay (and a seperate problem to the solved Polkit issue). Nothing more, nothing less. No misbehaviour apart of the delay. Btw this also happens when stating gksu on other DEs. So I suspect this being a graphics driver issue (since the screen gets dimmed when using gksu and xfce4-session-logout) because the radeon driver for my brand new AMD r7 260x is still very buggy overall.
I will soon test it with my old graphics card to get sure!
UPDATE:
Indeed it's a driver related issue. I have tried my old HD 4770 ATI card and everyting works fine!
Last edited by nuc (2014-03-05 15:16:58)
Offline