Re: Starting programs on local x through telnet

1999-05-17 Thread Martin Bialasinski

 MF == Micha Feigin [EMAIL PROTECTED] writes:

MF Is it possible to start programs needing x to run through the net
MF (telnet, rlogin ...). How do i tell them to use my screen?

Best way is to install ssh (from non-us) and connect to the other
system with it. ssh will automatically do the right things to get the
X display right. and you will get an encripted and compressing
connection as well.

Don't do just xhost +. This is a HUGE scurity hole. Instead use
xauth if you can't use ssh (it has to run onthe other end as well).
If you can't refrain from using xhost, at least use 
xhost [EMAIL PROTECTED], start the programm and da a xhost -

Ciao,
Martin


Starting programs on local x through telnet

1999-05-16 Thread Micha Feigin
Is it possible to start programs needing x to run through the net (telnet,
rlogin ...). How do i tell them to use my screen?
The program tells me its starting (it has a text output) and then doesn't
do anything else (it's suposed to have a graphical interface). The remote
system is a unix (one of the computers is running linux but it doesn't
have all the relevant programs).
Thanx


Re: Starting programs on local x through telnet

1999-05-16 Thread Andrew Chung
 Is it possible to start programs needing x to run through the net (telnet,
 rlogin ...). How do i tell them to use my screen?
 The program tells me its starting (it has a text output) and then doesn't
 do anything else (it's suposed to have a graphical interface). The remote
 system is a unix (one of the computers is running linux but it doesn't
 have all the relevant programs).

Yes. Start X on your computer, telnet/ssh/rlogin to the remote comp, set the
DISPLAY and then start whatever program you want. 

DISPLAY should be set to something like youripaddress:0.0 . You might need
to set permissions for this with xhost

-- 
Andrew Chung[EMAIL PROTECTED]
See http://anderoo.dhs.org/~anderoo/pgp.html for PGP key

It's a sin only if you dwell on the what ifs and the but ifs


Re: Starting programs on local x through telnet

1999-05-16 Thread Carl Mummert
From message [EMAIL PROTECTED]  :
Is it possible to start programs needing x to run through the net (telnet,
rlogin ...). How do i tell them to use my screen?
The program tells me its starting (it has a text output) and then doesn't
do anything else (it's suposed to have a graphical interface). The remote
system is a unix (one of the computers is running linux but it doesn't
have all the relevant programs).
Thanx



To set your sidplay (using sh or bash)

$ export DISPLAY=ip:0.0
  i.e.
   export DISPLAY=152.30.5.1:0.0


Then, from an xterm in the xwindows session you have running,
you need to use xhost or xauth to fix the permissions to allow 
other clients to connect.  

$ xhost +

wll woprk but is insecure.  RTFM about xhost and xauth.


Carl Mummert
--
FForgive my spelling, I'm on a dialup telnet connection...