From owner-freebsd-questions@FreeBSD.ORG Tue May 6 03:06:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A5B237B404 for ; Tue, 6 May 2003 03:06:07 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CABD43FB1 for ; Tue, 6 May 2003 03:06:05 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h46A5ow0076660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 May 2003 11:05:50 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h46A5nQj076659; Tue, 6 May 2003 11:05:49 +0100 (BST) (envelope-from matthew) Date: Tue, 6 May 2003 11:05:49 +0100 From: Matthew Seaman To: CARTER Anthony Message-ID: <20030506100549.GC95479@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , CARTER Anthony , Eduardo Viruena Silva , Gary and El Byrnes , freebsd-questions@freebsd.org References: <001c01c313aa$0e3d1cc0$0137a8c0@rooter> <004e01c313af$e7856730$0137a8c0@rooter> <20030506041502.K62204@Gina.esfm.ipn.mx> <200305061131.12621.a.carter@intrasoft.lu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9Ek0hoCL9XbhcSqy" Content-Disposition: inline In-Reply-To: <200305061131.12621.a.carter@intrasoft.lu> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-39.4 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: Eduardo Viruena Silva cc: Gary and El Byrnes cc: freebsd-questions@freebsd.org Subject: Re: X Window problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 10:06:08 -0000 --9Ek0hoCL9XbhcSqy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 06, 2003 at 11:31:12AM +0200, CARTER Anthony wrote: > I think that you should do this first: >=20 > mount -u / >=20 > this re-mounts root as read-write, otherwise you are in read-only in sing= le=20 > user mode... >=20 > then do: >=20 > mount -a > swapon -a Actually, although the handbook recommends 'mount -u /' in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html as does the FAQ in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-= ROOT-PW it hasn't strictly been necessary for at least a year now. 'mount -a' will automatically re-mount the root filesystem read-write anyway. If the original poster was following the instructions, that wouldn't have been the cause of their latest problem. > On Tuesday 06 May 2003 11:15, Eduardo Viruena Silva wrote: > > On Tue, 6 May 2003, Gary and El Byrnes wrote: > > > I got to the point where I edited the /etc/ttys file back to what it > > > was. When I tried saving it, I got a message that the file is read-on= ly > > > and use ! to override. Seems that your /etc/ttys file has ended up without write permissions --- that's non-standard: the mode is usually 0644 --- but so long as everything has read permission that needs it, won't cause any problems. If you're in single user mode then you have superuser powers: you can just override the filesystem permissions by: Esc : w q ! =66rom within vi(1) and everything should end up the way you want, and you can get on with generating a working X configuration. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --9Ek0hoCL9XbhcSqy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+t4j9dtESqEQa7a0RAtWkAJ0ZbQUkXwGf8sd+YgGDGSduzA3HcgCfXkqS QpHwX/b7YJeMOZHzAB3glmE= =uGeN -----END PGP SIGNATURE----- --9Ek0hoCL9XbhcSqy--