我可以重新连接的Xserver


5

我正在寻找像screenX 一样的东西吗?

我想象当我做“X --reconnect remote_server:11”这样的事情时,我重新连接到预先存在的X会话,之前在其上运行的所有程序仍在那里。

有这样的事吗?平台:Linux。

Answers:


3

Xvnc的!我现在在我的无头家庭服务器上运行了一个Xvnc服务器。我必须编辑登录管理器的设置才能正常运行服务器,但它可以工作,并且给我1)用户登录提示和2)可重新连接的会话。它并没有提供显卡硬件的直接访问,因此它无法利用硬件加速的,也没有提供XDMCP或本地控制台登录(据我所知)。但它非常适合仅支持远程的X服务器。

在典型的Ubuntu桌面安装中,GNOME预先配置了一个VNC服务器,该服务器Vino提供了一个可重新连接的远程桌面,但您必须登录到您的控制台才能激活它(Vino不运行gdm,因此它不提供登录提示)。您可以在GNOME的“远程桌面”设置中启用Vino。

典型的X / XDMCP会话不提供此功能,但NoMachine NX也可以启用您正在寻找的功能。您还可以使用x11vnc访问已经运行的远程X会话(类似于Vino)。


这通常可以作为vncserver安装 - 非常有用,我经常使用它。使用Vino,您不仅需要登录控制台,而且任何走过的人都可以看到您正在键入或阅读的内容; 与vnc,没有人能看到它。
香农尼尔森

3

绝对你需要xpra,摘自man page:

   xpra - viewer for remote, persistent X applications

   Xpra is a tool which allows you to run X programs — usually on a remote host — and then direct their display to your local machine, disconnect from these pro‐
   grams, and reconnect from the same or another machine, all without losing any state.  It differs from standard X forwarding in that  it  allows  disconnection
   and  reconnection  without  disrupting  the forwarded application; it differs from VNC and similar remote display technologies in that xpra is rootless: i.e.,
   applications forwarded by xpra appear on your desktop as normal windows managed by your window manager, rather than being all "trapped  in  a  box  together".
   Xpra  also  uses  a  custom  protocol that is self-tuning and relatively latency-insensitive, and thus is usable over network connections that are too slow or
   unreliable for standard X forwarding.

为Xpra +1,一些链接:xpra googlecode(原始项目 - unmaintained),xpra.org(最新的fork)
totaam
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.