Discussion:
Xlib: Client is not authorized to connect to Server
(too old to reply)
Christoph Gartmann
2008-02-29 09:55:39 UTC
Permalink
Hello,

what is necessary to get the following working?
Multinet V5.2 plus patches
Two cluster nodes MPI7 und MPI4
Now on MPI4:
set display/create/trans=tcpip/exec
mc decw$clock
The result is:
Xlib: connection to "_WSA9:" refused by server
Xlib: Client is not authorized to connect to Server
X Toolkit Error: Can't Open display
%DWT-F-NOMSG, Message number 03AB8204
In XDM.ACCESS I have a line
*.immunbio.mpg.de
On MPI7 I opened "Style Manager", went to "Security", clicked on "Authorized
Users List" and added the username used on MPI4, TCPIP as transport and the
IP-address of MPI4.

So what I am missing?

Regards,
Christoph Gartmann
--
Max-Planck-Institut fuer Phone : +49-761-5108-464 Fax: -452
Immunbiologie
Postfach 1169 Internet: ***@immunbio dot mpg dot de
D-79011 Freiburg, Germany
http://www.immunbio.mpg.de/home/menue.html
Patrick Mahan
2008-02-29 19:00:11 UTC
Permalink
What does 'show display' give for WSA9? Is this local to
MPI4 or is the X server on MPI7? If you are using transport=tcpip
what is the IP address of the server?

Patrick

Christoph Gartmann presented these words - circa 2/29/08 1:55 AM->
Post by Christoph Gartmann
Hello,
what is necessary to get the following working?
Multinet V5.2 plus patches
Two cluster nodes MPI7 und MPI4
set display/create/trans=tcpip/exec
mc decw$clock
Xlib: connection to "_WSA9:" refused by server
Xlib: Client is not authorized to connect to Server
X Toolkit Error: Can't Open display
%DWT-F-NOMSG, Message number 03AB8204
In XDM.ACCESS I have a line
*.immunbio.mpg.de
On MPI7 I opened "Style Manager", went to "Security", clicked on "Authorized
Users List" and added the username used on MPI4, TCPIP as transport and the
IP-address of MPI4.
So what I am missing?
Regards,
Christoph Gartmann
Christoph Gartmann
2008-02-29 20:40:49 UTC
Permalink
Post by Patrick Mahan
What does 'show display' give for WSA9? Is this local to
MPI4 or is the X server on MPI7?
$ sho display

Device: WSA11: [exec]
Node: MPI7
Transport: TCPIP
Server: 0
Screen: 0
Post by Patrick Mahan
If you are using transport=tcpip what is the IP address of the server?
MPI4 is 192.129.30.4 and MPI7 is 192.129.30.7

Regards,
Christoph Gartmann
--
Max-Planck-Institut fuer Phone : +49-761-5108-464 Fax: -452
Immunbiologie
Postfach 1169 Internet: ***@immunbio dot mpg dot de
D-79011 Freiburg, Germany
http://www.immunbio.mpg.de/home/menue.html
Patrick Mahan
2008-03-01 01:10:32 UTC
Permalink
Then you need to allow access from MPI4 on MPI7. The equivalent of
'xhost +'. (I use to know the exact command, but I haven't played
with VMS DECwindows in almost 10 years). That is if MPI7 is a
workstation...

I'm not sure I understand the usage of XDM.ACCESS file. The XDM server
only manages X Displays outside of the workstation (e.g. X terminals,
etc). It doesn't affect the local X server login that is started
by the DECwindows startup command files.

Patrick

Christoph Gartmann presented these words - circa 2/29/08 12:40 PM->
Post by Christoph Gartmann
Post by Patrick Mahan
What does 'show display' give for WSA9? Is this local to
MPI4 or is the X server on MPI7?
$ sho display
Device: WSA11: [exec]
Node: MPI7
Transport: TCPIP
Server: 0
Screen: 0
Post by Patrick Mahan
If you are using transport=tcpip what is the IP address of the server?
MPI4 is 192.129.30.4 and MPI7 is 192.129.30.7
Regards,
Christoph Gartmann
Bob Koehler
2008-03-03 12:57:11 UTC
Permalink
Post by Christoph Gartmann
Post by Patrick Mahan
What does 'show display' give for WSA9? Is this local to
MPI4 or is the X server on MPI7?
$ sho display
Device: WSA11: [exec]
Node: MPI7
Transport: TCPIP
Server: 0
Screen: 0
OK, so somewhere you put in /node=MPI7. You need to allow MPI4 over
TCPIP in your MPI7 security settings. Pre-CDE this was through the
session manager, but I don't recall where it is in CDE.
Jeremy Begg
2008-03-02 03:42:04 UTC
Permalink
Hi Christoph,
Post by Christoph Gartmann
Post by Patrick Mahan
What does 'show display' give for WSA9? Is this local to
MPI4 or is the X server on MPI7?
$ sho display
?
Post by Christoph Gartmann
Device: WSA11: [exec]
Node: MPI7
Transport: TCPIP
Server: 0
Screen: 0
Have a look at the file SYS$MANAGER:DECW$SERVER_0_ERROR.LOG on MPI7. You
should find it contains entries for your failed X11 connection attempts, and
these will show the hostname which MPI7 thinks the X11 client is on. Most
likely it's MPI7's FQDN and you'll need to put *that* into your DECwindows
Motif security settings.

Regards,

Jeremy Begg
Christoph Gartmann
2008-03-03 16:21:04 UTC
Permalink
Post by Jeremy Begg
Post by Christoph Gartmann
Post by Patrick Mahan
What does 'show display' give for WSA9? Is this local to
MPI4 or is the X server on MPI7?
$ sho display
?
Post by Christoph Gartmann
Device: WSA11: [exec]
Node: MPI7
Transport: TCPIP
Server: 0
Screen: 0
Have a look at the file SYS$MANAGER:DECW$SERVER_0_ERROR.LOG on MPI7. You
should find it contains entries for your failed X11 connection attempts, and
these will show the hostname which MPI7 thinks the X11 client is on. Most
likely it's MPI7's FQDN and you'll need to put *that* into your DECwindows
Motif security settings.
Ok, this helped a lot. There I saw that I had to specifiy the full internet
hostname and that the username was simply "?". So on MPI7 via "Style Manager"
-> "Security" I selected "Authorized Users List" and added a User "?" with a
Node of "mpi4.immunbio.mpg.de" and a transport of "TCPIP". A user "*" worked as
well. So things are all right now.

Regards,
Christoph Gartmann
--
Max-Planck-Institut fuer Phone : +49-761-5108-464 Fax: -452
Immunbiologie
Postfach 1169 Internet: ***@immunbio dot mpg dot de
D-79011 Freiburg, Germany
http://www.immunbio.mpg.de/home/menue.html
V***@SendSpamHere.ORG
2008-03-04 19:49:54 UTC
Permalink
Post by Christoph Gartmann
Post by Jeremy Begg
Post by Christoph Gartmann
Post by Patrick Mahan
What does 'show display' give for WSA9? Is this local to
MPI4 or is the X server on MPI7?
$ sho display
?
Post by Christoph Gartmann
Device: WSA11: [exec]
Node: MPI7
Transport: TCPIP
Server: 0
Screen: 0
Have a look at the file SYS$MANAGER:DECW$SERVER_0_ERROR.LOG on MPI7. You
should find it contains entries for your failed X11 connection attempts, and
these will show the hostname which MPI7 thinks the X11 client is on. Most
likely it's MPI7's FQDN and you'll need to put *that* into your DECwindows
Motif security settings.
Ok, this helped a lot. There I saw that I had to specifiy the full internet
hostname and that the username was simply "?". So on MPI7 via "Style Manager"
-> "Security" I selected "Authorized Users List" and added a User "?" with a
Node of "mpi4.immunbio.mpg.de" and a transport of "TCPIP". A user "*" worked as
well. So things are all right now.
TCP/IP does not send a username such as when using DECnet for the transpost.
In these TCP/IP cases, the username is typically specified as an asterisk in
the authorization list.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM

"Well my son, life is like a beanstalk, isn't it?"

http://tmesis.com/drat.html
Bob Koehler
2008-03-03 12:55:16 UTC
Permalink
Post by Christoph Gartmann
Hello,
what is necessary to get the following working?
Multinet V5.2 plus patches
Two cluster nodes MPI7 und MPI4
set display/create/trans=tcpip/exec
mc decw$clock
Without a /node=someone you are telling MPI4 to display on MPI4,
but use TCPIP as the transport. In your session security on MPI4
will need to allow MPI4 over TCPIP.
Loading...