Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Weird Graphics Error
@ 1999-06-24  3:43 Dan Morrill
  1999-06-24  6:26 ` Michal Jaegermann
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Morrill @ 1999-06-24  3:43 UTC (permalink / raw)
  To: axp-list


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-06-24  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-24  3:43 Weird Graphics Error Dan Morrill
1999-06-24  6:26 ` Michal Jaegermann

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