Re: Can't remote X

1998-11-28 Thread Kent West
On Fri, 27 Nov 1998, Cesare Tagliaferri wrote:

 On Fri, 27 Nov 1998, Kent West wrote:
 
 Now, for the Thanksgiving weekend, I've traveled 150 miles east (from
 Abilene to Ft Worth) to my folks' house, and am using my Debian laptop on
 my Mom's ISP and trying to telnet back to my Abilene Debian box. However,
 I'm getting an error to the effect that the client is not authorized to
 connect to the Xserver. Is this some sort of default setting in Debian
 that I need to turn off somewhere, or is it some sort of barrier in Mom's
 ISP service, or what?
 
 Any clues as to how I can connect?
 
 
 You have to do, on the machine running the server:
 
   xhost client ip
 
 this will authorize the client.
 

I tried this earlier today and it didn't work, but I tried it again just
now and it worked. I guess I just wasn't holding my mouth right* when I
tried earlier.


*For those from other cultures, this means I don't have an explanation 
for the phenomenon so it must be attributable to the nuances of facial
inflexion.

 -- 
Kent West
[EMAIL PROTECTED]
KC5ENO - Amateur Radio: When all else fails.
Linux - Finally! A real OS for the Intel PC!


Can't remote X

1998-11-27 Thread Kent West
Hi All!

I'm a newbie, and have just discovered running X apps on a remote machine
on a local X server. Weigh kule!

On my campus, I can run an X server (XMix I believe) on a Win95/NT box and
then telnet to a linux box and set my DISPLAY variable to the Win95 IP
address and then run apps on that linux box and they show up on the 95
box. This is cool.

Now, for the Thanksgiving weekend, I've traveled 150 miles east (from
Abilene to Ft Worth) to my folks' house, and am using my Debian laptop on
my Mom's ISP and trying to telnet back to my Abilene Debian box. However,
I'm getting an error to the effect that the client is not authorized to
connect to the Xserver. Is this some sort of default setting in Debian
that I need to turn off somewhere, or is it some sort of barrier in Mom's
ISP service, or what?

Any clues as to how I can connect?

PS. I've heard people refer to rlogin and ssh and have kindda gotten the
impression that these are alternative means of telnetting in; maybe this
relates to my problem?

 Thanks!

-- 
Kent West
[EMAIL PROTECTED]
KC5ENO - Amateur Radio: When all else fails.
Linux - Finally! A real OS for the Intel PC!


Re: Can't remote X

1998-11-27 Thread Hamish Moffatt
On Thu, Nov 26, 1998 at 06:52:11PM -0600, Kent West wrote:
 Now, for the Thanksgiving weekend, I've traveled 150 miles east (from
 Abilene to Ft Worth) to my folks' house, and am using my Debian laptop on
 my Mom's ISP and trying to telnet back to my Abilene Debian box. However,
 I'm getting an error to the effect that the client is not authorized to
 connect to the Xserver. Is this some sort of default setting in Debian
 that I need to turn off somewhere, or is it some sort of barrier in Mom's
 ISP service, or what?
 
 Any clues as to how I can connect?
 
 PS. I've heard people refer to rlogin and ssh and have kindda gotten the
 impression that these are alternative means of telnetting in; maybe this
 relates to my problem?

You need to tell your local X server that the remote X client is
authorised to connect. The simplest way is xhost +servername, but
that's pretty insecure. The better way is to use xauth to export
your X magic cookie to a file, and then import it on to the host at
the other end.

ssh can do some trickery and make your X connection go through the
secure connection. This means (a) your session is encrypted, and (b)
no mucking around with xauth because it does it for you.


Hamish
-- 
Hamish Moffatt VK3TYD  [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


Re: Can't remote X

1998-11-27 Thread Cesare Tagliaferri
On Fri, 27 Nov 1998, Kent West wrote:

Now, for the Thanksgiving weekend, I've traveled 150 miles east (from
Abilene to Ft Worth) to my folks' house, and am using my Debian laptop on
my Mom's ISP and trying to telnet back to my Abilene Debian box. However,
I'm getting an error to the effect that the client is not authorized to
connect to the Xserver. Is this some sort of default setting in Debian
that I need to turn off somewhere, or is it some sort of barrier in Mom's
ISP service, or what?

Any clues as to how I can connect?


You have to do, on the machine running the server:

xhost client ip

this will authorize the client.

PS. I've heard people refer to rlogin and ssh and have kindda gotten the
impression that these are alternative means of telnetting in; maybe this
relates to my problem?

If you use ssh the X connection doesn't go directly to your Xserver, but it
passes through a virtual proxy on the client side (so it can be crypted); the
ssh protocol manages all that.

Hope this helps

Cesare Tagliaferri


Re: Can't remote X

1998-11-27 Thread Rainer Clasen
Hi!

Kent West ([EMAIL PROTECTED]):
 Now, for the Thanksgiving weekend, I've traveled 150 miles east (from
 Abilene to Ft Worth) to my folks' house, and am using my Debian laptop on
 my Mom's ISP and trying to telnet back to my Abilene Debian box. However,
 I'm getting an error to the effect that the client is not authorized to
 connect to the Xserver. Is this some sort of default setting in Debian
 that I need to turn off somewhere, or is it some sort of barrier in Mom's
 ISP service, or what?

either do an ssh to your box at home - it will set up everything correctly
(and encrypted!!) or do something like rsh box.at.homexauth add `xauth
list $DISPLAY` . 


Rainer

-- 
KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB  78 1D B5 64 E0 BF 72 EB


pgpHkx687SVH2.pgp
Description: PGP signature