VNC versus xpra
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.
x11 vnc xpra
add a comment |
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.
x11 vnc xpra
add a comment |
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.
x11 vnc xpra
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.
x11 vnc xpra
x11 vnc xpra
edited 2 hours ago
Tim
asked 3 hours ago
TimTim
27.6k78264480
27.6k78264480
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Pretty much, yes; the X11 protocol is encapsulated in SSH. The client runs on the remote system, the server runs on the local system.
With VNC, only VNC traffic goes over the network (optionally encapsulated, e.g. using SSH). The X server runs remotely, and the VNC client connects to the VNC server which connects to the X server (or is the X server). X clients can run anywhere as long as they can connect to the X server; typically they’re on the same, remote, system.
Xpra implements its own protocol, it doesn’t forward X11. The situation is identical to VNC. (Xpra can also export a display using HTML5.)
See above. The differences between Xpra and VNC include that Xpra supports rootless windows, provides more control over the display... VNC has been around for longer than Xpra (1998 v. 2008), is supported natively by tools such as QEMU, and has clients available for more platforms than Xpra. Xpra is very much X11-oriented (i.e. it handles X11 clients), whereas VNC can forward displays on many different systems, not necessarily involving X11 (Windows etc.).
Thanks. I remember xpra is a X server (en.wikipedia.org/wiki/Xpra). so does it implement X protocol besides its own protocol? How doess its own implementation of X protocol work and shouldn't x client run on remote and X server (i.e. xpra) run on local? Any difference between xpra used for forwarding the entire desktop and used only for starting a remote X client?
– Tim
2 hours ago
Yes, it implements both protocols: it’s an X11 server for X11 clients (the applications which you want to see), and an Xpra server for Xpra clients. The Xpra protocol isn’t an implementation of X11. The Xpra server typically runs remotely, but it doesn’t have to; however all the X clients have to be able to connect to it (potentially encapsulated). There’s not much difference between forwarding a complete desktop and a single window; could you be more specific?
– Stephen Kitt
1 hour ago
The above isn’t quite right, Xpra doesn’t implement X11 itself, it uses Xvfb as X11 server.
– Stephen Kitt
1 hour ago
Thanks. I have some trouble picturing a diagram of x clients, x server, xpra, and protocols between them, which I guess is the reason that I don't know why my xpra command fails (unix.stackexchange.com/questions/505699/…)?
– Tim
1 hour ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f505690%2fvnc-versus-xpra%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Pretty much, yes; the X11 protocol is encapsulated in SSH. The client runs on the remote system, the server runs on the local system.
With VNC, only VNC traffic goes over the network (optionally encapsulated, e.g. using SSH). The X server runs remotely, and the VNC client connects to the VNC server which connects to the X server (or is the X server). X clients can run anywhere as long as they can connect to the X server; typically they’re on the same, remote, system.
Xpra implements its own protocol, it doesn’t forward X11. The situation is identical to VNC. (Xpra can also export a display using HTML5.)
See above. The differences between Xpra and VNC include that Xpra supports rootless windows, provides more control over the display... VNC has been around for longer than Xpra (1998 v. 2008), is supported natively by tools such as QEMU, and has clients available for more platforms than Xpra. Xpra is very much X11-oriented (i.e. it handles X11 clients), whereas VNC can forward displays on many different systems, not necessarily involving X11 (Windows etc.).
Thanks. I remember xpra is a X server (en.wikipedia.org/wiki/Xpra). so does it implement X protocol besides its own protocol? How doess its own implementation of X protocol work and shouldn't x client run on remote and X server (i.e. xpra) run on local? Any difference between xpra used for forwarding the entire desktop and used only for starting a remote X client?
– Tim
2 hours ago
Yes, it implements both protocols: it’s an X11 server for X11 clients (the applications which you want to see), and an Xpra server for Xpra clients. The Xpra protocol isn’t an implementation of X11. The Xpra server typically runs remotely, but it doesn’t have to; however all the X clients have to be able to connect to it (potentially encapsulated). There’s not much difference between forwarding a complete desktop and a single window; could you be more specific?
– Stephen Kitt
1 hour ago
The above isn’t quite right, Xpra doesn’t implement X11 itself, it uses Xvfb as X11 server.
– Stephen Kitt
1 hour ago
Thanks. I have some trouble picturing a diagram of x clients, x server, xpra, and protocols between them, which I guess is the reason that I don't know why my xpra command fails (unix.stackexchange.com/questions/505699/…)?
– Tim
1 hour ago
add a comment |
Pretty much, yes; the X11 protocol is encapsulated in SSH. The client runs on the remote system, the server runs on the local system.
With VNC, only VNC traffic goes over the network (optionally encapsulated, e.g. using SSH). The X server runs remotely, and the VNC client connects to the VNC server which connects to the X server (or is the X server). X clients can run anywhere as long as they can connect to the X server; typically they’re on the same, remote, system.
Xpra implements its own protocol, it doesn’t forward X11. The situation is identical to VNC. (Xpra can also export a display using HTML5.)
See above. The differences between Xpra and VNC include that Xpra supports rootless windows, provides more control over the display... VNC has been around for longer than Xpra (1998 v. 2008), is supported natively by tools such as QEMU, and has clients available for more platforms than Xpra. Xpra is very much X11-oriented (i.e. it handles X11 clients), whereas VNC can forward displays on many different systems, not necessarily involving X11 (Windows etc.).
Thanks. I remember xpra is a X server (en.wikipedia.org/wiki/Xpra). so does it implement X protocol besides its own protocol? How doess its own implementation of X protocol work and shouldn't x client run on remote and X server (i.e. xpra) run on local? Any difference between xpra used for forwarding the entire desktop and used only for starting a remote X client?
– Tim
2 hours ago
Yes, it implements both protocols: it’s an X11 server for X11 clients (the applications which you want to see), and an Xpra server for Xpra clients. The Xpra protocol isn’t an implementation of X11. The Xpra server typically runs remotely, but it doesn’t have to; however all the X clients have to be able to connect to it (potentially encapsulated). There’s not much difference between forwarding a complete desktop and a single window; could you be more specific?
– Stephen Kitt
1 hour ago
The above isn’t quite right, Xpra doesn’t implement X11 itself, it uses Xvfb as X11 server.
– Stephen Kitt
1 hour ago
Thanks. I have some trouble picturing a diagram of x clients, x server, xpra, and protocols between them, which I guess is the reason that I don't know why my xpra command fails (unix.stackexchange.com/questions/505699/…)?
– Tim
1 hour ago
add a comment |
Pretty much, yes; the X11 protocol is encapsulated in SSH. The client runs on the remote system, the server runs on the local system.
With VNC, only VNC traffic goes over the network (optionally encapsulated, e.g. using SSH). The X server runs remotely, and the VNC client connects to the VNC server which connects to the X server (or is the X server). X clients can run anywhere as long as they can connect to the X server; typically they’re on the same, remote, system.
Xpra implements its own protocol, it doesn’t forward X11. The situation is identical to VNC. (Xpra can also export a display using HTML5.)
See above. The differences between Xpra and VNC include that Xpra supports rootless windows, provides more control over the display... VNC has been around for longer than Xpra (1998 v. 2008), is supported natively by tools such as QEMU, and has clients available for more platforms than Xpra. Xpra is very much X11-oriented (i.e. it handles X11 clients), whereas VNC can forward displays on many different systems, not necessarily involving X11 (Windows etc.).
Pretty much, yes; the X11 protocol is encapsulated in SSH. The client runs on the remote system, the server runs on the local system.
With VNC, only VNC traffic goes over the network (optionally encapsulated, e.g. using SSH). The X server runs remotely, and the VNC client connects to the VNC server which connects to the X server (or is the X server). X clients can run anywhere as long as they can connect to the X server; typically they’re on the same, remote, system.
Xpra implements its own protocol, it doesn’t forward X11. The situation is identical to VNC. (Xpra can also export a display using HTML5.)
See above. The differences between Xpra and VNC include that Xpra supports rootless windows, provides more control over the display... VNC has been around for longer than Xpra (1998 v. 2008), is supported natively by tools such as QEMU, and has clients available for more platforms than Xpra. Xpra is very much X11-oriented (i.e. it handles X11 clients), whereas VNC can forward displays on many different systems, not necessarily involving X11 (Windows etc.).
edited 1 hour ago
answered 2 hours ago
Stephen KittStephen Kitt
175k24400478
175k24400478
Thanks. I remember xpra is a X server (en.wikipedia.org/wiki/Xpra). so does it implement X protocol besides its own protocol? How doess its own implementation of X protocol work and shouldn't x client run on remote and X server (i.e. xpra) run on local? Any difference between xpra used for forwarding the entire desktop and used only for starting a remote X client?
– Tim
2 hours ago
Yes, it implements both protocols: it’s an X11 server for X11 clients (the applications which you want to see), and an Xpra server for Xpra clients. The Xpra protocol isn’t an implementation of X11. The Xpra server typically runs remotely, but it doesn’t have to; however all the X clients have to be able to connect to it (potentially encapsulated). There’s not much difference between forwarding a complete desktop and a single window; could you be more specific?
– Stephen Kitt
1 hour ago
The above isn’t quite right, Xpra doesn’t implement X11 itself, it uses Xvfb as X11 server.
– Stephen Kitt
1 hour ago
Thanks. I have some trouble picturing a diagram of x clients, x server, xpra, and protocols between them, which I guess is the reason that I don't know why my xpra command fails (unix.stackexchange.com/questions/505699/…)?
– Tim
1 hour ago
add a comment |
Thanks. I remember xpra is a X server (en.wikipedia.org/wiki/Xpra). so does it implement X protocol besides its own protocol? How doess its own implementation of X protocol work and shouldn't x client run on remote and X server (i.e. xpra) run on local? Any difference between xpra used for forwarding the entire desktop and used only for starting a remote X client?
– Tim
2 hours ago
Yes, it implements both protocols: it’s an X11 server for X11 clients (the applications which you want to see), and an Xpra server for Xpra clients. The Xpra protocol isn’t an implementation of X11. The Xpra server typically runs remotely, but it doesn’t have to; however all the X clients have to be able to connect to it (potentially encapsulated). There’s not much difference between forwarding a complete desktop and a single window; could you be more specific?
– Stephen Kitt
1 hour ago
The above isn’t quite right, Xpra doesn’t implement X11 itself, it uses Xvfb as X11 server.
– Stephen Kitt
1 hour ago
Thanks. I have some trouble picturing a diagram of x clients, x server, xpra, and protocols between them, which I guess is the reason that I don't know why my xpra command fails (unix.stackexchange.com/questions/505699/…)?
– Tim
1 hour ago
Thanks. I remember xpra is a X server (en.wikipedia.org/wiki/Xpra). so does it implement X protocol besides its own protocol? How doess its own implementation of X protocol work and shouldn't x client run on remote and X server (i.e. xpra) run on local? Any difference between xpra used for forwarding the entire desktop and used only for starting a remote X client?
– Tim
2 hours ago
Thanks. I remember xpra is a X server (en.wikipedia.org/wiki/Xpra). so does it implement X protocol besides its own protocol? How doess its own implementation of X protocol work and shouldn't x client run on remote and X server (i.e. xpra) run on local? Any difference between xpra used for forwarding the entire desktop and used only for starting a remote X client?
– Tim
2 hours ago
Yes, it implements both protocols: it’s an X11 server for X11 clients (the applications which you want to see), and an Xpra server for Xpra clients. The Xpra protocol isn’t an implementation of X11. The Xpra server typically runs remotely, but it doesn’t have to; however all the X clients have to be able to connect to it (potentially encapsulated). There’s not much difference between forwarding a complete desktop and a single window; could you be more specific?
– Stephen Kitt
1 hour ago
Yes, it implements both protocols: it’s an X11 server for X11 clients (the applications which you want to see), and an Xpra server for Xpra clients. The Xpra protocol isn’t an implementation of X11. The Xpra server typically runs remotely, but it doesn’t have to; however all the X clients have to be able to connect to it (potentially encapsulated). There’s not much difference between forwarding a complete desktop and a single window; could you be more specific?
– Stephen Kitt
1 hour ago
The above isn’t quite right, Xpra doesn’t implement X11 itself, it uses Xvfb as X11 server.
– Stephen Kitt
1 hour ago
The above isn’t quite right, Xpra doesn’t implement X11 itself, it uses Xvfb as X11 server.
– Stephen Kitt
1 hour ago
Thanks. I have some trouble picturing a diagram of x clients, x server, xpra, and protocols between them, which I guess is the reason that I don't know why my xpra command fails (unix.stackexchange.com/questions/505699/…)?
– Tim
1 hour ago
Thanks. I have some trouble picturing a diagram of x clients, x server, xpra, and protocols between them, which I guess is the reason that I don't know why my xpra command fails (unix.stackexchange.com/questions/505699/…)?
– Tim
1 hour ago
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f505690%2fvnc-versus-xpra%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown