Re: [newbie] X window remote access?

1999-12-09 Thread Matt Stegman

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.
 



Re: [newbie] X window remote access?

1999-12-09 Thread R_Yeo

On Thu, 09 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. 


It works for me.  You can run either as user or root.  Running K and MKD
6.0 on my notebook, hidden away in my room.  My front end is a Solaris
machine at my workplace.  Just telnet in and run your apps.  I'm not
referring to just console type commands.  You can run apps like
Netscape and kmail (which I'm using now).

A friend of mine, right beside me, is running Exceed and SecureCRT on
his Windows box and accessing his Linux box in the same way.

You may have to play with your DISPLAY env variables.

 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.

Have not run it via an ISP, but you should consider running some form
of ssh, if you do.  I run secure shell even though all computers are on
the same network.

HTH

--
Ronald