From owner-freebsd-questions Thu Apr 26 8:59:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from yertle.kciLink.com (yertle.kcilink.com [216.194.193.105]) by hub.freebsd.org (Postfix) with ESMTP id EDFFC37B423 for ; Thu, 26 Apr 2001 08:59:49 -0700 (PDT) (envelope-from khera@kcilink.com) Received: from onceler.kciLink.com (onceler.kciLink.com [216.194.193.106]) by yertle.kciLink.com (Postfix) with ESMTP id 3BD2E2E45E for ; Thu, 26 Apr 2001 11:59:49 -0400 (EDT) Received: (from khera@localhost) by onceler.kciLink.com (8.11.3/8.11.3) id f3QFxnG44975; Thu, 26 Apr 2001 11:59:49 -0400 (EDT) (envelope-from khera@kcilink.com) X-Authentication-Warning: onceler.kciLink.com: khera set sender to khera@kcilink.com using -f To: questions@freebsd.org Newsgroups: ml.freebsd.questions Subject: Re: kdm References: <000c01c0cda4$7be4d9a0$9c1576d8@inethouston.net> From: Vivek Khera Date: 26 Apr 2001 11:59:48 -0400 Message-ID: Organization: Khera Communications, Inc., Rockville, MD Lines: 30 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) In-Reply-To: <000c01c0cda4$7be4d9a0$9c1576d8@inethouston.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Posted-To: ml.freebsd.questions Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The following message is a courtesy copy of an article that has been posted to ml.freebsd.questions as well. >>>>> "MJT" == Michael J Turner writes: MJT> hi does anyone know how to get kdm to start up when fbsd boots? MJT> I have tried to put it in rc.local but that didnt really work out. Here's how I have to do it. If there is no delay, the console locks up hard. if [ ! -d /var/run/authdir ]; then mkdir -p /var/run/authdir fi # sleep before firing up kdm since there are issues with # getty and X playing with the keyboard at the same time. # if we delay, it allows them to not step on each other. echo -n ' xdm'; (sleep 5; ${xdm_program} ${xdm_flags})& and I set xdm_program and xdm_flags as thus: xdm_program="/usr/local/bin/kdm" xdm_flags="" Of course, the location of /var/run/authdir depends on how it is set in your xdm-config file. I've posted my entire configuration here before, so check the archives (perhaps in the stable@ list also). -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message