Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 19:14:31 +1000
From:      "Gary and El Byrnes" <elgaz@iprimus.com.au>
To:        "Eduardo Viruena Silva" <mrspock@esfm.ipn.mx>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X Window problem
Message-ID:  <004e01c313af$e7856730$0137a8c0@rooter>
References:  <001c01c313aa$0e3d1cc0$0137a8c0@rooter> <20030506033808.V61692@Gina.esfm.ipn.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Eduardo

Thank you very much for your response.=20

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.

What can I do now?

Thanks a lot.

Elvira
  ----- Original Message -----=20
  From: Eduardo Viruena Silva=20
  To: Gary and El Byrnes=20
  Cc: freebsd-questions@freebsd.org=20
  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   \______/           _
    | |



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