Subject: Re: [X2Go-Dev] Bug#457: Fwd: polkit-gnome-authentication-agent-1 fails to start on specific distros

From: Michael DePaulo <[email-masked]>
Date: Wed, 20 Aug 2014 09:49:20 -0400

On Wed, Aug 20, 2014 at 6:57 AM, Mike Gabriel
<[email-masked]> wrote:
> Hi Michael,
>
>
> On  Sa 22 Mär 2014 16:44:34 CET, Michael DePaulo wrote:
>
>>[...]
>
>
> I assume that this GNOME polkit daemon is from GNOMEv2(?).
>
> Any chance you can provide me with a link to the source code?

`yum provides /usr/libexec/polkit-gnome-authentication-agent-1`
determined that the binary package is
"polkit-gnome-0.96-3.el6.x86_64".
More info is here. the binary package and the source package are both
"polkit-gnome":
http://pkgs.org/centos-6/centos-x86_64/polkit-gnome-0.96-3.el6.x86_64.rpm.html
For some reason the package is not on http://git.centos.org. Maybe it
does not exist in CentOS 7. Either way, the source rpm is here, dated
2010-08-17:
ftp://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/polkit-gnome-0.96-3.el6.src.rpm

> 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.

Whether I login locally or over x2go, running `ps -ef` does not list
any commands prefixed with ck-launch-session.

However, `ck-list-sessions` lists the local session, but not the X2Go session.

Also, note:
$ cat /usr/share/xsessions/gnome.desktop  | grep Exec
Exec=gnome-session
TryExec=gnome-session

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

It appears that the ConsoleKit integration is located in these 3 scripts:
/etc/X11/xinit/xinitrc
/etc/X11/xinit/xinitrc-common
/etc/X11/xinit/Xsession

> Mike
[...]

-Mike#2