# 0.先确认远程服务器的ssh配置
>>> grep X11 /etc/ssh/sshd_config
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
# X11Forwarding no
>>> yum install xauth
>>> systemctl restart sshd.service # 重启服务
# 1.下载putty
# 2.下载Xming和Xming-fonts
https://sourceforge.net/projects/xming/files/
# 3.先安装putty,省略
# 4.安装Xming,安装的时候记得勾选Dont install an SSH client,其它不变,最后的时候取消Launch Xming的勾选
# 5.正常安装Xming-fonts
# 6.启动putty,connection->SSH->X11,在X11forwarding里面勾选Enable X11 forwarding,这里X display location 输入的是:localhost:0 。
# 7.启动vtune-gui,可能会报一堆缺少包的信息,目前下面是我缺少的包
dnf install libglvnd-glx # libGL.so.1
dnf install libxshmfence
dnf install libdrm
dnf install mesa-libgbm
# 8.如果还是失败,可通过下面命令查看缺少的包,然后去官网查并安装
ldd /opt/intel/oneapi/vtune/2021.5.0/bin64/vtune-gui
-------------------------------------------
个性签名:代码过万,键盘敲烂!!!
如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!