From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20697 invoked from network); 24 Jun 1999 04:38:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 Jun 1999 04:38:49 -0000 Received: from mail-atm.nycap.rr.com (root@nycap.rr.com [24.92.32.1] (may be forged)) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA25396 for ; Wed, 23 Jun 1999 23:43:38 -0400 Received: from toshiba-179-143.nycap.rr.com (toshiba-179-143.nycap.rr.com [204.210.179.143]) by mail-atm.nycap.rr.com (8.9.1/8.9.1) with ESMTP id XAA11986 for ; Wed, 23 Jun 1999 23:43:34 -0400 (EDT) Date: Wed, 23 Jun 1999 23:43:58 -0400 (EDT) From: Dan Morrill To: axp-list@redhat.com Subject: Weird Graphics Error Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I was playing with kpilot (the Palm Pilot sync tool for KDE), which uses /dev/ttyS0. When I exited the watchdog daemon (which monitors ttyS0 looking for a Palm to talk to), it hung X (which is a bug in and of itself, but not why I'm writing.) I telnetted in to the machine (called "obsequious") from a Windows box (called "ubiquitous") and did a `kill -TERM` on xdm and X, so that I could restart X. This, however, did not cause obsequious to return to the console: the screen still displayed the last image of the hung X server. I tried restarting xdm anyway (from the telnet session), and it works: it starts up, I can log in, and work normally. If I do a CTL-ALT-F1 to get back to the text console, though, the display does *not* drop back into text mode, and X appears to hang again. However, via experimentation I discovered that the C-A-F1 operation *does* drop me to the console -- I just can't see it. If I hit ALT-F7, I get control of my X desktop again. With further trial, I discovered that even if I log out and kill X and xdm again, the console is still reading keyboard input, just not displaying it. i.e. if I log out of X and kill xdm from the other machine, I see the "hung" X desktop on display. If I type blind and log in as root and then run `xdm`, X starts right up, and I can log in! In other words, the very first X crash apparently confused mingetty so that it doesn't ever return to text mode. It's still monitoring the keyboard, which is why I can log in blind and restart xdm, but switching to a virtual console from X simply doesn't return you to text mode. Anyway, the above is intriguing and was amusing for a few minutes, but now I'd like to recover. I'm pretty sure that if I can kill X/xdm, get to one of the consoles, and type blind, that I should be able to tell the console to return to text mode, and my problems would be solved. The only command that I can spot to do this, though, is /usr/sbin/vidmode, which rpm claims is part of util-linux. However, it's a broken symlink to rdev, which doesn't exist anywhere on my box. And now, to the point: :) * did someone at Red Hat forget to include rdev with the distro (6.0) or did I neglect to install the RPM that has it? * is there some other command I can use to tell the console (not running X) to return to text mode? Yes, I know I can solve this with a reboot, but I really want to avoid rebooting this machine unless I have to. 533MHz SX164 Red Hat 6.0 XFree86 Matrox Millenium II, 8MB Thanks for any info! Dan Morrill Computer Scientist, Physicist