Subject: Re: MacX, MI/X and XDM hack
To: Jeff Woolley <Jeff.R.Woolley-1@tc.umn.edu>
From: Bob Nestor <rnestor@metronet.com>
List: port-mac68k
Date: 07/19/1998 06:47:35
Jeff Woolley <Jeff.R.Woolley-1@tc.umn.edu> wrote:

>>> For anyone who would like to run XDM on their NetBSD system and connect 
>>> from a MacOS system using MacX 1.2 or the freeware MI/X, here's a little 
>>> trick/hack that seems to work.  [...] It 
>>> will handle the initial XDM dialog for you, but it will put up a couple 
>>> of annoying "Do you want to kill the X-Server now?" messages.
>>
>>An update to this message:  with the 21 August 1997 MI/X server, you can
>>avoid seeing these annoying dialog boxes.  Under the Preferences section,
>>make sure `Auto Exit when last client dies' and `(But ask first)' are not
>>checked.
>
>I tried this hack and got the login window, but after loging in I never 
>got a xterm. Do I have set something up for xdm to work properly?

As I recall, the mac68k port of NetBSD still ships with "exec" disabled.  
Check to see if it's commented out in /etc/inetd.conf.  If it is 
commented out, remove the "#" from the front of the line.  Then locate 
the inetd process (ps -aux | grep inetd) and send it a "kill -HUP <pid>" 
where <pid> is it's process number. You could also just reboot your 
system after the edit, although a real UNIX Guru would locate the process 
and kill it all in one step using a combination of ps, grep, echo, awk 
and half the strange keys on the keyboard.

-bob