SUMMARY: Console problems when not using GUI packages

From: Spurgeon, John P <john.p.spurgeon_at_intel.com>
Date: Tue Sep 17 2002 - 16:53:04 EDT
I didn't get any replies to my original query, but I finally found a
solution to my problem. Here's a summary of the issue and a few workarounds.

The problem occurs on the console when you are not using a GUI package such
as CDE (e.g. if you only install the core support modules). When logging in,
if you enter a user id, press enter, and then wait for the login timeout
period to expire (assuming the timeout period is defined in
/etc/default/login), then the tty settings on the console get "hosed". This
is because the settings are changed when you get to the password prompt so
that your password is not echoed back on the terminal. When the timeout
period expires, the ttymon process gets respawned, but the original tty
settings are not restored. As a result, nothing you type at the console gets
displayed on the terminal, even after you are logged in.

You can fix the problem by typing "stty sane" at the command line once you
are logged in. Or you could put the command "stty sane" in /etc/profile.
However, an even better fix is to reset the tty settings to sane values by
modifying the file /etc/ttydefs and inserting the value "sane" into the
second field for the console entries.

Note that the file /etc/inittab contains the following entry for the ttymon
command:

co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T
AT386 -d /dev/console -l console

You may want to read the man pages for inittab, ttymon and sttydefs to see
how the "-l console" option in the command string above relates to the
/etc/ttydefs file.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Sep 17 16:56:25 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:55 EST