[CentOS] PackageKit via ssh

Wed Jul 13 17:53:27 UTC 2011
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>

Les Mikesell wrote:
> On 7/13/2011 11:55 AM, Nicolas Thierry-Mieg wrote:
>
>> So: sorry if my question wasn't precise enough, what I really wanted to
>> ask was: is there a way tu use a PackageKit GUI remotely via ssh?
>
> Ssh (-Y) in as root or 'su -' before starting it.  Whatever it is doing
> to escalate permissions for the install doesn't seem to mesh well with
> the desktop being remote - or maybe you need to start some agent within
> the session to make it work.
>

thanks Les, 'su -' works!
I had tried with sudo (which fails) but not su.
This is not perfect, because the whole GUI runs as root whereas the 
packageKit model is to have the GUI unprivileged and obtain root 
credentials only when needed, but at least it works.
I disable root access via ssh, so couldn't test your first solution.

Thanks again.