[CentOS] PackageKit via ssh

John R Pierce pierce at hogranch.com
Wed Jul 13 19:31:48 UTC 2011


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


-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast




More information about the CentOS mailing list