This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: need GUI connect-to-host client


I'd think a perfectly acceptable solution would be to create individual Windows shortcuts that run the types of clients you're talking about.

For instance, if you put the following in a Windows shortcut, it will use rsh to launch "xclient" on "remotehost" and redirect it back to the XWin server on "localhost" (of course, you'll want to make sure you've started XWin before running this shortcut):

C:\cygwin\bin\rsh.exe remotehost "xclient -display localhost:0"

Also, this assumes you've set up rsh properly (consult "man rsh" on remotehost for guidance).


If you want to eliminate the empty command-prompt window that results from the above shortcut, use run.exe thus:


C:\cygwin\usr\X11R6\bin\run.exe /bin/rsh remotehost "xclient -display localhost:0"

However, in order for this to work, you'll have to add C:\cygwin\bin to your Windows path, otherwise it'll complain that it can't find "cygwin1.dll'. [Alternatively, you can just copy "run.exe" from c:\cygwin\usr\X11R6\bin to c:\cygwin\bin]

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]