Date: Sat, 23 Mar 2002 10:54:18 +0000 From: Scott Mitchell <scott.mitchell@mail.com> To: zhangweiwu@private.21cn.com Cc: questions@FreeBSD.ORG Subject: Re: cannot login - a mistake in gdm Message-ID: <20020323105418.A278@fishballoon.dyndns.org> In-Reply-To: <F59ExkiyPoHZgzDgtZK0001da5c@hotmail.com>; from weiwuzhang@hotmail.com on Sat, Mar 23, 2002 at 11:12:03AM %2B0800 References: <F59ExkiyPoHZgzDgtZK0001da5c@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 23, 2002 at 11:12:03AM +0800, Zhang Weiwu wrote: > I'm running FreeBSD-4.4 Stable with GNOME and enlightment. I pkg_added gdm, > and i did following stupid things: > > 1. I edit /etc/ttys and chenged the 0st login from getty to > "/usr/X11R6/bin/gdm -nodeamon xterm ..." and > 2. I commented out other virtual consoles. > > I checked handbook and found it's wrong (i should use gdm on a virtual > console and keep other gettys there unchanged). But it's too late now. Now > the computer boots and tells me "gnm group cannot fond, using nobody" etc. > What's worse, since i commented out all other gettys i cannot login and > change /etc/ttys back. What should i do now? Boot into single-user mode (hit a key to stop the autoboot countdown, then 'boot -s') or boot from a rescue floppy/CD. Either way should get you to a command line where you can restore sanity to your ttys file. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon 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?20020323105418.A278>