有没有可能为两个用户创建一个“共享”的桌面体验?
也就是说,单个“伪/虚拟”X桌面会话被渲染到同一LAN上两个不同的real X服务器上的一个窗口中。
是的,这可以通过Xvnc和朋友来完成(更好/更快),但这不再是“真正的X”,而需要VNC客户端。现在,我想试着避免这种情况。
这是可以做到的吗?
谢谢
发布于 2011-10-20 02:56:17
使用"real X“是可能的,但据我所知,不能使用Xnest/Xephyr:使用Xdmx是可能的。
- `apt-get install xmdx` on Debian and Ubuntu
机器A (192.168.1.103):中的
- ctrl+alt+f1
- login as root
- stop your display manager (`/etc/init.d/gdm stop`, or kdm stop, or whatever)
- X -noreset -retro -ac :0
- This is needed because you need to allow remote clients to connect to your X session. This is a security problem! There are probably many other ways to do this, but it's out of the scope of your question)
计算机B中的
- create a file called xdmx.conf with the following content:
xdmx.conf:
virtual example0 {
display ":0" 500x500 @0x0;
display "192.168.1.103:0" 500x500 @0x0;
}然后,在计算机B中运行以下命令:
Xdmx -configfile xdmx.conf -config example0 :1 +xinerama
然后,您需要做的就是启动X
DISPLAY=:1 xterm &DISPLAY=:1 metacity &
注意: Xdmx是高度未经测试的。如果在上面发现bug,我也不会感到惊讶!
man Xdmx是你的朋友!
如果您有一些编译和运行X的经验,您可能希望使用xf86-video-nestedv将Xdmx替换为Xorg,但它甚至更复杂……
http://gitorious.org/xf86-drivers-nested/xf86-video-nestedv
https://stackoverflow.com/questions/7278898
复制相似问题