I was reading https://security.stackexchange.com/questions/120612/x-windows-security-vnc-and-x-server-vs-xpra. In the following scenarios, what protocols are encapsulated i.e. above what protocols?
When using
ssh -X, is X protocol right above SSH protocol (which is then right above TCP protocol)? Does x client run on remote host and x server run on local host?When using VNC without SSH, is X protocol right above VNC (i.e. RFB) protocol, which is then right above TCP protocol? Or do both x client and x server run on the remote host, and VNC protocol only transfer the snapshot of the remote desktop to the local host?
When using VNC with SSH, is X protocol right above VNC (i.e. RFB) protocol, which is then right above SSH protocol (which is then right above TCP protocol)?
When using xpra without SSH, is X protocol right above TCP protocol? Does x client run on remote host and x server run on local host?
xpra can also forward the whole desktop, does it work like VNC protocol in that both X client and X server run on the remote host?
When using xpra with SSH, is X protocol right above SSH protocol (which is then right above TCP protocol)?
- Is the difference between xpra and VNC just that xpra implements exactly X protocol, while VNC implements exactly VNC protocol and needs to work with external X protocol? What is really the benefit of having VNC protocol then?
Thanks.