Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2005 11:00:08 -0400
From:      James Alexander Cook <james.cook@utoronto.ca>
To:        Michael Neeff <cool_mike_21@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Would like to get back my command prompt!
Message-ID:  <20050424150008.GA82618@angel.falsifian.afraid.org>
In-Reply-To: <BAY103-F7FC24EC9362571959751CC92F0@phx.gbl>
References:  <BAY103-F7FC24EC9362571959751CC92F0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

> 
> Thanks in advance.
> Mike

- James Cook
  james.cook@utoronto.ca



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