[comp.windows.x] Xdm and Xkernels on sun3/50's

henk@cs.vu.nl (Henk Smit) (09/13/90)

     Hello Netlanders,


 How can I force the Xserver, running on a Xkernel sun3/50, to generate a
XDCMP "manage me" request ?


 We are running an Xkernel on a sun3/50, like Seth Robertson suggested
somewhere around May/June.
 Everything is just fine, except for one thing. When this problem is solved,
we are going to run Xkernel on 20 sun3/50's for our students.


 We are using xdm (X11R4, patchlevel 14) to manage our X terminals. We also
want xdm to manage the 3/50's with the Xkernels.
 When the 3/50 boots, the xdm process on our compute server does not notice
this event immediately. It does not start the login-window on the 3/50.
 When you "kill -HUP" the xdm process, with in a few seconds a login window
pops up on the 3/50.

 I suspect the problem is that the Xkernel doesn't understand XDCMP enough to
make a request to the xdm process on a remote host to manage a him.
 I compiled the (static) X server with the (standard) -DXDMCP flag, but this
seems not enough to force the X server to send a "manage me" XDMCP request
at startup.

 I would like to know if somebody encountered the same problem, and (of course)
what they have done about it. I'll summarize, if needed.

     Thanks in advance,


                              Henk.

--
Henk Smit                       Fac. Informatica    VU A'dam
Internet: henk@cs.vu.nl         Boelelaan 1081      k. S410
Phone: +31-20-548-6218          1081 HV  Amsterdam  Holland

keith@EXPO.LCS.MIT.EDU (Keith Packard) (09/13/90)

>  How can I force the Xserver, running on a Xkernel sun3/50, to generate a
> XDCMP "manage me" request ?

The sample server doesn't generate XDMCP stuff unless you tell it to.  This is
because the usual way this server is started is by an xdm process running on
the local machine.

I use my VS2000 as an X terminal with XDMCP because it, like a Sun 3/50, is
pretty much unusable as a real computer anymore.  The server accepts command
line arguments to turn on XDMCP:

	X -query <xdm host name here>

This will cause the X server to continuously request management from that xdm
host.  If you'd like to only do one session at a time, you can add the -once
option as well.  The FM for the server describes these options in detail
(mit/server/Xserver.man).

paolo@delphi.it (Paolo Alvari) (09/24/90)

I installed Xkernel on 3 sun 3/50 and modified it to work on
9 sun  2/50-120. These 12 machines are served by a sun 3/470 machine
which runs xdm (r4) to allow users opening sessions on those
Xterminals. xdm is started in daemon mode passing to it the list of
displays to manage.

I tried to use the "query" option for just the sun3s but this seems
causing initially flashing of login windows on these machines then the
dead of the xdm main process. I repeated the test a few times and the
xdm main process dead every time.

What's the problem?




PS: eventually the work around may consist in making a RPC for
restarting (kill -HUP) xdm (as I did).


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Paolo Alvari                                     paolo@delphi.it
DELPHI S.p.A. I-55049 - Viareggio, Italy - Tel: +39 (584) 395225
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=