From owner-freebsd-hackers Sat Nov 25 21:33:07 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA14386 for hackers-outgoing; Sat, 25 Nov 1995 21:33:07 -0800 Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA14363 for ; Sat, 25 Nov 1995 21:32:42 -0800 Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.6.11/8.6.9) id QAA12774; Sun, 26 Nov 1995 16:30:57 +1100 From: David Dawes Message-Id: <199511260530.QAA12774@rf900.physics.usyd.edu.au> Subject: Re: Argh, lost console :-( To: maral@webnet.com.au (Peter Marelas) Date: Sun, 26 Nov 1995 16:30:56 +1100 (EST) Cc: jgreco@solaria.sol.net, hackers@freebsd.org In-Reply-To: from "Peter Marelas" at Nov 25, 95 05:06:10 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1101 Sender: owner-hackers@freebsd.org Precedence: bulk >On Fri, 24 Nov 1995, Joe Greco wrote: > >> Frustrating: I just lost my *(#@&@#^*( console again. >> >> What happened: I put xdm as the last entry in /etc/rc.local on a 486DX/33 >> with 32MB RAM, Fahrenheit 1280 VGA card, running 2.0.5R. > >The README in XF86312 says to start xdm from a tty in /etc/ttys I always start it from /etc/rc.local (and haven't had any problems as a consequence). I have the following in /etc/rc.local: if [ -f /usr/X11R6/bin/xdm -a -f /usr/local/etc/xdm/xdm-config ]; then echo -n ' xdm' # Delay to allow the fontserver to come up (sleep 5; /usr/X11R6/bin/xdm -config /usr/local/etc/xdm/xdm-config)& fi >> After much poking and prodding at it with vidcontrol, I got it "sorta" back >> - I got a login: banner but only garbage when I typed. I was then able to >> run startx from remote - and everything worked (including kbd) - but when I >> exited, the keyboard was again in a sorry state. Perhaps running 'kbd_mode -u' will put it into the correct mode for X, and 'kbd_mode -a' for text mode? I've never needed to use this though. David