Have you ever needed to run an X11 based program like emacs or firefox in a sudo session and received one of the following errors?
1 2 3 4 |
% firefox X11 connection rejected because of wrong authentication. Error: cannot open display: localhost:10.0 |
This blog describes how to fix the problem.
Continue reading Make X11 programs work in an ssh sudo session