Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Stefan Schwarzer <sts@castor.ica1.uni-stuttgart.de>
Subject: Re: Remote Graphical Administration - which Command ?
Date: 1999/08/26	[thread overview]
Message-ID: <7q2bhc$ku3$1@infosun2.rus.uni-stuttgart.de> (raw)
In-Reply-To: 37BBCE30.7C73297C@sql.de

Joerg Bruehe <joerg@sql.de> wrote:

I don't really know whether I understand your problem in all detail,  
when you say that 'display access is granted'. 
I suspect in fact that it isn't. 

As a different user, even root, yoiu need 
to provide the magic cookie normally in .Xauthority of the home directory
of the user working on the local display to get access to the server. 
Check the man page for 'xauth' 
or how the scripts 'xon' or 'xrsh' work that should be 
part of the X11 distribution. You could imitate what they do 'by hand'.

If you trust the people on the network not to eavesdrop on you, you 
could also allow all users on the remote machine access with xhost <remote>.
This has always worked for me if I got desperate enough to try.  

At the moment the preferred solution at our site is 'ssh.'
(compiles smoothly on DUNIX, AIX, LINUX, SOLARIS which is what we have) 
Not only can you safely login as root to remote machines (no fiddling 
around with secure tty's, system group etc), but it also does 
tunnelig of the X request for you through its secure channel. No more 
setting DISPLAY varibles or xhost or cookies. Just login  and start the 
X-application, it will display locally. 

Stefan.

> Hello to all readers ! 

> ('DISPLAY' is obvious, it is set correctly; display access is 
> granted; both machines are on the same LAN; 'rlogin' for user 
> works.) 

[..]

> -- 
> Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
>      (speaking only for himself)
> mailto: joerg@sql.de

-- 
Stefan Schwarzer                office:  +49-(0)711-685-7606   fax: x-3658 
Uni Stuttgart, ICA 1            e-mail:          sts@ica1.uni-stuttgart.de
Pfaffenwaldring 27              pgp public key available on request/finger 
70569 Stuttgart, Germany             http://www.ica1.uni-stuttgart.de/~sts



      reply	other threads:[~1999-08-26  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-19  4:00 Remote Graphical Administration - which Command ? Joerg Bruehe
1999-08-26  4:00 ` Stefan Schwarzer [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox