Re: X server via network.

1997-06-10 Thread Sudhakar Chandrasekharan
Philippe Troin wrote:

snip

 See (1)xauth for details.
 You can also use ssh which will do this automagically, and will also encrypt 
 (and optionally compress (good on slow lines)) the connections.
 [ssh is available on the debian-non-US site]

I don't know about the Debian-non-Us site.  But you could go to the
source -

http://www.cs.hut.fi/ssh/

It runs pretty smoothly on my machine.

Sudhakar
-- 
 When all else fails, read the instructions.
Sudhakar Chandrasekharan(415) 937-2354 (O)
International Web Engineer Type of Guy  (415) 940-1896 (H)
http://home.netscape.com/people/thaths/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: X server via network.

1997-06-10 Thread Sebastien Phelep

On 9 Jun 1997, Chris Brown wrote:

 
  The other day I set up a couple of new machines and decided to 
 monitor then from home.  One thng that I thought would be nice was to 
 run the procmeter on the remote machine.  I'v never run any 
 applications on X via a network connection befor so I thought this 
 would be interesting.  After doing an rlogin and setting the DISPLAY 
 environvent variable like so: foo.bar.com:0.0.  I ran the procmeter 
 and it said that it didn't have permission to connect to the X 
 server.  Somewhere there must be a file that I need to grant this 
 permission in but I am not familiar enough with X to know about 
 this one and I'm not even sure where to look.  Can someone point me 
 in the right direction.

You need to tell your local machine that X connections from your remote
ones are allowed. This is done using xhost.
Here's an example:

Your remote machine is remote.foobar.com, your local one local.foobar.com;
On your local machine, type xhost + remote.foobar.com, on the remote
one, type setenv DISPLAY local.foobar.com:0.0 (C Shell) or export
DISPLAY=local.foobar.com:0.0 (Bourne Shell).

You should now be able to get what you wanted.
Warning: anybody can display a program on your own Display once you've
granted permissions with xhost.

[META ON]
Curiously, SUN workstations seem to refuse granting remote Linux
workstations such rights...
Apparently, the two machine's domains must be the same.
[META OFF]


Hope it helps,
Seb.

---
Sébastien Phélep -  Etudiant en deuxième année d'informatique, IUT de Vannes.
[EMAIL PROTECTED] --- [EMAIL PROTECTED] --- [EMAIL PROTECTED]



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: X server via network.

1997-06-10 Thread Rob Browning
Sebastien Phelep [EMAIL PROTECTED] writes:

 Your remote machine is remote.foobar.com, your local one local.foobar.com;
 On your local machine, type xhost + remote.foobar.com, on the remote
 one, type setenv DISPLAY local.foobar.com:0.0 (C Shell) or export
 DISPLAY=local.foobar.com:0.0 (Bourne Shell).
 
 You should now be able to get what you wanted.
 Warning: anybody can display a program on your own Display once you've
 granted permissions with xhost.

You would be safer to use xauth.  Then only you can access the
display.

-- 
Rob


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


X server via network.

1997-06-09 Thread Chris Brown

 The other day I set up a couple of new machines and decided to 
monitor then from home.  One thng that I thought would be nice was to 
run the procmeter on the remote machine.  I'v never run any 
applications on X via a network connection befor so I thought this 
would be interesting.  After doing an rlogin and setting the DISPLAY 
environvent variable like so: foo.bar.com:0.0.  I ran the procmeter 
and it said that it didn't have permission to connect to the X 
server.  Somewhere there must be a file that I need to grant this 
permission in but I am not familiar enough with X to know about 
this one and I'm not even sure where to look.  Can someone point me 
in the right direction.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: X server via network.

1997-06-09 Thread Rob Browning
Chris Brown [EMAIL PROTECTED] writes:

 this one and I'm not even sure where to look.  Can someone point me 
 in the right direction.

Absolutely.  Check out man xauth, and go from there.

(You can also use xhost, but xauth should be preferred).

-- 
Rob


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: X server via network.

1997-06-09 Thread Paul McDermott
Hi Chris, you could /etc/X11/Xserver. and see if this helps.
Paul


On 9 Jun 1997, Chris Brown wrote:

 
  The other day I set up a couple of new machines and decided to 
 monitor then from home.  One thng that I thought would be nice was to 
 run the procmeter on the remote machine.  I'v never run any 
 applications on X via a network connection befor so I thought this 
 would be interesting.  After doing an rlogin and setting the DISPLAY 
 environvent variable like so: foo.bar.com:0.0.  I ran the procmeter 
 and it said that it didn't have permission to connect to the X 
 server.  Somewhere there must be a file that I need to grant this 
 permission in but I am not familiar enough with X to know about 
 this one and I'm not even sure where to look.  Can someone point me 
 in the right direction.
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . Trouble? 
 e-mail to [EMAIL PROTECTED] .
 
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: X server via network.

1997-06-09 Thread Philippe Troin

On 09 Jun 1997 14:43:36 CDT Chris Brown ([EMAIL PROTECTED]) wrote:

  The other day I set up a couple of new machines and decided to 
 monitor then from home.  One thng that I thought would be nice was to 
 run the procmeter on the remote machine.  I'v never run any 
 applications on X via a network connection befor so I thought this 
 would be interesting.  After doing an rlogin and setting the DISPLAY 
 environvent variable like so: foo.bar.com:0.0.  I ran the procmeter 
 and it said that it didn't have permission to connect to the X 
 server.  Somewhere there must be a file that I need to grant this 
 permission in but I am not familiar enough with X to know about 
 this one and I'm not even sure where to look.  Can someone point me 
 in the right direction.

You need to extract the cookie from the machine you rlog from with:
xauth list
Pick the line wich mentions your display (like in foo.bar.com:0, not 
foo/unix:0) and then on the machine you rlog into:
xauth add line

See (1)xauth for details.
You can also use ssh which will do this automagically, and will also encrypt 
(and optionally compress (good on slow lines)) the connections.
[ssh is available on the debian-non-US site]

Phil.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .