On Thursday, June 13, 2002, at 08:00  PM, Shaofeng Yang wrote:

> Hello,
> I want  to connect to another linux machine using x windows from fink.
> I mean I want to display the gui of that linux machine?
> Anybody can help me out?
> Thanks a lot.

assume two machines linux.remotedomain, and macosx.localdomain

[macosx:~] username% ssh -X [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password:

linux%  xcalc &

xcalc should then display on your terminal

by the way, if, for some reason, the ssh X11 forwarding fails, try

linux% DISPLAY = macosx.localdomain:0.0

There's a number of ways, besides ssh to authenticate X11 connections. 
xauth is considerably more secure than xhost.

To initiate xauth

[macosx:~] username% xauth list
This should list something along the lines of
macosx.localdomain MIT-MAGIC-COOKIE-1 33dda2aa76a....

if it doesn't

[macosx:~] username% xauth generate :0

on the remote machine

linux% xauth add <xauth line>

where <xauth line> is the relevant output from the "xauth list" command.

Jeremy Erwin








_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to