From owner-freebsd-hackers Sun Apr 27 14:07:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA28696 for hackers-outgoing; Sun, 27 Apr 1997 14:07:13 -0700 (PDT) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA28691 for ; Sun, 27 Apr 1997 14:07:09 -0700 (PDT) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.8.5/8.8.2) id HAA22458; Mon, 28 Apr 1997 07:06:51 +1000 (EST) Message-ID: <19970428070651.14651@rf900.physics.usyd.edu.au> Date: Mon, 28 Apr 1997 07:06:51 +1000 From: David Dawes To: Peter Korsten Cc: hackers@freebsd.org Subject: Re: xdm in /usr/X11R6/etc/rc.d problem References: <19970427203420.55698@hw.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <19970427203420.55698@hw.nl>; from Peter Korsten on Sun, Apr 27, 1997 at 08:34:20PM +0200 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, Apr 27, 1997 at 08:34:20PM +0200, Peter Korsten wrote: >I installed 2.2.1 and decided to put the stuff from /etc/rc.local >in /usr/local/etc/rc.d and /usr/X11R6/etc/rc.d, respectively. > >For the normal daemons, this works OK, but putting xdm in the X11 >rc directory turned out to be a Bad Idea. What seems to happen, is >that xdm initializes and starts X, but after that, the vty's are >initilized. > >The result is that I have a screen with the xdm login, but that >the keyboard thinks it's listening to a vty. I managed to login as >root and print xdm's pid to console (xconsole) and kill it, but >still no characters would appear. > >About the same thing happened when I installed the splash screen. > >I'm almost positive that this is a known issue, but is there a way >to get around it? Delay the starting of xdm. Here's what I have in my /usr/X11R6/etc/rc.d/xdm file: #!/bin/sh # Make sure root can start xconsole when xdm starts chown root /dev/console if [ -f /usr/X11R6/bin/xdm -a -f /usr/local/etc/xdm/xdm-config ]; then echo -n ' xdm' (sleep 10; /usr/X11R6/bin/xdm -config /usr/local/etc/xdm/xdm-config)& fi That works fine for me. David