There's two parts to X: the server (the display unit, the machine you're
sitting at) and the client (the programs that connect to the X server to
display their output). Telnet opens a session so you can run programs,
but you're not necessarily running an X Server which can accept display
output.
If it's on another UNIX machine, you just need to run `xhost
+remote.hostname` to add the remote host to the display list. Then, on
the remote host (through your telnet session) you'll need to set the
DISPLAY environment variable approprately. in bash, you can `export
DISPLAY=remote.hostname:0.0`. Then try `xterm `. This should open an
xterm, displaying it on the machine you're sitting at.
The window manager is usually handled locally, unless you're using XDMCP
(at least, this has been true in my experience). So while kfm and even
kpanel might work, kwm (the window manager component, handles window
borders, shading, focus, etc.) will not, unless you can terminate the
local window manager.
You might also look for secure shell (ssh); it automatically forwards X
connections. Much easier, and more secure, than telnet xhost. In this
situation, ssh will even (by default) let you log in as root (no need to
su).
-Matt Stegman
[EMAIL PROTECTED]
On Wed, 8 Dec 1999, Eric Mings wrote:
I have read some information about x window being a server and client
program. I was under the impression the server and client could exist on
seperate computers. Is it possible to access a machine across a network
as root running K desktop and x windows? I clearly do not fully
understand how this works. I have used telnet some but that is pretty
limited for what I want. I would like to be able to colocate one of my
machines (running Mandrake 6.1 and K desktop) at an ISP and need to know
if I can access it for administration across the net with X windows/K
desktop. Could someone please clarify this for me. Thanks.
Regards,
Eric Mings Ph.D.