Does a display server start in a display or a screen or a monitor?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
https://unix.stackexchange.com/a/503874/674 says
The display is effectively the X server; there is exactly one display per X server. So multiple X servers can’t run simultaneously
on the same display, and an X server can’t run simultaneously on
multiple displays. (Strictly speaking, the latter point isn’t
correct, but I don’t think there’s an X server which can serve
multiple displays.)https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a
display can have multiple screens/monitors.$DISPLAY
specifies a
screen, not just a display, and is used in starting a X server or a
X client. So does a X server start in a display or a screen? So
does a X server start in a display or a screen?https://unix.stackexchange.com/a/503884/674 has a diagram that
distinguishes screen and monitor, while https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 seems to say
they are the same concept when explaining screen number. Which one is correct?shows a X server covers all the screens in a display. So does a display server start in a display or a screen or a monitor?
Can I specify an arbitrary `$DISPLAY`?
says:
An xserver can use a hardware framebuffer, a dummy framebuffer (Xvfb) or a window on another xserver (Xephyr). The latter two are
examples of "virtual" xserver/displayIs a framebuffer associated with a display or a screen or a monitor?
Sorry I am still confused by the multiple concepts. Thanks.
x11 display
add a comment |
https://unix.stackexchange.com/a/503874/674 says
The display is effectively the X server; there is exactly one display per X server. So multiple X servers can’t run simultaneously
on the same display, and an X server can’t run simultaneously on
multiple displays. (Strictly speaking, the latter point isn’t
correct, but I don’t think there’s an X server which can serve
multiple displays.)https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a
display can have multiple screens/monitors.$DISPLAY
specifies a
screen, not just a display, and is used in starting a X server or a
X client. So does a X server start in a display or a screen? So
does a X server start in a display or a screen?https://unix.stackexchange.com/a/503884/674 has a diagram that
distinguishes screen and monitor, while https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 seems to say
they are the same concept when explaining screen number. Which one is correct?shows a X server covers all the screens in a display. So does a display server start in a display or a screen or a monitor?
Can I specify an arbitrary `$DISPLAY`?
says:
An xserver can use a hardware framebuffer, a dummy framebuffer (Xvfb) or a window on another xserver (Xephyr). The latter two are
examples of "virtual" xserver/displayIs a framebuffer associated with a display or a screen or a monitor?
Sorry I am still confused by the multiple concepts. Thanks.
x11 display
1
Then what have YOU go through in your mind? Basically nothing and just waiting for answer?
– 炸鱼薯条德里克
Mar 13 at 14:11
1
Good question includes your own efforts
– 炸鱼薯条德里克
Mar 13 at 14:20
add a comment |
https://unix.stackexchange.com/a/503874/674 says
The display is effectively the X server; there is exactly one display per X server. So multiple X servers can’t run simultaneously
on the same display, and an X server can’t run simultaneously on
multiple displays. (Strictly speaking, the latter point isn’t
correct, but I don’t think there’s an X server which can serve
multiple displays.)https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a
display can have multiple screens/monitors.$DISPLAY
specifies a
screen, not just a display, and is used in starting a X server or a
X client. So does a X server start in a display or a screen? So
does a X server start in a display or a screen?https://unix.stackexchange.com/a/503884/674 has a diagram that
distinguishes screen and monitor, while https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 seems to say
they are the same concept when explaining screen number. Which one is correct?shows a X server covers all the screens in a display. So does a display server start in a display or a screen or a monitor?
Can I specify an arbitrary `$DISPLAY`?
says:
An xserver can use a hardware framebuffer, a dummy framebuffer (Xvfb) or a window on another xserver (Xephyr). The latter two are
examples of "virtual" xserver/displayIs a framebuffer associated with a display or a screen or a monitor?
Sorry I am still confused by the multiple concepts. Thanks.
x11 display
https://unix.stackexchange.com/a/503874/674 says
The display is effectively the X server; there is exactly one display per X server. So multiple X servers can’t run simultaneously
on the same display, and an X server can’t run simultaneously on
multiple displays. (Strictly speaking, the latter point isn’t
correct, but I don’t think there’s an X server which can serve
multiple displays.)https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a
display can have multiple screens/monitors.$DISPLAY
specifies a
screen, not just a display, and is used in starting a X server or a
X client. So does a X server start in a display or a screen? So
does a X server start in a display or a screen?https://unix.stackexchange.com/a/503884/674 has a diagram that
distinguishes screen and monitor, while https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 seems to say
they are the same concept when explaining screen number. Which one is correct?shows a X server covers all the screens in a display. So does a display server start in a display or a screen or a monitor?
Can I specify an arbitrary `$DISPLAY`?
says:
An xserver can use a hardware framebuffer, a dummy framebuffer (Xvfb) or a window on another xserver (Xephyr). The latter two are
examples of "virtual" xserver/displayIs a framebuffer associated with a display or a screen or a monitor?
Sorry I am still confused by the multiple concepts. Thanks.
x11 display
x11 display
edited Mar 13 at 22:51
Tim
asked Mar 13 at 13:38
TimTim
28.6k79269492
28.6k79269492
1
Then what have YOU go through in your mind? Basically nothing and just waiting for answer?
– 炸鱼薯条德里克
Mar 13 at 14:11
1
Good question includes your own efforts
– 炸鱼薯条德里克
Mar 13 at 14:20
add a comment |
1
Then what have YOU go through in your mind? Basically nothing and just waiting for answer?
– 炸鱼薯条德里克
Mar 13 at 14:11
1
Good question includes your own efforts
– 炸鱼薯条德里克
Mar 13 at 14:20
1
1
Then what have YOU go through in your mind? Basically nothing and just waiting for answer?
– 炸鱼薯条德里克
Mar 13 at 14:11
Then what have YOU go through in your mind? Basically nothing and just waiting for answer?
– 炸鱼薯条德里克
Mar 13 at 14:11
1
1
Good question includes your own efforts
– 炸鱼薯条德里克
Mar 13 at 14:20
Good question includes your own efforts
– 炸鱼薯条德里克
Mar 13 at 14:20
add a comment |
2 Answers
2
active
oldest
votes
So does a X server start in a display or a screen?
I’m not sure how to say this in a different way than I did previously; for all intents and purposes, the X server is a display (“display” as the X Window concept, which I understand is what we’re discussing here). An X server doesn’t start in a display, it is a display. You can think of this as “an X server starts a display”, and “a display contains one or more screens”.
The DISPLAY
variable can be confusing since, as you say, it can specify more than the X display.
Which one is correct?
The diagram; see the explanation below.
Does a display server start in a display or a screen or a monitor?
In the X Window documentation, “display server” is synonymous with X server, so the above applies.
It may help to consider that the X Window documentation was written a long time ago, at a time when virtual displays weren’t used (much, if at all), and when multi-monitor setups were complex and often involved multiple X screens, and sometimes even multiple X servers. So in the X documentation, a screen is usually a monitor. However it quickly became obvious that it was annoying to split multiple monitors into multiple screens, and once graphics cards became capable of handling multiple monitors as a single unit, usage patterns changed so that X screens tended to cover multiple monitors.
Is a framebuffer associated with a display or a screen or a monitor?
“Framebuffer” is a somewhat nebulous term, with multiple definitions. In the context of the comment you’re quoting, it’s associated with a screen, and you can see this with Xvfb
: if you tell it to use memory-mapped files for its framebuffers, and define multiple screens, you’ll see it use one framebuffer file per screen.
x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a display can have multiple screens/monitors. $DISPLAY specifies a screen, not just a display, and is used in starting a X server or a X client. So does a X server start in a display or a screen? So does a X server start in a display or a screen?
– Tim
Mar 13 at 22:52
Thanks. I maybe wasn't clear about my first two questions. Now I updated my post, trying to be clearer.
– Tim
Mar 13 at 22:56
Is that true your web browser doesn't render italic font at all? If so, does it render capitalized English letters? @Tim
– 炸鱼薯条德里克
Mar 14 at 0:24
@Tim, you’ve asked “So does a X server start in a display or a screen?” four times now (twice in your question, twice in your comment). What do you not find clear when I say “An X server doesn’t start in a display, it is a display.”? Your question is like asking if a crayon is in a pencil.
– Stephen Kitt
Mar 14 at 6:34
@Tim assuming an Xserver with multiple "screens" (multiple monitors are nowadays managed as part of the same screen viaxrandr
): an application that successfully connected to a X11 server viaDISPLAY=:0.1
is not forced to use just screen1
: the screen part of the display spec only determines what screen will be the default, ie whatDefaultScreen(dpy)
andDefaultScreenOfDisplay(dpy)
will return.
– mosvy
Mar 14 at 7:42
|
show 9 more comments
As you been told the 1000th time, the display IS the X server. So "X server run in a display" makes no sense.
X document use "display" to refer a bunch of hardware because in the old time, X servers usually(if not always) take control of and render to real hardware, but nowadays, many modern servers are able to run on and render to non-real(virtual) hardware-based target, e.g. Xephyr
or Xvfb
or Xorg with dummy video driver
. The document don't get update very often, but it's not proper to say "A display is a bunch of hardware" on modern systems, it would be much better to say "A display is a running X server process".
An X server listens on an address(es), this address(es) can be connected using X11 protocol. How the X11 protocol data is transported is purely a platform specific thing, it could be a pair of TCP sockets, a TCP socket on the posix server side and a magic object on the non-posix client side(basically any two connected TCP endpoint), a pair of locally connected UDS(basically any two connected IPC endpoint, in which case X window system may become more powerful and efficient because the client and server run on the same machine, things like DRI becomes possible).
An X server might run multiple X screens(not to be confused with real-life monitors), and might handle multiple framebuffer (no matter real GPU framebuffer or malloc()
buffer or mmap()
disk-file memory space region), frambuffers doesn't have strict mapping with X screens, depends on your driver, settings, and which kind of X server you use.
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%2f506092%2fdoes-a-display-server-start-in-a-display-or-a-screen-or-a-monitor%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
So does a X server start in a display or a screen?
I’m not sure how to say this in a different way than I did previously; for all intents and purposes, the X server is a display (“display” as the X Window concept, which I understand is what we’re discussing here). An X server doesn’t start in a display, it is a display. You can think of this as “an X server starts a display”, and “a display contains one or more screens”.
The DISPLAY
variable can be confusing since, as you say, it can specify more than the X display.
Which one is correct?
The diagram; see the explanation below.
Does a display server start in a display or a screen or a monitor?
In the X Window documentation, “display server” is synonymous with X server, so the above applies.
It may help to consider that the X Window documentation was written a long time ago, at a time when virtual displays weren’t used (much, if at all), and when multi-monitor setups were complex and often involved multiple X screens, and sometimes even multiple X servers. So in the X documentation, a screen is usually a monitor. However it quickly became obvious that it was annoying to split multiple monitors into multiple screens, and once graphics cards became capable of handling multiple monitors as a single unit, usage patterns changed so that X screens tended to cover multiple monitors.
Is a framebuffer associated with a display or a screen or a monitor?
“Framebuffer” is a somewhat nebulous term, with multiple definitions. In the context of the comment you’re quoting, it’s associated with a screen, and you can see this with Xvfb
: if you tell it to use memory-mapped files for its framebuffers, and define multiple screens, you’ll see it use one framebuffer file per screen.
x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a display can have multiple screens/monitors. $DISPLAY specifies a screen, not just a display, and is used in starting a X server or a X client. So does a X server start in a display or a screen? So does a X server start in a display or a screen?
– Tim
Mar 13 at 22:52
Thanks. I maybe wasn't clear about my first two questions. Now I updated my post, trying to be clearer.
– Tim
Mar 13 at 22:56
Is that true your web browser doesn't render italic font at all? If so, does it render capitalized English letters? @Tim
– 炸鱼薯条德里克
Mar 14 at 0:24
@Tim, you’ve asked “So does a X server start in a display or a screen?” four times now (twice in your question, twice in your comment). What do you not find clear when I say “An X server doesn’t start in a display, it is a display.”? Your question is like asking if a crayon is in a pencil.
– Stephen Kitt
Mar 14 at 6:34
@Tim assuming an Xserver with multiple "screens" (multiple monitors are nowadays managed as part of the same screen viaxrandr
): an application that successfully connected to a X11 server viaDISPLAY=:0.1
is not forced to use just screen1
: the screen part of the display spec only determines what screen will be the default, ie whatDefaultScreen(dpy)
andDefaultScreenOfDisplay(dpy)
will return.
– mosvy
Mar 14 at 7:42
|
show 9 more comments
So does a X server start in a display or a screen?
I’m not sure how to say this in a different way than I did previously; for all intents and purposes, the X server is a display (“display” as the X Window concept, which I understand is what we’re discussing here). An X server doesn’t start in a display, it is a display. You can think of this as “an X server starts a display”, and “a display contains one or more screens”.
The DISPLAY
variable can be confusing since, as you say, it can specify more than the X display.
Which one is correct?
The diagram; see the explanation below.
Does a display server start in a display or a screen or a monitor?
In the X Window documentation, “display server” is synonymous with X server, so the above applies.
It may help to consider that the X Window documentation was written a long time ago, at a time when virtual displays weren’t used (much, if at all), and when multi-monitor setups were complex and often involved multiple X screens, and sometimes even multiple X servers. So in the X documentation, a screen is usually a monitor. However it quickly became obvious that it was annoying to split multiple monitors into multiple screens, and once graphics cards became capable of handling multiple monitors as a single unit, usage patterns changed so that X screens tended to cover multiple monitors.
Is a framebuffer associated with a display or a screen or a monitor?
“Framebuffer” is a somewhat nebulous term, with multiple definitions. In the context of the comment you’re quoting, it’s associated with a screen, and you can see this with Xvfb
: if you tell it to use memory-mapped files for its framebuffers, and define multiple screens, you’ll see it use one framebuffer file per screen.
x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a display can have multiple screens/monitors. $DISPLAY specifies a screen, not just a display, and is used in starting a X server or a X client. So does a X server start in a display or a screen? So does a X server start in a display or a screen?
– Tim
Mar 13 at 22:52
Thanks. I maybe wasn't clear about my first two questions. Now I updated my post, trying to be clearer.
– Tim
Mar 13 at 22:56
Is that true your web browser doesn't render italic font at all? If so, does it render capitalized English letters? @Tim
– 炸鱼薯条德里克
Mar 14 at 0:24
@Tim, you’ve asked “So does a X server start in a display or a screen?” four times now (twice in your question, twice in your comment). What do you not find clear when I say “An X server doesn’t start in a display, it is a display.”? Your question is like asking if a crayon is in a pencil.
– Stephen Kitt
Mar 14 at 6:34
@Tim assuming an Xserver with multiple "screens" (multiple monitors are nowadays managed as part of the same screen viaxrandr
): an application that successfully connected to a X11 server viaDISPLAY=:0.1
is not forced to use just screen1
: the screen part of the display spec only determines what screen will be the default, ie whatDefaultScreen(dpy)
andDefaultScreenOfDisplay(dpy)
will return.
– mosvy
Mar 14 at 7:42
|
show 9 more comments
So does a X server start in a display or a screen?
I’m not sure how to say this in a different way than I did previously; for all intents and purposes, the X server is a display (“display” as the X Window concept, which I understand is what we’re discussing here). An X server doesn’t start in a display, it is a display. You can think of this as “an X server starts a display”, and “a display contains one or more screens”.
The DISPLAY
variable can be confusing since, as you say, it can specify more than the X display.
Which one is correct?
The diagram; see the explanation below.
Does a display server start in a display or a screen or a monitor?
In the X Window documentation, “display server” is synonymous with X server, so the above applies.
It may help to consider that the X Window documentation was written a long time ago, at a time when virtual displays weren’t used (much, if at all), and when multi-monitor setups were complex and often involved multiple X screens, and sometimes even multiple X servers. So in the X documentation, a screen is usually a monitor. However it quickly became obvious that it was annoying to split multiple monitors into multiple screens, and once graphics cards became capable of handling multiple monitors as a single unit, usage patterns changed so that X screens tended to cover multiple monitors.
Is a framebuffer associated with a display or a screen or a monitor?
“Framebuffer” is a somewhat nebulous term, with multiple definitions. In the context of the comment you’re quoting, it’s associated with a screen, and you can see this with Xvfb
: if you tell it to use memory-mapped files for its framebuffers, and define multiple screens, you’ll see it use one framebuffer file per screen.
So does a X server start in a display or a screen?
I’m not sure how to say this in a different way than I did previously; for all intents and purposes, the X server is a display (“display” as the X Window concept, which I understand is what we’re discussing here). An X server doesn’t start in a display, it is a display. You can think of this as “an X server starts a display”, and “a display contains one or more screens”.
The DISPLAY
variable can be confusing since, as you say, it can specify more than the X display.
Which one is correct?
The diagram; see the explanation below.
Does a display server start in a display or a screen or a monitor?
In the X Window documentation, “display server” is synonymous with X server, so the above applies.
It may help to consider that the X Window documentation was written a long time ago, at a time when virtual displays weren’t used (much, if at all), and when multi-monitor setups were complex and often involved multiple X screens, and sometimes even multiple X servers. So in the X documentation, a screen is usually a monitor. However it quickly became obvious that it was annoying to split multiple monitors into multiple screens, and once graphics cards became capable of handling multiple monitors as a single unit, usage patterns changed so that X screens tended to cover multiple monitors.
Is a framebuffer associated with a display or a screen or a monitor?
“Framebuffer” is a somewhat nebulous term, with multiple definitions. In the context of the comment you’re quoting, it’s associated with a screen, and you can see this with Xvfb
: if you tell it to use memory-mapped files for its framebuffers, and define multiple screens, you’ll see it use one framebuffer file per screen.
edited Mar 14 at 7:37
answered Mar 13 at 15:01
Stephen KittStephen Kitt
181k25414493
181k25414493
x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a display can have multiple screens/monitors. $DISPLAY specifies a screen, not just a display, and is used in starting a X server or a X client. So does a X server start in a display or a screen? So does a X server start in a display or a screen?
– Tim
Mar 13 at 22:52
Thanks. I maybe wasn't clear about my first two questions. Now I updated my post, trying to be clearer.
– Tim
Mar 13 at 22:56
Is that true your web browser doesn't render italic font at all? If so, does it render capitalized English letters? @Tim
– 炸鱼薯条德里克
Mar 14 at 0:24
@Tim, you’ve asked “So does a X server start in a display or a screen?” four times now (twice in your question, twice in your comment). What do you not find clear when I say “An X server doesn’t start in a display, it is a display.”? Your question is like asking if a crayon is in a pencil.
– Stephen Kitt
Mar 14 at 6:34
@Tim assuming an Xserver with multiple "screens" (multiple monitors are nowadays managed as part of the same screen viaxrandr
): an application that successfully connected to a X11 server viaDISPLAY=:0.1
is not forced to use just screen1
: the screen part of the display spec only determines what screen will be the default, ie whatDefaultScreen(dpy)
andDefaultScreenOfDisplay(dpy)
will return.
– mosvy
Mar 14 at 7:42
|
show 9 more comments
x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a display can have multiple screens/monitors. $DISPLAY specifies a screen, not just a display, and is used in starting a X server or a X client. So does a X server start in a display or a screen? So does a X server start in a display or a screen?
– Tim
Mar 13 at 22:52
Thanks. I maybe wasn't clear about my first two questions. Now I updated my post, trying to be clearer.
– Tim
Mar 13 at 22:56
Is that true your web browser doesn't render italic font at all? If so, does it render capitalized English letters? @Tim
– 炸鱼薯条德里克
Mar 14 at 0:24
@Tim, you’ve asked “So does a X server start in a display or a screen?” four times now (twice in your question, twice in your comment). What do you not find clear when I say “An X server doesn’t start in a display, it is a display.”? Your question is like asking if a crayon is in a pencil.
– Stephen Kitt
Mar 14 at 6:34
@Tim assuming an Xserver with multiple "screens" (multiple monitors are nowadays managed as part of the same screen viaxrandr
): an application that successfully connected to a X11 server viaDISPLAY=:0.1
is not forced to use just screen1
: the screen part of the display spec only determines what screen will be the default, ie whatDefaultScreen(dpy)
andDefaultScreenOfDisplay(dpy)
will return.
– mosvy
Mar 14 at 7:42
x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a display can have multiple screens/monitors. $DISPLAY specifies a screen, not just a display, and is used in starting a X server or a X client. So does a X server start in a display or a screen? So does a X server start in a display or a screen?
– Tim
Mar 13 at 22:52
x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a display can have multiple screens/monitors. $DISPLAY specifies a screen, not just a display, and is used in starting a X server or a X client. So does a X server start in a display or a screen? So does a X server start in a display or a screen?
– Tim
Mar 13 at 22:52
Thanks. I maybe wasn't clear about my first two questions. Now I updated my post, trying to be clearer.
– Tim
Mar 13 at 22:56
Thanks. I maybe wasn't clear about my first two questions. Now I updated my post, trying to be clearer.
– Tim
Mar 13 at 22:56
Is that true your web browser doesn't render italic font at all? If so, does it render capitalized English letters? @Tim
– 炸鱼薯条德里克
Mar 14 at 0:24
Is that true your web browser doesn't render italic font at all? If so, does it render capitalized English letters? @Tim
– 炸鱼薯条德里克
Mar 14 at 0:24
@Tim, you’ve asked “So does a X server start in a display or a screen?” four times now (twice in your question, twice in your comment). What do you not find clear when I say “An X server doesn’t start in a display, it is a display.”? Your question is like asking if a crayon is in a pencil.
– Stephen Kitt
Mar 14 at 6:34
@Tim, you’ve asked “So does a X server start in a display or a screen?” four times now (twice in your question, twice in your comment). What do you not find clear when I say “An X server doesn’t start in a display, it is a display.”? Your question is like asking if a crayon is in a pencil.
– Stephen Kitt
Mar 14 at 6:34
@Tim assuming an Xserver with multiple "screens" (multiple monitors are nowadays managed as part of the same screen via
xrandr
): an application that successfully connected to a X11 server via DISPLAY=:0.1
is not forced to use just screen 1
: the screen part of the display spec only determines what screen will be the default, ie what DefaultScreen(dpy)
and DefaultScreenOfDisplay(dpy)
will return.– mosvy
Mar 14 at 7:42
@Tim assuming an Xserver with multiple "screens" (multiple monitors are nowadays managed as part of the same screen via
xrandr
): an application that successfully connected to a X11 server via DISPLAY=:0.1
is not forced to use just screen 1
: the screen part of the display spec only determines what screen will be the default, ie what DefaultScreen(dpy)
and DefaultScreenOfDisplay(dpy)
will return.– mosvy
Mar 14 at 7:42
|
show 9 more comments
As you been told the 1000th time, the display IS the X server. So "X server run in a display" makes no sense.
X document use "display" to refer a bunch of hardware because in the old time, X servers usually(if not always) take control of and render to real hardware, but nowadays, many modern servers are able to run on and render to non-real(virtual) hardware-based target, e.g. Xephyr
or Xvfb
or Xorg with dummy video driver
. The document don't get update very often, but it's not proper to say "A display is a bunch of hardware" on modern systems, it would be much better to say "A display is a running X server process".
An X server listens on an address(es), this address(es) can be connected using X11 protocol. How the X11 protocol data is transported is purely a platform specific thing, it could be a pair of TCP sockets, a TCP socket on the posix server side and a magic object on the non-posix client side(basically any two connected TCP endpoint), a pair of locally connected UDS(basically any two connected IPC endpoint, in which case X window system may become more powerful and efficient because the client and server run on the same machine, things like DRI becomes possible).
An X server might run multiple X screens(not to be confused with real-life monitors), and might handle multiple framebuffer (no matter real GPU framebuffer or malloc()
buffer or mmap()
disk-file memory space region), frambuffers doesn't have strict mapping with X screens, depends on your driver, settings, and which kind of X server you use.
add a comment |
As you been told the 1000th time, the display IS the X server. So "X server run in a display" makes no sense.
X document use "display" to refer a bunch of hardware because in the old time, X servers usually(if not always) take control of and render to real hardware, but nowadays, many modern servers are able to run on and render to non-real(virtual) hardware-based target, e.g. Xephyr
or Xvfb
or Xorg with dummy video driver
. The document don't get update very often, but it's not proper to say "A display is a bunch of hardware" on modern systems, it would be much better to say "A display is a running X server process".
An X server listens on an address(es), this address(es) can be connected using X11 protocol. How the X11 protocol data is transported is purely a platform specific thing, it could be a pair of TCP sockets, a TCP socket on the posix server side and a magic object on the non-posix client side(basically any two connected TCP endpoint), a pair of locally connected UDS(basically any two connected IPC endpoint, in which case X window system may become more powerful and efficient because the client and server run on the same machine, things like DRI becomes possible).
An X server might run multiple X screens(not to be confused with real-life monitors), and might handle multiple framebuffer (no matter real GPU framebuffer or malloc()
buffer or mmap()
disk-file memory space region), frambuffers doesn't have strict mapping with X screens, depends on your driver, settings, and which kind of X server you use.
add a comment |
As you been told the 1000th time, the display IS the X server. So "X server run in a display" makes no sense.
X document use "display" to refer a bunch of hardware because in the old time, X servers usually(if not always) take control of and render to real hardware, but nowadays, many modern servers are able to run on and render to non-real(virtual) hardware-based target, e.g. Xephyr
or Xvfb
or Xorg with dummy video driver
. The document don't get update very often, but it's not proper to say "A display is a bunch of hardware" on modern systems, it would be much better to say "A display is a running X server process".
An X server listens on an address(es), this address(es) can be connected using X11 protocol. How the X11 protocol data is transported is purely a platform specific thing, it could be a pair of TCP sockets, a TCP socket on the posix server side and a magic object on the non-posix client side(basically any two connected TCP endpoint), a pair of locally connected UDS(basically any two connected IPC endpoint, in which case X window system may become more powerful and efficient because the client and server run on the same machine, things like DRI becomes possible).
An X server might run multiple X screens(not to be confused with real-life monitors), and might handle multiple framebuffer (no matter real GPU framebuffer or malloc()
buffer or mmap()
disk-file memory space region), frambuffers doesn't have strict mapping with X screens, depends on your driver, settings, and which kind of X server you use.
As you been told the 1000th time, the display IS the X server. So "X server run in a display" makes no sense.
X document use "display" to refer a bunch of hardware because in the old time, X servers usually(if not always) take control of and render to real hardware, but nowadays, many modern servers are able to run on and render to non-real(virtual) hardware-based target, e.g. Xephyr
or Xvfb
or Xorg with dummy video driver
. The document don't get update very often, but it's not proper to say "A display is a bunch of hardware" on modern systems, it would be much better to say "A display is a running X server process".
An X server listens on an address(es), this address(es) can be connected using X11 protocol. How the X11 protocol data is transported is purely a platform specific thing, it could be a pair of TCP sockets, a TCP socket on the posix server side and a magic object on the non-posix client side(basically any two connected TCP endpoint), a pair of locally connected UDS(basically any two connected IPC endpoint, in which case X window system may become more powerful and efficient because the client and server run on the same machine, things like DRI becomes possible).
An X server might run multiple X screens(not to be confused with real-life monitors), and might handle multiple framebuffer (no matter real GPU framebuffer or malloc()
buffer or mmap()
disk-file memory space region), frambuffers doesn't have strict mapping with X screens, depends on your driver, settings, and which kind of X server you use.
edited Mar 14 at 3:51
answered Mar 13 at 15:10
炸鱼薯条德里克炸鱼薯条德里克
6021317
6021317
add a comment |
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%2f506092%2fdoes-a-display-server-start-in-a-display-or-a-screen-or-a-monitor%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
1
Then what have YOU go through in your mind? Basically nothing and just waiting for answer?
– 炸鱼薯条德里克
Mar 13 at 14:11
1
Good question includes your own efforts
– 炸鱼薯条德里克
Mar 13 at 14:20