On Tue, 30 Dec 2003, Sanjay Darisi wrote:
> Wow!!! it works...Thank you Bryce. Btw, what additional things does the
> -X switch do apart from setting the DISPLAY to localhost:10.0 . 'cos I
> tried ssh without the -X switch for the second time and it works. So,
> does it have some kind of cookie setup somewhere or anything to do with
> .Xauthority file?
Probably your ssh (and sshd) is already configured to do X forwarding.
(That is what I do by default with some remote systems. This reminds me
that I want to try some of those new X compression or other techniques for
speeding up X.)
> And how are the resources utilized? For few programs I get the shell
> prompt back (like mozilla) and for many programs that I executed I
> didn't get the prompt back. So, If I invoke an application called A,
> should this application be on the local machine for the display to come up?
If you want your prompt back then background the command with an ampersand
"&" at the end of the line.
It does not need to be on local machine too. (The local machine is the X
server; the remote machine is running your applications which are called X
clients.)
Jeremy C. Reed
http://bsd.reedmedia.net/