Skip site navigation (1)Skip section navigation (2)
Date:      26 Apr 2001 11:59:48 -0400
From:      Vivek Khera <khera@kcilink.com>
To:        questions@freebsd.org
Subject:   Re: kdm
Message-ID:  <x766frps7f.fsf@onceler.kciLink.com>
In-Reply-To: <000c01c0cda4$7be4d9a0$9c1576d8@inethouston.net>
References:  <000c01c0cda4$7be4d9a0$9c1576d8@inethouston.net>

next in thread | previous in thread | raw e-mail | index | archive | help
The following message is a courtesy copy of an article
that has been posted to ml.freebsd.questions as well.

>>>>> "MJT" == Michael J Turner <mike@inethouston.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x766frps7f.fsf>