From: Steffen Zahn (zahn@informatik.hu-berlin.de)
Date: 10/08/92


From: zahn@informatik.hu-berlin.de (Steffen Zahn)
Subject: Re: XDM problems
Date: Thu, 8 Oct 1992 07:55:56 GMT


Hello,

minyard@bnr.ca (Corey Minyard) writes:

|I have been trying to use XDM on my machine will little success. I found
|that you had to disable all /etc/inittab entries going to local consoles
|or the keyboard would not work. Anyway, whenever I start an xterm, it
|gives and error, that after searching for a while I discovered meant that
|it could not open "/dev/tty".

|XDM works correctly if I start it from a TTY, it will not work correctly
|if started from /etc/inittab or from /etc/rc. What can I do to solve
|the problem?

some weeks ago I ported xdm for x11v1.1, linked -static. It is in a
file xdm.bin.tar.Z on tsx and sunsite.

I didn't test X11v2.0 yet, but with v1.1 a xterm doesn't start
if it doesn't inherit a controlling terminal( although it grabs an own
controlling terminal/pty then, very odd behaviour !).
Test it the following way:
start your version of xdm from /etc/rc, all consoles disabled in /etc/inittab.
Let x11emacs be your primary client. open a shell in emacs and start a xterm from
inside emacs. This way xterm inherits a controlling terminal.
If that xterm appears, you have the same problem as I had with x11v1.1 .
You may try xdm.bin.tar.Z , it includes also a patch against the X11R5 release,
so you may recompile xdm with X11v2.0.

          Steffen

-- 
__________________________________________________________________________
|Steffen Zahn                      | email: zahn@informatik.hu-berlin.de |
|Humboldt-Universitaet zu Berlin   | Tel  : +49 30 2805194 App. 17       |
|Fachbereich Informatik            |                                     |
|Postfach 1297                     |                                     |
|O-1086 Berlin                     |                                     |
__________________________________________________________________________