X Window problem

Gary and El Byrnes elgaz at iprimus.com.au
Tue May 6 02:41:48 PDT 2003


Thanks a lot Anthony. Had to run fsck, then mount -a and swapon -a worked.

Elvira
  ----- Original Message ----- 
  From: CARTER Anthony 
  To: Eduardo Viruena Silva ; Gary and El Byrnes 
  Cc: freebsd-questions at freebsd.org 
  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 
  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 at 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 at freebsd.org mailing list
  > >   > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  > >   > To unsubscribe, send any mail to
  > >   > "freebsd-questions-unsubscribe at freebsd.org"
  > >
  > >   -                         ______                     _
  > >               *           /   /###\                   / \       __
  > >    /\  /\             *  /  ./#### \         *     \__|_/      |  |
  > >   /  \/  \               |   b#####|   *            _ |   __   |  |  __
  > >   =    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
  > >   =          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
  > >    =   \______/           _
  >
  > -                         ______                     _
  >             *           /   /###\                   / \       __
  >  /\  /\             *  /  ./#### \         *     \__|_/      |  |
  > /  \/  \               |   b#####|   *            _ |   __   |  |  __
  > =    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
  > =          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
  >  =   \______/           _
  >
  > _______________________________________________
  > freebsd-questions at freebsd.org mailing list
  > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  > To unsubscribe, send any mail to
  > "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list