在远程机器上执行 gnome-terminal
我在远程计算机上部署了 Ubuntu 16 服务器。我通过 ssh 连接,我想要完成的是使用 gnome-terminal 命令打开一个新终端。我想这样做是因为我有一个执行此命令的 python 脚本,并且需要第二个终端来执行它生成的进程。我收到的错误消息是
无法连接到 Mir:无法连接到服务器套接字:没有这样的文件或目录无法初始化服务器:无法连接:连接被拒绝无法解析参数:无法打开显示:
有什么办法可以解决这个问题吗?
I have an Ubuntu 16 server deployed on a remote machine. I am connecting via ssh
and what I want to accomplish is to open a new terminal using the gnome-terminal
command. I want to to do this because I have a python script that executes this command and needs a second terminal for a process it spawns. The error message I get is
Failed to connect to Mir: Failed to connect to server socket: No such file or directory Unable to init server: Could not connect: Connection refused Failed to parse arguments: Cannot open display:
Is there any way around this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论