Kevin Xiang Li
1 min readFeb 26, 2020

--

export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk ‘{print $2; exit;}’):0.0

If `export DISPLAY=:0.0` does not work for you, try the above instead.

--

--

No responses yet