I am trying to set up Zathura on Windows 10 by using Ubuntu as available from the Microsoft Store. I would like to use Zathura as my PDF viewer when writing with vim/vimtex, and am currently facing the issue:
Unable to init server: Could not connect: Connection refused (zathura:10420):
Gtk-WARNING **: 15:58:19.628: cannot open display :0
This occurs when I type zathura into an Ubuntu terminal. I am new (and struggling) with Ubuntu and have only done the following:
I downloaded Ubuntu from the Microsoft Store.
I opened terminal, and typed
vim. This successfully launches.sudo apt update && sudo apt install zathuraTyping
zathuraproduces the error mentioned above.
I've been Google searching for a few days, but I think my unfamiliarity with this technology has made difficult to spot an appropriate solution.
sudo apt-get install zathuraor justsudo apt-get zathura? If you do not have the install factor, the software will not be, well, installed. – David Dec 23 '19 at 00:54sudo apt-get install zathura, which is performed successfully, and the error remains. Thank you for your edits and suggestion. – Fraguh Dec 23 '19 at 01:17