[CentOS] PackageKit via ssh

Wed Jul 13 19:46:21 UTC 2011
m.roth at 5-cent.us <m.roth at 5-cent.us>

John R Pierce wrote:
> On 07/13/11 10:18 AM, 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.
>
> 3 steps...
>
> 1) log into a user account via: ssh -X user at hostname
> 2) drop to root with: su -
> 3) copy the Xauth file from the user account:  cp /home/user/.Xauthority
> /root && chown root:root /root/.Xauthority
>
> NOW you can run remote X apps via the ssh tunnel

Would it work if you tried ssh -A -X user at hostname?

       mark