From owner-freebsd-questions Tue Sep 4 2:46: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web13308.mail.yahoo.com (web13308.mail.yahoo.com [216.136.175.44]) by hub.freebsd.org (Postfix) with SMTP id A499237B406 for ; Tue, 4 Sep 2001 02:46:04 -0700 (PDT) Message-ID: <20010904094604.54596.qmail@web13308.mail.yahoo.com> Received: from [193.174.9.99] by web13308.mail.yahoo.com via HTTP; Tue, 04 Sep 2001 11:46:04 CEST Date: Tue, 4 Sep 2001 11:46:04 +0200 (CEST) From: =?iso-8859-1?q?m=20p?= Subject: Re: Changing /etc/ttys To: nchee_hoong@pacific.net.sg Cc: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi ; > I have enabled console ttyv8 to " ttyv8 /usr/X11R6/bin/xdm > -nodaemon xterm on secure" in /etc/ttys file . Whenever reboot , xdm > will automatically appear first and asking for username & password to > login . Although I key in a correct username and password, xdm always > looping appear . It seems xterm never appear after correct login . > Since now I am not able login access to X windows , I want to turn > off ttyv8 . But the issue now xdm always appear first after reboot . I > don't have a change to configure /etc/ttys in VT terminal mode. > What can I do now ? Please advise . > > Hi Kelvin, if you can still login via ssh / telnet / rlogin over the network, edit /etc/ttys to whatever you want and do a "init q" - it will rescan the /etc/ttys (taken from "man 8 init"). Alternative you can boot to single-user mode, do a mount -a, edit /etc/ttys with your favorite texteditor (for that the mount -a). After that reboot and all things should be fine. Hope that helps Marc __________________________________________________________________ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message