Thread: Remote X11?
View Single Post
Old 03-01-2013, 12:34 AM   #6
timb.us
Enthusiast
timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.
 
Posts: 32
Karma: 563888
Join Date: Feb 2013
Device: Kindle PW, iPad 2
Quote:
Originally Posted by twobob View Post
okay... like using... err.... x2vnc without the vnc right? to project the display .. okay I think I "get" the request
Yeah, sort of. You see, X11 (Xorg) runs on a kind of client/server interface. Essentially, X itself is a server. The applications (Xeyes, Midori, Xterm, etc.) are the clients. On a normal PC running Linux, Xorg runs in the background and when an application is launched (say Xterm for example) it connects to the X server via sockets. All the data about where to draw what window elements is transmitted over this local network connection.

Now, here's the cool bit, because X runs as a server, you can have applications run on a remote machine and show on your local machine through Xauth.

For example, I have Xquartz (Xorg for OS X) install on my MacBook Air, if I SSH into my Raspberry Pi with the -X flag, which tells SSH that I want to forward X Windows sessions through the SSH tunnel, and then I launch a app on the Pi from that session (Midori), it will be rendered and displayed by Xquarts on my MacBook Air, instead of the Xorg instance running on the Pi.

Make sense? Here's a good, concise overview of how X works: http://www.freebsd.org/doc/handbook/...rstanding.html

Edit: Taking a look at that stuff you zipped up.
timb.us is offline   Reply With Quote