Cheatsheet

Written on 02/03/2021 06:55 PM

Written by Greg Potts

Tags: #Linux, #VIM, #bash, #macOS, #zsh

Estimated time to read:

RSS Feed

Summary

A few useful commands that I don't want to forget.

bash/zsh

Invalid MIT-MAGIC-COOKIE-1

If you are receiving the following error: Invalid MIT-MAGIC-COOKIE-1 keyxterm Xt error: Can't open display: localhost:11.0, follow the following diagnostic steps:

  1. Is your X11 Windows server running? (xQuarts)? If not, start it. - You can tell something is wrong if you issue an xauth list on your local machine and nothing works.
  2. Issue the following command: xhost +local: before ssh-ing to the server.