How to open an application in a remote x session

Charles Curley charlescurley at charlescurley.com
Thu Nov 9 13:24:46 UTC 2006


On Thu, Nov 09, 2006 at 08:00:48AM -0500, Craig Thomas wrote:
> Dan Track wrote:
> >On 11/9/06, Manuel Arostegui Ramirez <manuel at todo-linux.com> wrote:
> >>El Jueves, 9 de Noviembre de 2006 13:14, Dan Track escribió:
> >Thanks for the reply. Sorry I guess I didn't make myself clear, lets
> >say we have teh following:
> >
> >host1                                 host2
> >
> >I want the user on host2 to ssh to host1, then run say gedit which
> >will opne up on the xdisplay the user has running on host1. Do you
> >know how to do this?
> 
> ssh -Y user at host1

Then, on the remote machine:

gedit &
firefox &

The trailing ampersand puts the process into the background. Because
the two programs have their own displays, they show up as usual and
you get the terminal back.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20061109/9782c434/attachment-0002.bin 


More information about the users mailing list