|
发表于 2009-10-18 10:06:21
|
显示全部楼层
俺从来没想过一次连接多台机机的图形界面,值得试试。
Post by d00m3d;2037558
1. 情况是这样的,先配置及连接好 client 及 server 可远程操作,一切正常,但当有第二台 client 尝试连接 server 会无法正确配置第二个 client,而且在第二个 client 发出的命令却只能够在第一个 client 显示,也就是同时连接两个 client 是不行的,有点郁闷 :(
dxpc README 中最后一段,不知合用不。Q: I used to be able to run a dxpc_server on my home machine and an
instance of dxpc_client on each remote machine where I needed to run
X programs. Ever since dxpc-3.0, though, it only lets me run a
single instance of the remote Client Proxy per Server Proxy. How
am I supposed to run X applications on multiple remote machines?
A: Pick one remote machine and run the dxpc Client Proxy on it. On
this host, set the display to unix:8. On all of the other remote
machines, set the display to <hostname>:8, where <hostname> is the
machine where you put the Client Proxy. This allows all of your
remote X applications to enjoy the benefits of the shared font
caches in the Client Proxy (a feature added in 3.0). Post by d00m3d;2037558
2. dxpc 跟 export DISPLAY + xhost 与及 ssh -X 的使用情况相似,并非遥控整个桌面,只能遥控远程应用(指 remote application 非 remote desktop),跟 NX 方式不同
是和 ssh -X 类似。
都可以远程桌面,不过要手工或用脚本,以 ssh -X 为例:- $ X -ac :2 &
- $ export DISPLAY=:2
- $ metacity &
- $ ssh -f -X remoteuser@remotehost gnome-session
复制代码 可惜现在的 gtk qt 程序都不用 X 提供的字体,只能使用远端资源。 |
|