Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我注意到有一种方法可以使用 Window 中的 X11 来控制安装在虚拟框中的 ubuntu。我的日食在虚拟框中运行得非常不顺畅。因此,我想使用 X11 来帮助我更好地编程。但我不知道如何实现这一目标。
如果您转发 X11 并在 VirtualBox 中运行 Eclipse,您几乎肯定会遇到更严重的问题。X11 转发意味着在 VirtualBox 中运行的所有内容仍在 VirtualBox 中运行,只是现在它通过网络连接发送到您所在的主机。如果您想尝试使用 ssh
ssh -X username@domain.com
然后从提示中打开该工具,看看它是否有帮助。您可能需要从VirtualBoxsshd_config中启用 X11。/etc/ssh/sshd_config
sshd_config
/etc/ssh/sshd_config