When using GPU in Linxu by ssh to remote server(which supports GPU), I got an error like [quote]
TclError: no display name and no $DISPLAY environment variable
[/quote]
Solution:
run ssh command as
[quote]
ssh -X username@server_ip
[/quote]
Quited from "man ssh"
[quote]
-X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file
[/quote]
TclError: no display name and no $DISPLAY environment variable
[/quote]
Solution:
run ssh command as
[quote]
ssh -X username@server_ip
[/quote]
Quited from "man ssh"
[quote]
-X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file
[/quote]
解决Linixu远程GPU使用显示问题
本文介绍了一种常见的Linux环境下通过SSH远程连接并使用GPU时遇到的显示问题及解决方案。当尝试使用支持GPU的远程服务器时,可能会遇到TclError错误提示:没有显示名称和$DISPLAY环境变量。解决方法是在SSH命令中添加-X参数,即使用ssh -X username@server_ip。
1998

被折叠的 条评论
为什么被折叠?



