From owner-freebsd-questions Sun Oct 24 9:55:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (Postfix) with ESMTP id 7956914C86 for ; Sun, 24 Oct 1999 09:55:24 -0700 (PDT) (envelope-from marcus@miami.edu) Received: from jaguar.ir.miami.edu ("port 3629"@jaguar.ir.miami.edu [129.171.32.10]) by jaguar.ir.miami.edu (PMDF V5.2-32 #40232) with ESMTP id <0FK40083K9O8QR@jaguar.ir.miami.edu> for FreeBSD-Questions@FreeBSD.ORG; Sun, 24 Oct 1999 12:55:20 -0400 (EDT) Date: Sun, 24 Oct 1999 12:55:20 -0400 (EDT) From: "Joe \"Marcus\" Clarke" Subject: Re: My /usr/local/etc/kdm.sh script does not work In-reply-to: <199910231434.QAA01263@mero-13a.merowingia.uni-kl.de> To: Christoph Sold Cc: FreeBSD-Questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here is how I execute kdm at boot time: #!/bin/sh [ -x /usr/local/bin/kdm ] && /usr/local/bin/kdm /usr/X11R6/etc/rc.d12:53 highlands marcus %6> ls -l total 2 -rwxr-xr-x 1 root wheel 80 Jun 16 21:11 Xfstt.sh* -rwxr-xr-x 1 root wheel 59 Feb 28 1999 Xserver.sh* The above is Xserver.sh. It works fine. Joe Clarke On Sat, 23 Oct 1999, Christoph Sold wrote: > Hi Folks, > > I sumbled across a problem I am not able to solve myself: I want to > start kdm automatically at boot time. However, my solution does not > work. Here are the pieces: > > sold@mero-13a[local/etc/rc.d]> ls -alF > drwxr-xr-x 2 root wheel 512 Oct 23 16:27 ./ > drwxr-xr-x 4 root wheel 1024 Oct 14 02:07 ../ > -r-xr-x--x 1 root wheel 81 Aug 30 18:29 kdm.sh* > sold@mero-13a[local/etc/rc.d]> cat kdm.sh > #!/bin/sh > if [ -x /usr/local/bin/kdm ] ; then > #sleep for some time to give getty a chance to grab its ttys > (echo -n " kdm"; sleep 12; kdm 2>&1 > /var/log/kdm.startup)& > fi > exit 0 > sold@mero-13a[local/etc/rc.d]> uname -a > FreeBSD mero-13a.merowingia.uni-kl.de 3.3-STABLE FreeBSD 3.3-STABLE #5: Sun Sep 26 09:41:55 CEST 1999 sold@mero-14a.merowingia.uni-kl.de:/usr/src/sys/compile/CHEASY-STABLE i386 > > When booting, this script does nothing after it has printed " kdm". > When invoked from any root shell, it starts kdm just fine. > > Any ideas most welcome. > -Christoph Sold > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message