Answers:
Xvnc的!我现在在我的无头家庭服务器上运行了一个Xvnc服务器。我必须编辑登录管理器的设置才能正常运行服务器,但它可以工作,并且给我1)用户登录提示和2)可重新连接的会话。它并没有提供显卡硬件的直接访问,因此它无法利用硬件加速的,也没有提供XDMCP或本地控制台登录(据我所知)。但它非常适合仅支持远程的X服务器。
在典型的Ubuntu桌面安装中,GNOME预先配置了一个VNC服务器,该服务器Vino
提供了一个可重新连接的远程桌面,但您必须登录到您的控制台才能激活它(Vino不运行gdm
,因此它不提供登录提示)。您可以在GNOME的“远程桌面”设置中启用Vino。
典型的X / XDMCP会话不提供此功能,但NoMachine NX也可以启用您正在寻找的功能。您还可以使用x11vnc
访问已经运行的远程X会话(类似于Vino)。
绝对你需要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.