About x program and x server
Good Morning Experts ;
I need some information about x program and x server. Already i discussed with unix team but few things are not clear. what's the logic behind setting display variable 0.0 ? Thanks in Advance ..:newbie: |
":0.0" refers to screen zero, on server 0 on the current system, "anothermachine:3.1" would be screen 1 on server three on system "anothermachine".
|
x program and x server How it works with display variable ?
Thanks acid_kewpie . |
how what works??
|
Today i (Oracle guy from Chennai) spoke with unix team about remote n/w connectivity !
I got information like X server is a program and created for X Window System that runs on local machines (typically a keyboard and mouse) on the computers. For ex : work station is SOUTH INDIA and DATABASE SERVER is out of ASIA .. Here i am asking , If i want to connect my server , What is the need to use x program and x server for remote DB connectivity ? Thanks .. |
X or some form of X is not as common as it used to be. Normally you would not transmit an X application to your local X server over the internet. X is a pretty old system and not easy to secure. There are better and faster ways to remote desktop.
Note that this is one of the few exceptions to how one uses the terms server and client. Your display is the server in X. |
Quote:
A server, generically, is some long-running process that can be accessed by a client, and which performs some specified service to that client. In the case of X, the server provides the service of creating and maintaining windows, and drawing graphics and text on the windows, and serving keyboard and pointer activity back to the client. The clients that request it to do so are graphical X applications. In order for an X client application to find an X server, it uses the content of the $DISPLAY environment variable. By documented standard, $DISPLAY contains a hostname (optional), server number, and screen identifiers. The X client adds the number 6000 to the server number, and makes a TCP connection to the port identified by that sum. X traffic is conveyed between client and server on that TCP connection. I think jefro is trying to explain that in most scenarios, the server is on a host that is remote, and your local workstation hosts the client side of a client-server application. Mail servers, and web servers are good examples of this arrangement. In the case of X, the server is generally at your local workstation, while the X clients are applications that may run on remote hosts. Some people find this confusing, probably due to lack of clear understanding of the client-server relationship. --- rod. |
All times are GMT -5. The time now is 02:29 PM. |