a*3
2 楼
X Window System是用 C/S Architecture. 譬如,
Computer1 是 X Server
Computer2 是 X Client, which connects to Computer 1.
1.X Server 有 keyboard/mouse/display 等hw的information.但这些 information是
Computer2 还是 Computer1的呢?
2.最终谁把display buffer flush到hardware (eg. /dev/fb0) 的? 如果是X Server,
那它怎样能够control remote computer2的hardware呢? 我认为应该是由X Cilent来负
责,但好象又有点不对.
Computer1 是 X Server
Computer2 是 X Client, which connects to Computer 1.
1.X Server 有 keyboard/mouse/display 等hw的information.但这些 information是
Computer2 还是 Computer1的呢?
2.最终谁把display buffer flush到hardware (eg. /dev/fb0) 的? 如果是X Server,
那它怎样能够control remote computer2的hardware呢? 我认为应该是由X Cilent来负
责,但好象又有点不对.
a*e
3 楼
用俺的半瓶醋来讲, x server没有hw信息,hw信息应该是kernel管, x server只管啥
interface来啥请求? xserver当然是用的server端的硬件了
xserver控制不了remote computer2的硬件,remote的硬件是client得xserve管理
是
【在 a*****3 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: X Window System是用 C/S Architecture. 譬如,
: Computer1 是 X Server
: Computer2 是 X Client, which connects to Computer 1.
: 1.X Server 有 keyboard/mouse/display 等hw的information.但这些 information是
: Computer2 还是 Computer1的呢?
: 2.最终谁把display buffer flush到hardware (eg. /dev/fb0) 的? 如果是X Server,
: 那它怎样能够control remote computer2的hardware呢? 我认为应该是由X Cilent来负
: 责,但好象又有点不对.
interface来啥请求? xserver当然是用的server端的硬件了
xserver控制不了remote computer2的硬件,remote的硬件是client得xserve管理
是
【在 a*****3 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: X Window System是用 C/S Architecture. 譬如,
: Computer1 是 X Server
: Computer2 是 X Client, which connects to Computer 1.
: 1.X Server 有 keyboard/mouse/display 等hw的information.但这些 information是
: Computer2 还是 Computer1的呢?
: 2.最终谁把display buffer flush到hardware (eg. /dev/fb0) 的? 如果是X Server,
: 那它怎样能够control remote computer2的hardware呢? 我认为应该是由X Cilent来负
: 责,但好象又有点不对.
a*3
4 楼
你是说,在computer2也有一个xserver在run吗?这样不就变成:
xclient (computer2) -> xserver (computer2) -> xserver (computer1)
每个xclient都有一个local xserver? X Window System应该不是这样design的吧?
【在 a*******e 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 用俺的半瓶醋来讲, x server没有hw信息,hw信息应该是kernel管, x server只管啥
: interface来啥请求? xserver当然是用的server端的硬件了
: xserver控制不了remote computer2的硬件,remote的硬件是client得xserve管理
:
: 是
xclient (computer2) -> xserver (computer2) -> xserver (computer1)
每个xclient都有一个local xserver? X Window System应该不是这样design的吧?
【在 a*******e 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 用俺的半瓶醋来讲, x server没有hw信息,hw信息应该是kernel管, x server只管啥
: interface来啥请求? xserver当然是用的server端的硬件了
: xserver控制不了remote computer2的硬件,remote的硬件是client得xserve管理
:
: 是
r*t
7 楼
是
X server 在哪个机器上,它的 hw information 就是哪个机器上的,xserver 又不是
神仙。
should be x client. you need to read the code to know.
【在 a*****3 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: X Window System是用 C/S Architecture. 譬如,
: Computer1 是 X Server
: Computer2 是 X Client, which connects to Computer 1.
: 1.X Server 有 keyboard/mouse/display 等hw的information.但这些 information是
: Computer2 还是 Computer1的呢?
: 2.最终谁把display buffer flush到hardware (eg. /dev/fb0) 的? 如果是X Server,
: 那它怎样能够control remote computer2的hardware呢? 我认为应该是由X Cilent来负
: 责,但好象又有点不对.
a*3
8 楼
OK, after intensive study. Finally I understand the X Client/Server architecture. Actually it is quite simple and it is stated in wikipedia clearly but if you don't get it, even a simple thing becomes complicated.
The major thing confusing me is the term of the server/client in X. It is actually different to the traditional concept.
- In the traditional, the server is the service provider and the client is the console/machine where the user (person) is sitting in front of and displays the output
The major thing confusing me is the term of the server/client in X. It is actually different to the traditional concept.
- In the traditional, the server is the service provider and the client is the console/machine where the user (person) is sitting in front of and displays the output
r*t
9 楼
这个也可以算是月经问题,过阵子还会有人问的。
相关阅读
Cisco Unified Computing System默认启动X11的问题vim和emacs的区别facebook一上传照片就死机是怎么回事?Editor war : emacs vs vimicrosoft really knows how to do bussinesshaha,鸟枪换炮了有没有vim给程序员的入门教程?主要用c.谁知道哪有redhat7.2下what packages needed to init 5 X11谁帮忙看看我这个gvim字体为什么分得那么开?求一个脚本vim8's new feature.foxmarks 现在支持IE7和safari 了how to connect seagate freeagent 1T drive to Fedora 10?Linux 下PHP是否可以取得windows Active Directory改密码的问题screen里面的vi和不用screen的vi字体颜色不一样。woohoo, Linux hater is back and ESR actually agrees with him!Linux Kernel 2.6.29 Released