在vps上创建centos的远程桌面连接

https://blog.csdn.net/kwame211/article/details/76014361
几个坑,创建的vnclisten的是5901而不是5900,
用的tightvnc java viewer
java -jar tightvnc-jviewer.jar -port=5901 -host xx.xx.xx.xx

用realvnc无法连接默认的5900端口,需要指定port.xx.xx.xx.xx:5901

最后还是用了remote desktop ,这个不需要配置什么东西,其实本身还是用的tightvnc,但是不需要手工配置,太省事了
https://draculaservers.com/tutorials/install-xrdp-centos/