From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 14:35:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42D5E16A4CE for ; Mon, 25 Apr 2005 14:35:55 +0000 (GMT) Received: from relay01.roc.ny.frontiernet.net (relay01.roc.ny.frontiernet.net [66.133.182.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0DC243D2F for ; Mon, 25 Apr 2005 14:35:54 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter05.roc.ny.frontiernet.net (filter05.roc.ny.frontiernet.net [66.133.183.72])C538E36427E; Mon, 25 Apr 2005 14:35:53 +0000 (UTC) Received: from relay01.roc.ny.frontiernet.net ([66.133.182.164]) [66.133.183.72]) (amavisd-new, port 10024) with LMTP id 11366-01-9; Mon, 25 Apr 2005 14:35:53 +0000 (UTC) Received: from blacklamb.mykitchentable.net (70-97-204-86.dsl2.elk.ca.frontiernet.net [70.97.204.86])BFAD4364124; Mon, 25 Apr 2005 14:35:51 +0000 (UTC) Received: from [165.107.42.217] (unknown [165.107.42.217]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 644933BF36B; Mon, 25 Apr 2005 07:35:50 -0700 (PDT) Message-ID: <426D0019.3000509@mykitchentable.net> Date: Mon, 25 Apr 2005 07:35:05 -0700 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: James Alexander Cook References: <20050424150008.GA82618@angel.falsifian.afraid.org> In-Reply-To: <20050424150008.GA82618@angel.falsifian.afraid.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20040701 (2.0) at filter05.roc.ny.frontiernet.net cc: Michael Neeff cc: freebsd-questions@freebsd.org Subject: Re: Would like to get back my command prompt! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 14:35:55 -0000 On 4/24/2005 8:00 AM James Alexander Cook wrote: >On Sun, Apr 24, 2005 at 02:37:23PM +0000, Michael Neeff wrote: > > >>A newbie with installing FreeBSD 5.3...I installed X and got excited to >>direcly log on to X (xdm) with the dialog box. I modified the lineto turn >>xterm on: >>ttyv8 "/usr/X11R6/bin/xdm - nodaemon" xterm ON secure. >>Now I am stuck in a login loop... I would like to configure X and install >>KDE, but it is stuck on the ChooseSessionListWidet I can only choose 2 >>options DEFAULT/FAIL SAFE and CANCEL and nothing happens in either case... >>hitting CTRL+ALT_+BKSPACE does nothing >> >>How do I just login to the command prompt without X opening directly?? I >>think I tried option 6 and it gives me a command prompt but I cannot edit >>any file. >> >> > >I have two ideas. > >1. After X has opened, press CTRL-ALT-FN where N is a number from 1-8. That > should bring you to a text-based virtual terminal. To go back to X, type > CTRL-ALT-F9. > >2. If 1 doesn't work, try booting in single-user mode. From there, you can > remount / read-write, mount /usr (to get access to an editor like vi), > then "vi /etc/ttys" and turn off X11. > > # mount -u -o rw / > # mount /usr > # vi /etc/ttys > > I don't remember for sure, but I think you'll want to type > > # mount -a > > before exiting the single-user session to boot the system; I don't think > your filesystems are mounted automatically otherwise. > Or this should work. Open a xterm window and modify /etc/ttys (i.e. comment out the line that starts xdm). :) Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com