From owner-freebsd-questions Mon Dec 28 19:12:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA05424 for freebsd-questions-outgoing; Mon, 28 Dec 1998 19:12:42 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05403 for ; Mon, 28 Dec 1998 19:12:36 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id NAA01618; Tue, 29 Dec 1998 13:42:00 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id NAA32795; Tue, 29 Dec 1998 13:42:03 +1030 (CST) Message-ID: <19981229134202.A32696@freebie.lemis.com> Date: Tue, 29 Dec 1998 13:42:02 +1030 From: Greg Lehey To: Shigetoh Kumagai Cc: questions@FreeBSD.ORG Subject: Re: Console frozen when X-server exited References: <19981228133104.K12346@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Shigetoh Kumagai on Tue, Dec 29, 1998 at 01:50:30PM +1100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 29 December 1998 at 13:50:30 +1100, Shigetoh Kumagai wrote: > On Mon, 28 Dec 1998, Greg Lehey wrote: > >> You're probably out of luck here. The X server is responsible for >> resetting the console, and if it is killed, it doesn't happen. >> >> You can restart the server from the telnet session. There's a good >> (but not excellent) chance that it will work. > > Thank you for your reply! > > I made it work by starting from one of telnet session from another > machine. > > Well, everything works under X-Window, however when I close my X session, > the PC console is still locked. So I had to start X again from telnet. I > wish there are way or tool to refresh or reset the console so I do not > have to reboot soon. > > I wonder how this resetting console should be done. Is there any place or > documentatoins I can look at? As I said, you're out of luck. > BTW, I found kbd_mode(1) but not much effect on console itself(it's only > for keyboard, isn't it?). Well, it's supposed to work, but it's not a FreeBSD program, and it often doesn't. > Keyboard and screen works when > 1) X is running > a) I can switch to console using ALT+CTL+1, then back to X session > pressing ALT+F4. However there is no login prompt or shell session visible > on console when pressing ALT+F1, ALT+F2 or ALT+F3, and no response to > keyboard in either virtual console. If it's only a problem with the login prompt, you can try killing the shell (or whatever) on that virtual terminal. To find what's running on a specific vt (in this example /dev/ttyv0), do: # ps tv0 The `t' option specifies ``only processes running on this terminal'', and ``v0'' is the last two characters of ``/dev/ttyv0''. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message