You are not logged in.
I can't decide which DE. I am a longtime KDE user, but I'd rather not mix GTK & QT apps, and I need gnucash, so I thought I try XFCE (which I really like, but seems too minimalistic to me) and now Gnome. I performed a completely new Arch installation (base + xorg + gnome & additional gnome stuff), and now I am facing a very strange problem: gksu is just not working in some way!
Right after I finished installing, I launched Gnome, everything came up as expected, but when I went trough the menus, I found System -> Administration -> gdmsetup (may show up different, this is my translation from German) not working . More playing around showed, that gksu is not working as intended:
When I try 'gksu gedit' in a terminal, it gives the following error message, but is opening gedit:
(gedit:5444): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
'ps fax' is showing:
5438 ? Ss 0:00 /bin/su root -c /opt/gnome/lib/libgksu/gksu-run-helper "gedit"
5439 ? S 0:00 \_ /opt/gnome/lib/libgksu/gksu-run-helper gedit
5444 ? S 0:00 \_ gedit
When I try 'gksu nautilus' in a terminal, it gives the same error message, but nautilus is not opening:
$ gksu nautilus
(nautilus:5461): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
Nevertheless 'ps fax' shows nautilus running:
5455 ? Ss 0:00 /bin/su root -c /opt/gnome/lib/libgksu/gksu-run-helper "nautilus"
5456 ? S 0:00 \_ /opt/gnome/lib/libgksu/gksu-run-helper nautilus
5461 ? S 0:00 \_ nautilus
The same happens with 'gksu gdmsetup', except that it gives no error message, but does not start, and shows up in 'ps fax' as follows:
5486 ? Ss 0:00 /bin/su root -c /opt/gnome/lib/libgksu/gksu-run-helper "/opt/gnome/sbin/gdmsetup"
5487 ? S 0:00 \_ /opt/gnome/lib/libgksu/gksu-run-helper /opt/gnome/sbin/gdmsetup
5492 ? S 0:00 \_ /opt/gnome/sbin/gdmsetup
All these tests using 'sudo' instead of 'gksu' lead to the exact same results, except that it does not give any error messages in the terminal (so gedit opens, but nautilus and gdmsetup not).
What am I missing here?
As mentioned, this is a completely fresh installation, means, cleaning out all files in root's and user's home-dir did not change anything, and yes, I have the latest dbus/hal/udev update from today morning installed (although I do not think this has something to do with these).
Offline
Hey,
Saw your question in the IRC.
How ru starting Gnome? Should have something like this in .xinitrc:
exec dbus-launch --exit-with-session /opt/gnome/bin/gnome-session
and you should have the dbus daemon started.
"In theory, there's no difference between theory and practice, but in practice there is."
Offline
I'm also facing same problem with gdmsetup after recent upgrade...
Someone at gentoo forum (here) solved the problem by downgrading dbus version from dbus-1.0.2 to dbus-0.62-r2.
Another suggestion is to use this command (as root):
#dbus-launch /opt/gnome/sbin/gdmsetup
Last edited by metromini (2007-02-11 19:01:38)
Offline
Ok, should work again now. dbus-glib deadlocked in some conditions when using sudo-alike applications. dbus-glib 0.7.2-2 from current fixes this issue.
Offline