X Window problem

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue May 6 03:06:08 PDT 2003

On Tue, May 06, 2003 at 11:31:12AM +0200, CARTER Anthony wrote:
> I think that you should do this first:
> mount -u /
> this re-mounts root as read-write, otherwise you are in read-only in single 
> user mode...
> then do:
> mount -a
> swapon -a

Actually, although the handbook recommends 'mount -u /' in


as does the FAQ in


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-only
> > > 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

If you're in single user mode then you have superuser powers: you can
just override the filesystem permissions by:

    Esc : w q !

from within vi(1) and everything should end up the way you want, and
you can get on with generating a working X configuration.



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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030506/4bb34860/attachment.bin

More information about the freebsd-questions mailing list