On Centos 8 (and maybe other distros), nx-libs are installed under /usr/lib64/nx. x2gopath looks for them under /usr/local/lib/nx and returns an error when they are not found. Workaround: # cd /usr/local/lib/nx # ln -s /usr/lib64/nx/X11 Probably, x2gopath should be modified to look in both /usr/lib64 and /usr/local/lig.