Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 19:41:50 +1000
From:      "Gary and El Byrnes" <elgaz@iprimus.com.au>
To:        "CARTER Anthony" <a.carter@cordis.lu>, "Eduardo Viruena Silva" <mrspock@esfm.ipn.mx>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X Window problem
Message-ID:  <007201c313b3$b81f7950$0137a8c0@rooter>
References:  <001c01c313aa$0e3d1cc0$0137a8c0@rooter> <004e01c313af$e7856730$0137a8c0@rooter> <20030506041502.K62204@Gina.esfm.ipn.mx> <200305061131.12621.a.carter@intrasoft.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks a lot Anthony. Had to run fsck, then mount -a and swapon -a =
worked.

Elvira
  ----- Original Message -----=20
  From: CARTER Anthony=20
  To: Eduardo Viruena Silva ; Gary and El Byrnes=20
  Cc: freebsd-questions@freebsd.org=20
  Sent: Tuesday, May 06, 2003 7:31 PM
  Subject: Re: X Window problem


  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=20
  user mode...

  then do:

  mount -a
  swapon -a

  Anthony Carter

  On Tuesday 06 May 2003 11:15, Eduardo Viruena Silva wrote:
  > On Tue, 6 May 2003, Gary and El Byrnes wrote:
  > > Hi Eduardo
  > >
  > > Thank you very much for your response.
  > >
  > > I have started the process you mentioned. I have gone through step =
one
  > > fine.
  > >
  > > 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.
  >
  > you did not mount your file systems:
  >
  > mount -a
  > swapon -a
  >
  > > What can I do now?
  > >
  > > Thanks a lot.
  > >
  > > Elvira
  > >   ----- Original Message -----
  > >   From: Eduardo Viruena Silva
  > >   To: Gary and El Byrnes
  > >   Cc: freebsd-questions@freebsd.org
  > >   Sent: Tuesday, May 06, 2003 6:56 PM
  > >   Subject: Re: X Window problem
  > >
  > >   On Tue, 6 May 2003, Gary and El Byrnes wrote:
  > >   > Hi Everybody
  > >   >
  > >   > I am new to FreeBSD. Just intalled v 5.0.
  > >   >
  > >   > I went into /etc/ttys and changed "xterm on secure" to have =
graphics
  > >   > and having a problem after that. The GUI wouldn't come up. The =
screen
  > >   > keeps coming to a dark blue with a mouse cursor cross on it =
then
  > >   > disappears. How can I fix this please?
  > >
  > >   1) go single user:
  > >
  > >   reboot your computer [if it is still on, press ctrl-alt-del]
  > >   when freebsd boots a countdown starts from 9 to 0, before it
  > >   reaches 0, press "space"
  > >
  > >   type:
  > >   boot -s
  > >
  > >   your computer will boot but it will stop asking for a shell
  > >   and suggesting:  /bin/sh       [press enter].
  > >   type
  > >   mount -a
  > >   swapon -a
  > >
  > >
  > >   2) fix the problem:
  > >
  > >   now, edit /etc/ttys and restore "off" in the line containing =
xterm.
  > >   save this file
  > >   reboot your computer by typing:  reboot
  > >   or press control-d.
  > >
  > >   you must be sure that you have correctly configuring X before
  > >   changing the line containing "xterm" in /etc/ttys.
  > >
  > >   3) configure X
  > >
  > >   To configure X you can try:
  > >
  > >   X -configure
  > >
  > >   it will try to find out which your graphic environtment could =
be,
  > >   and will write a file:  XF86Config.new  with the resulting
  > > configuration.
  > >
  > >   Try:
  > >   X -xf86config ./XF86Config.new
  > >
  > >   to test your configuration and, if it fits to your graphical
  > > environment, you will see a gray screen and you will be able to =
move your
  > > mouse cursor. Press Ctrl-Alt-BACKSPACE to leave this graphic =
screen and
  > > copy this file to /etc/X11/ directory with the name XF86Config:
  > >
  > >   cp ./XF86Config.new /etc/X11/XF86Config
  > >
  > >   if the configuration you get does not fit to your graphical
  > > environment, try to find out what graphic card, monitor, mouse, =
keybard
  > > you have and try
  > >   xf86cfg -textmode
  > >
  > >
  > >   4) xdm
  > >
  > >   Once you have a functional configuration for your graphical
  > > environment, then and only then you can change the line you =
changed.
  > >
  > >   > I have a flatscreen monitor and I am not too sure what video =
card I
  > >   > have - some cheapie.
  > >   >
  > >   >
  > >   >
  > >   > Thanks a lot in advance.
  > >   >
  > >   > Elvira
  > >   > _______________________________________________
  > >   > freebsd-questions@freebsd.org mailing list
  > >   > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  > >   > To unsubscribe, send any mail to
  > >   > "freebsd-questions-unsubscribe@freebsd.org"
  > >
  > >   -                         ______                     _
  > >               *           /   /###\                   / \       __
  > >    /\  /\             *  /  ./#### \         *     \__|_/      |  =
|
  > >   /  \/  \               |   b#####|   *            _ |   __   |  =
|  __
  > >   =3D    .. \____          \ \_\#####/               / \|  /  \  | =
 | /\_\/
  > >   =3D          \_|    *     \___\###/       *        =
\_/\_/\__/\__\/_/\__/
  > >    =3D   \______/           _
  >
  > -                         ______                     _
  >             *           /   /###\                   / \       __
  >  /\  /\             *  /  ./#### \         *     \__|_/      |  |
  > /  \/  \               |   b#####|   *            _ |   __   |  |  =
__
  > =3D    .. \____          \ \_\#####/               / \|  /  \  |  | =
/\_\/
  > =3D          \_|    *     \___\###/       *        =
\_/\_/\__/\__\/_/\__/
  >  =3D   \______/           _
  >
  > _______________________________________________
  > freebsd-questions@freebsd.org mailing list
  > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  > To unsubscribe, send any mail to
  > "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007201c313b3$b81f7950$0137a8c0>