linux - 使用 SSH 在桌面上打开应用程序

标签 linux ssh linux-mint

所以通常人们会问如何将 x11 转发到本地机器,但我想让应用程序在远程机器的桌面上运行。

假设我从 Windows 机器(使用 putty)ssh 并运行 xclock & disown。如果我然后走到我的桌面并查看屏幕并看到 xclock 在 linux 机器上运行。

有什么办法吗?使用 Mint 13。

最佳答案

一旦我进入 ssh,这对我有用:

export DISPLAY=:0; nohup <command> &>/dev/null &

例如:

export DISPLAY=:0; nohup iceweasel &>/dev/null &

关于linux - 使用 SSH 在桌面上打开应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12040551/

相关文章:

c++ - Boost Asio GCC 链接错误

我可以在我的流程中进行实时调度(但不影响其他人)吗?

ssh - ssh-config通过主机子网

python - 如果默认 python 是 python3,则安装 python2 模块

ubuntu - rethinkdb 安装在 mint rebecca Packages 404 Not Found

c++ - Linux 中的共享内存

php - 检查 php 文件是否在后台运行

node.js - 在 Node.js SSH2 中发送终止 (Ctrl+C) 命令

azure - (如何)通过一个转发端口运行多个 ssh session (端口重定向、隧道)

linux - Anaconda Navigator 无法在 Linux Mint 上启动