Categories
Tech

Remote View Headless Server (TTY)

If you need to view what’s happening on another TTY on your headless linux box, you can SSH in, su, and then do:

tail -f /dev/vcs1

This will enable you to see what’s happening on the headless TTY on your local screen. There’s a utility called “screen” that is similar, but the above trick works if you didn’t have a virtual screen set up to begin with.

Here’s another tip: when your sound card dies for some reason:

alsa force-reload

seems to fix it right up.