Re: PackageKit via ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@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@hostname?

       mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux