Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2005 07:35:05 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        James Alexander Cook <james.cook@utoronto.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Would like to get back my command prompt!
Message-ID:  <426D0019.3000509@mykitchentable.net>
In-Reply-To: <20050424150008.GA82618@angel.falsifian.afraid.org>
References:  <BAY103-F7FC24EC9362571959751CC92F0@phx.gbl> <20050424150008.GA82618@angel.falsifian.afraid.org>

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



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