From owner-freebsd-questions@FreeBSD.ORG Wed Mar 1 05:59:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2615416A420 for ; Wed, 1 Mar 2006 05:59:36 +0000 (GMT) (envelope-from bsd@1command.com) Received: from mail.1command.com (mail.1command.com [216.177.243.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7185943D45 for ; Wed, 1 Mar 2006 05:59:35 +0000 (GMT) (envelope-from bsd@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.4/8.13.3) with ESMTP id k215xXGL082373; Tue, 28 Feb 2006 21:59:33 -0800 (PST) (envelope-from bsd@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.4/8.13.3/Submit) id k215xXMu082372; Tue, 28 Feb 2006 21:59:33 -0800 (PST) (envelope-from bsd@1command.com) X-Authentication-Warning: mail.1command.com: www set sender to bsd@1command.com using -f Received: from mail.1command.com (mail.1command.com [216.177.243.35]) by webmail.1command.com (Horde MIME library) with HTTP; Tue, 28 Feb 2006 21:59:33 -0800 Message-ID: <20060228215933.erer2bfi4u80ws44@webmail.1command.com> X-Priority: 3 (Normal) Date: Tue, 28 Feb 2006 21:59:33 -0800 From: Chris To: Heliocentric References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.4) / FreeBSD-5.5 Cc: freebsd-questions@freebsd.org Subject: Re: getting virtual consoles to work reliably with X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 05:59:36 -0000 Greetings, Quoting Heliocentric : > I've admined a network of FreeBSD 5.4 desktops for a few months now, > and I've noticed that when an X server crashes hard, it will no longer > respond to the control-alt-fn sequences, and not pass them down to > whatever handler is called to switch virtual consoles. Have you tried Ctrl+Alt+Backspace? I have used this successfully in the past when X froze. Also, if X barfed and left you at a blank terminal with no Ctrl+Alt+Fn, You might try Ctrl+d. That will log out and place you at a login terminal. There-by giving you a fresh (clean) session. Hope that helps. --Chris > > When the crash isn't that bad, normally I'd just kill the wdm process > and let init respawn the display manager. But some days I don't have > the option to ssh in or use a serial console to kill the daemon, and > am forced to use the ACPI events to let the kernel shutdown and then > restart the machine. Not only that, but the other people responsible > for these machines are used to using the normal virtual console keys > to kill errant processes on one console that aren't responding to > signals. > > So I'm wondering, is there a compile time option, patch for atkbd, or > configuration setting that will allow that driver to trap the > control-alt-fn sequences itself, before it gets passed up to X? Or am > I misunderstanding how the keyboard is handled in this situation? > > I would appreciate any help on this matter. Thanks in advance. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.