Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 1996 08:16:38 -0500 (CDT)
From:      Jerry Dunham <jdunham@fc.net>
To:        grog@lemis.de (Greg Lehey)
Cc:        questions@FreeBSD.org
Subject:   Re: XF86 & fvwm Problem, Help? (fwd)
Message-ID:  <199609201316.IAA08824@freeside.fc.net>
In-Reply-To: <199609200927.LAA18559@allegro.lemis.de> from "Greg Lehey" at Sep 20, 96 11:27:14 am

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey babbled:
> From grog@lemis.de Fri Sep 20 05:14:42 1996
> 
> 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.

Of course it works fine.  I'm just really slow.

> Understand that the <F1> part specifies the VT you want to switch to.

That I understood all along.

> Also, there's a good
> chance that you have more than 4 vts generated--I'd guess 11.

It was 10.  When I saw "MAXCONS=16" I thought that was the number, but
then I looked in /etc/ttys and eventually understood.

> 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

Close.  There was no ttyv10 and ttyv9 was on.
 
> 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.

I eventually found it on alt-F11, quite by accident, and then all was
clear.
 
> 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.

What I did, following someone else's advice here, was:

ttyv3   "/usr/X11R6/bin/xdm -nodaemon"  xterm   on secure

and it works great.  I like it.

I may have driven everyone else nuts getting here, but I definitely like
the result.  Now if I could just get elm to act right....


-- 
Jerry Dunham                 Atarian ordinaire           (512)432-8598 (O)
jdunham@fc.net                    GS650G                 (512)335-0674 (H)
dunham@isd.tandem.com                              dunham_jerry@tandem.com

                    There's no such thing as a free lunch.



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