Sometime today, aditya newalkar wrote:
How do I run any X windows application, specifically Netscape on the remote machine to which I am connected by TELNET?
Let the machine where you have netscape installed = S. Let the machine from where you telnet to S = C.
S is a Linux box (in your case, at least). C could be running any OS, not necess. Linux.
You need to run an X server on C (not on S). The X server should be willing to accept connections from other hosts. If C is running X11, you go "xhost +S" (so C will accept connections from S).
You can use X-Win32 for running X on Windows (that way you can work on Windows (C) and telnet to Linux (S) occasionally for "serious" work (like using Netscape :) ) and also have your Linux GUI apps be "displayed on Windows" (technically, they're still running on the Linux machine)).
X-Win32 is guiltware.
(Sorry for multi-level parentheses. Am in hack mode.)
Finally, you tell S where to display graphics. You need to set the DISPLAY env. var. on S (so telnet S) - "export DISPLAY=C:0". Then just run netscape from the command prompt. That's it.
There's some confusion b/w who's the server and who's the client. Just remember, S runs the telnet service for C, and C runs the X service for S. You're sitting in front of C wanting to run netscape which is installed on S.
Thus, you can sit in front of a Windows box (to impress your pointy-haired boss) and still avail of most services from Linux. I used to hide the Linux (actually, FreeBSD) box under the table when my boss was around. :)
Manish J.