From owner-freebsd-questions@FreeBSD.ORG Sun Nov 26 22:05:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1A9416A407 for ; Sun, 26 Nov 2006 22:05:09 +0000 (UTC) (envelope-from jona.joachim@free.fr) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C08E43D55 for ; Sun, 26 Nov 2006 22:03:54 +0000 (GMT) (envelope-from jona.joachim@free.fr) Received: from localhost (4be54-4-82-234-154-189.fbx.proxad.net [82.234.154.189]) by smtp2-g19.free.fr (Postfix) with ESMTP id 0B16C7D27 for ; Sun, 26 Nov 2006 23:04:39 +0100 (CET) Date: Sun, 26 Nov 2006 23:04:38 +0100 From: Jona Joachim To: freebsd-questions@freebsd.org Message-ID: <20061126230438.35c4ec60@localhost> In-Reply-To: <20061126210958.19000@gmx.net> References: <20061126210958.19000@gmx.net> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Lacky Doc @ "5.6.2 Using XDM" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2006 22:05:09 -0000 On Sun, 26 Nov 2006 22:09:58 +0100 "Ralf Schreijer" wrote: > Hi there! > > Today I just installed FreeBSD(6.1) for the first time in my life. > After several tries on my own I decided to go through the > installation by following the instructions in the handbook. I > successfully installed and configured Xorg. Everything went well, > until I reached the section 5.6.2, "Using XDM". I just tried to > follow the instructions and enabled xdm to start running on the 9th > virtual terminal by replacing the "off" by "on" in /etc/ttys: ttyv8 > "/usr/X11R6/bin/xdm -nodaemon" xterm off secure in ttyv8 > "/usr/X11R6/bin/xdm -nodaemon" xterm on secure > > Now I can't do anything. The system directly boots into the xdm, > prompts a loginscreen and if I login as root (or as a user) there is > nothing I can do. As I know now there isn't even a chance to leave > the xdm. If I hit Ctrl+Alt+Backspace, it flips into the shell an > returns immediately to xdm and prompts the login again. I tried > fixing this through booting in Single User Mode, but I wasn't > successful because I have no write permission in /etc/ttys during > this mode. You have just about any right in single user mode. Type chmod 644 /etc/ttys If you edit the file using vi and it isn't writable you can force to write to it by typing :w! Try to hit Ctrl+Alt+F2 This should get you to a shell. Jona