From owner-freebsd-questions Fri Jul 21 20:58:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from server3.safepages.com (server3.safepages.com [216.127.146.5]) by hub.freebsd.org (Postfix) with ESMTP id 40DA437B941 for ; Fri, 21 Jul 2000 20:58:29 -0700 (PDT) (envelope-from glennpj@bayouhome.net) Received: from gforce.johnson.home (1Cust201.tnt2.covington.la.da.uu.net [63.31.31.201]) by server3.safepages.com (Postfix) with ESMTP id D3A24366BE; Fri, 21 Jul 2000 23:25:26 -0400 (EDT) Received: (from glenn@localhost) by gforce.johnson.home (8.9.3/8.9.3) id WAA93931; Fri, 21 Jul 2000 22:24:44 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Fri, 21 Jul 2000 22:24:44 -0500 To: "Mark A. Hummel" Cc: freebsd-questions Subject: Re: Can't start xdm on boot ??? Message-ID: <20000721222444.A65216@gforce.johnson.home> Mail-Followup-To: glenn, "Mark A. Hummel" , freebsd-questions References: <3978E49A.9BC088C0@ispchannel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <3978E49A.9BC088C0@ispchannel.com>; from mhumm@ispchannel.com on Fri, Jul 21, 2000 at 07:02:34PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jul 21, 2000 at 07:02:34PM -0500, Mark A. Hummel wrote: > I've followed the instructions in FAQ (How do I start XDM on boot?) > to the letter and I still can't get to xdm on boot. What am I doing > wrong? First, what version of FreeBSD are you using? The tty to use could be different from what you read. I am not sure at what version the change over occurred but older versions use ttyv3 and newer versions use ttyv8 > I used the /etc/ttys method by adding: > > xdm So you should have a line in /etc/ttys that reads: ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure The line is there by default, you uncomment it and change the off to on. > Then, in /usr/X11R6/lib/X11/xdm/Xservers I added: > > :0 local /usr/X11R6/bin/X vt4 This does not look right. Remove the vt4. > It's as if I made no changes at all. I still have to startx to bring > up KDE. After you have verified that the line in /etc/ttys is correct and have fixed the line in /usr/X11R6/lib/X11/xdm/Xservers then at a command prompt (as root) type the following to test it: xdm -nodaemon The xdm login screen should appear. Switch back to your console screen (e.g. Alt-F1) then type Ctrl-C to kill the xdm process. If all is well you will see xdm at your next reboot. However, you do not have to reboot. You can do the following (as root): kill -1 1 This will cause the init process to rescan the /etc/ttys file and will activate xdm. Note that you need to have a .xsession file in your home directory and it must have the executable flag set. The .xsession file contains whatever programs you want to start; man xdm(1). Since you mention KDE, you may want to try out kdm after you get familiar with xdm. Hope this helps. -- Glenn Johnson glennpj@bayouhome.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message