Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 1996 11:27:14 +0200 (MET DST)
From:      grog@lemis.de (Greg Lehey)
To:        jdunham@fc.net (Jerry Dunham)
Cc:        questions@FreeBSD.org (FreeBSD Questions)
Subject:   Re: XF86 & fvwm Problem, Help? (fwd)
Message-ID:  <199609200927.LAA18559@allegro.lemis.de>
In-Reply-To: <199609181223.HAA11484@freeside.fc.net> from "Jerry Dunham" at Sep 18, 96 07:23:52 am

next in thread | previous in thread | raw e-mail | index | archive | help
Jerry Dunham writes:
>
> David Nugent babbled:
>>
>> On Tue, 17 Sep 1996, Jerry Dunham wrote:
>>
>>>> to the others using the <ctrl><Alt><f[1-3]>.  By way of note...  you
>>>> can switch back to the x console using <alt><f4>.
>
> I tried this here this morning, and it doesn't work.  The <ctl><alt>
> <F1> part worked to get me back to a text console, but then I was never
> able to return to the X session.  I tried it a couple of times to make
> sure I was doing as instructed, but without success.  Apparently SOME-
> thing must be configured differently to make this work.

I just tried it here, and it works fine.  Understand that the <F1>
part specifies the VT you want to switch to.  Also, there's a good
chance that you have more than 4 vts generated--I'd guess 11.  Check
your /etc/ttys to be sure.  I'd expect to see:

#
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
ttyv3	"/usr/libexec/getty Pc"		cons25	on secure
ttyv4	"/usr/libexec/getty Pc"		cons25	on secure
ttyv5	"/usr/libexec/getty Pc"		cons25	on secure
ttyv6	"/usr/libexec/getty Pc"		cons25	on secure
ttyv7	"/usr/libexec/getty Pc"		cons25	on secure
ttyv8	"/usr/libexec/getty Pc"		cons25	on secure
ttyv9	"/usr/libexec/getty Pc"		cons25	off secure
ttyv10	"/usr/libexec/getty Pc"		cons25	on secure

To switch to ttyv<x>, where x is a number between 0 and 10, enter
ctrl-alt-F<x+1>.  In this example, you'd get to the X server with
ctrl-alt-F10.

>>> What's unique about console 3?  Why should I start xdm there?
>>
>> The X server selects the first "free" vt to run on.
>
> Makes sense.

In fact, I think you can just omit the line.  It's patently obvious
that you don't have a getty in it, so ttys doesn't need to know about
it unless you replace it with

ttyv9	"/usr/X11R6/bin/xdm"		cons25	on secure

I don't suppose the cons25 is needed, but if you remove it you'll
probably confuse init.

Greg



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