Solaris Common Messages and Troubleshooting Guide

console login: ^J^M^Q^K^K^P

Cause

This usually occurs because OpenWindows exited abnormally, leaving the system's keyboard in the wrong mode. The characters that appear when someone attempts to login are garbage transliterations of what someone types.

Action

On a SPARC system: find another machine and remote login to this system, then run this command:


$ /usr/openwin/bin/kbd_mode -a
This puts the console back into ASCII mode. Note that kbd_mode is not a windows program, it just fixes the console mode.

On an x86 system: log in remotely and start, then kill the X server, or reboot the system.

Technical Notes

The usual reason for this problem occurring is an automated script run from cron(1M) that clears out the /tmp directory every so often. Ensure that any such scripts do not remove the /tmp/.X11-pipe or /tmp/.X11-unix directories, or any files in them.