包含车辆动态性的车路协同多智能体集成构架
服务器安装VNC
sudo apt update && sudo apt install -y libglu1-mesa-dev mesa-utils xterm xauth x11-xkb-utils xfonts-base xkb-data libxtst6 libxv1
7smsmwbeaxw8gda8
export TURBOVNC_VERSION=2.2.5
export LIBJPEG_VERSION=2.0.90
wget http://aivc.ks3-cn-beijing.ksyun.com/packages/libjpeg-turbo/libjpeg-turbo-official_${LIBJPEG_VERSION}_amd64.deb
wget http://aivc.ks3-cn-beijing.ksyun.com/packages/turbovnc/turbovnc_${TURBOVNC_VERSION}_amd64.deb
sudo dpkg -i libjpeg-turbo-official_${LIBJPEG_VERSION}_amd64.deb
sudo dpkg -i turbovnc_${TURBOVNC_VERSION}_amd64.deb
sudo rm -rf *.deb
# 启动VNC服务端,这一步可能涉及vnc密码配置(注意不是实例的账户密码)。另外如果出现报错xauth未找到,那么使用apt install xauth再安装一次
sudo rm -rf /tmp/.X1* # 如果再次启动,删除上一次的临时文件,否则无法正常启动
sudo USER=ujs /opt/TurboVNC/bin/vncserver :1 -desktop X -auth ~/.Xauthority -geometry 1920x1080 -depth 24 -rfbwait 120000 -rfbauth ~/.vnc/passwd -fp /usr/share/fonts/X11/misc/,/usr/share/fonts -rfbport 6006
# 检查是否启动,如果有vncserver的进程,证明已经启动
ps -ef | grep vnc