Kjetil.Svarstad@delab.sintef.no (Kjetil Svarstad) (06/19/91)
Can anyone tell me how to start xdm on a HP-4xx machine running hpux 7.04? I have set up the configuration files for xdm in /usr/lib/X11/xdm, and I have tried to start it in /etc/inittab as a respawn process at run-level 2 with the -nodaemon switch. This does not work properly, xdm respawns immediately at login and does not start an actual login process (the DisplayManager*terminateServer flag set to either FALSE or TRUE does not change this behaviour). My question is: Should xdm be started in /etc/inittab at all, and how should it be done? Or should it be started as a daemon in /etc/rc, and if such is the case, how? If this is a FAQ, could someone please direct me to an ftp-site where I can get the FAQ-file? Thanks! -- Kjetil Svarstad, SINTEF DELAB | "They're just a bunch N-7034 Trondheim, NORWAY | of 3rd rate aliens" Kjetil.Svarstad@delab.sintef.no | -- from 'Bad Taste'
ianhogg@cs.umn.edu (Ian J. Hogg) (06/19/91)
In article <KJETIL.SVARSTAD.91Jun19112251@mek.delab.sintef.no> Kjetil.Svarstad@delab.sintef.no (Kjetil Svarstad) writes: >Can anyone tell me how to start xdm on a HP-4xx machine running hpux >7.04? I have set up the configuration files for xdm in >/usr/lib/X11/xdm, and I have tried to start it in /etc/inittab as a >respawn process at run-level 2 with the -nodaemon switch. This does >not work properly, xdm respawns immediately at login and does not >start an actual login process (the DisplayManager*terminateServer flag >set to either FALSE or TRUE does not change this behaviour). My >question is: Should xdm be started in /etc/inittab at all, and how >should it be done? Or should it be started as a daemon in /etc/rc, and >if such is the case, how? If my memory serves me correctly, I believe that I started xdm as a once process with the -nodaemon switch. This was done from within inittab. Also, if you have any old starbase programs that depend on the colormap being set to some predefined values you may want to do the following-- I modified xdm to run a script after X has been started but before the login widget is created. I put an xinitcolormap in thayt startup script. Other neat this I've done is run xfade from it. > >If this is a FAQ, could someone please direct me to an ftp-site where >I can get the FAQ-file? Thanks! >-- >Kjetil Svarstad, SINTEF DELAB | "They're just a bunch >N-7034 Trondheim, NORWAY | of 3rd rate aliens" >Kjetil.Svarstad@delab.sintef.no | -- from 'Bad Taste' -- =============================================================================== Ian Hogg ianhogg@cs.umn.edu (612) 225-1401
peter@hpcvlx.cv.hp.com. (Peter Robinson) (06/22/91)
>/ hpcvlx.cv.hp.com:comp.sys.hp / Kjetil.Svarstad@delab.sintef.no (Kjetil Svarstad) / 2:22 am Jun 19, 1991 / > > I have set up the configuration files for xdm in > /usr/lib/X11/xdm, and I have tried to start it in /etc/inittab as a > respawn process at run-level 2 with the -nodaemon switch. This is an acceptable configuration. For some reason the xdm process is aborting before it gets very far. Try running it by hand (as root) with debugging turned on and see if anything is obvious... xdm -debug 1 > Should xdm be started in /etc/inittab at all, and how > should it be done? Or should it be started as a daemon in /etc/rc, and > if such is the case, how? You can do it either way. Using inittab has the advantage that if the xdm master daemon dies for some reason it is automatically restarted and you are not left with a bunch of dead displays. Using /etc/rc is more traditional for starting daemons and is typically easier to understand for many than inittab. There are many examples in /etc/rc to follow. They usually check if the executable is available and if so, print out a message and then run it. Create a little function for xdm and invoke it in localrc(). Peter Robinson HP ITO Corvallis, OR