Hi Michael,

On  Sa 22 Mär 2014 16:44:34 CET, Michael DePaulo wrote:

5. polkit-gnome-authentication-agent-1 is started as gdm, but it
should be started as the user also.

Test system:
CentOS 6.5 64-bit
x2goserver: 4.0.1.13
x2goserver-xsession: 4.0.1.13 (same behavior when this package is not installed)
nx-libs: 3.5.0.22
GNOME
(This distro uses ConsoleKit, not systemd-logind)

[batmin@mothership-el6 ~]$ pkexec gpk-application
Error executing command as another user: No authentication agent was found.
[batmin@mothership-el6 ~]$ ps -ef | grep agent
gdm        653     1  0 11:06 ?        00:00:00 /usr/bin/spice-vdagent
gdm        671   645  0 11:06 ?        00:00:00
/usr/libexec/polkit-gnome-authentication-agent-1
batmin    1246     1  7 11:08 ?        00:00:01
/usr/lib64/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp
-dpi 96 -D -auth /home/batmin/.Xauthority -geometry 1024x768 -name
X2GO-batmin-52-1395500884_stDGNOME_dp32 :52
root      1532     1  0 Mar21 ?        00:00:01 /usr/sbin/spice-vdagentd
batmin    1710     1  0 11:08 ?        00:00:00 /usr/bin/spice-vdagent
batmin    2032  2015  0 11:08 pts/0    00:00:00 grep agent
[batmin@mothership-el6 ~]$ /usr/libexec/polkit-gnome-authentication-agent-1

(polkit-gnome-authentication-agent-1:2035): polkit-gnome-1-WARNING **:
Unable to determine the session we are in: Remote Exception invoking
org.freedesktop.ConsoleKit.Manager.GetSessionForUnixProcess() on
/org/freedesktop/ConsoleKit/Manager at name
org.freedesktop.ConsoleKit:
org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup
session information for process '2035'
org.freedesktop.ConsoleKit.Manager.GeneralError
Unable%20to%20lookup%20session%20information%20for%20process%20%272035%27
[batmin@mothership-el6 ~]

I assume that this GNOME polkit daemon is from GNOMEv2(?).

Any chance you can provide me with a link to the source code?

Before you do this, please check if the X2Go Session is using x2goserver-xsession and if the session is launched (via xinitrc or so) with prefixed ck-launch-session.

In Debian/Ubuntu, this is handled via /etc/X11/Xsession.d/90consolekit. Something equivalent should exist for RHEL-6 based distros.

Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgpdF37A2qqxf.pgp
Description: Digitale PGP-Signatur

_______________________________________________
x2go-dev mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-dev

Reply via email to