XOpenDisplay

Al'miev Il'dar dria1 at yandex.ru
Thu Feb 17 23:04:10 PST 2011


Hello, i am a beginner in X-Windows, i have a question:

in the function XOpenDisplay(display_name), where

display_name=hostname:displaynumber.screennumber,

1) does "hostname" mean a name of a computer, physically existing, where it would be necessary to open a graphical applications (that is a computer-client), or is it a computer-server ?

2) what is "displaynumber" and  "screennumber" in terms of physically existing displays-screens and computer-client(s) and computer-server ?

3) what is the difference between the terms "display" and "screen" ?

4) if display_name=NULL, then display is opened in the local computer - this is implicit
designation of the local computer, How to provide display_name explicitly ? that is
would it work for example:

local:0.0 ?

3) is it possible to provide "hostname"=1.2.3.4. (which is an IP-address), instead of the name of the computer ?

would appreciate your answers to the e-mail: dria1 at yandex.ru

thank you.

Ildar



More information about the xorg mailing list