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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 用俺的半瓶醋来讲, 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 的大作中提到】
: 用俺的半瓶醋来讲, 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 的大作中提到】
: 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 楼
这个也可以算是月经问题,过阵子还会有人问的。
相关阅读
本地服务器被大量IP暴力登录Lubuntu里安装了xfce4后仍然跟原版Lubuntu一样顺滑流畅请问有没有可能知道运行中的程序(进程)源自哪个ip?有开源的GIS软件推荐吗?glibc版本过高怎么办?小白问:awk里面引用变量为啥有的加'$'有的不加?能否建立一个虚拟网卡并监听端口?为嘛要折腾Linux OS?My ubuntu at work suddenly rebootedchromebook用哪个linux好?ESR请求捐助debian 8.0 + gnome非常适合笔记本"activation of network connection failed", ubuntu 18.04求教vim下面的pythoncomplete配置折腾无止境:安装yosemite+Win7+RHEL 7.2 on 2014-mid Macbook PROFedora 有个疑惑Desktop getting slow?nand读写检测发现suckless tools的软件都不错st, dmenu, dwmpbs 服务器,作业重新递交的问题