No protocol specifiedxhost: unable to open display ":0" 这是因为在Xserver默认情况下,不允许Linux非当前登录用户(指的是登录ubuntu系统的用户,不是Terminal的)的图形程序的图形显示在当前屏幕上,如果需要这样显示,可以切换ubuntu的登录用户. 网上有说用xhost + 命令的,但我试验没有成功.
在linux中使用cmake时,遇到了"file download hash mismatch",同时status显示"unsupported protocol". google发现问题出在cmake,如同一位网友所言:Based on the error message "unsupported protocol", you probably build CMake without OpenSSL support. 那么解决方案就是build