Whenever my laptop falls asleep and is woken up (Lenovo Thinkpad X1 Carbon Gen 3), certain applications will no longer run. For example, when trying to launch dmenu or google-chrome-stable (XMonad window manager on Arch Linux), I get this error:
What does this error mean? I assume it's related to X11. How can I resolve it?