On a SPARC system: find another machine and remote login to this system, then run this command:
$ /usr/openwin/bin/kbd_mode -a
On an x86 system: log in remotely and start, then kill the X server, or reboot the system.