跑步时
$ evince a.pdf
我收到以下错误消息。
No protocol specified
Unable to init server: Could not connect: Connection refused
Cannot parse arguments: Cannot open display:
我正在运行 X 会话并且 DISPLAY=:0
指定显示
$ evince --display=:0
产生类似的错误消息
No protocol specified
Unable to init server: Could not connect: Connection refused
Cannot parse arguments: Cannot open display: :0
我正在运行 Debian 10 Buster。