Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 1998 12:38:47 -0700 (PDT)
From:      Thomas Dean <tomdean@ix.netcom.com>
To:        aenseidhe@jeo.ru
Cc:        questions@FreeBSD.ORG
Subject:   Re: starting X
Message-ID:  <199808101938.MAA02713@ix.netcom.com>
In-Reply-To: <B0000131225@jeo.jeo.ru> (aenseidhe@jeo.ru)

next in thread | previous in thread | raw e-mail | index | archive | help
Did you install X?  Did you configure X?  You can test X from the
command line with '/usr/X11R6/bin/xdm -nodaemon'.

If X is installed and configured, the currently recommended method of
starting X is to do it in rc.local.  Add:

if [ -x /usr/X11R6/bin/xdm ] ; then
  # need to cleanup first.
  if [ -f /usr/X11R6/lib/X11/xdm/xdm-pid ] ; then
    rm -f /usr/X11R6/lib/X11/xdm/xdm-pid
  fi
  # now, we can start it.
  echo "xdm";   /usr/X11R6/bin/xdm
fi

You also need to have one ttyv? off.  Most of the entries for ttyv?
read:

ttyv0   "/usr/libexec/getty Pc"         cons25  on  secure
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc"         cons25  on secure
ttyv2   "/usr/libexec/getty Pc"         cons25  on secure
...

Change one of them to read:

ttyv5   "/usr/libexec/getty Pc"         cons25  off secure

This example shows using ttyv5.  Normally, people use the last one,
whatever it is.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808101938.MAA02713>