Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Dan Morrill <morrildl@nycap.rr.com>
To: axp-list@redhat.com
Subject: Weird Graphics Error
Date: Wed, 23 Jun 1999 23:43:58 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.10.9906232328120.6670-100000@toshiba-179-143.nycap.rr.com> (raw)


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


             reply	other threads:[~1999-06-24  4:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-24  3:43 Dan Morrill [this message]
1999-06-24  6:26 ` Weird Graphics Error Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox