102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 118


FILL BLANK -

Which environment variable is used by an X11 client to determine the X Server to connect to? (Specify only the variable name without any preceding commands or values.)

Show Answer
Correct Answer:

The environment variable used by an X11 client to determine the X Server to connect to is DISPLAY. This variable specifies the identifier for the display to be used by the X11 server. A typical value might be something like 'hostname:0' or ':0' to refer to the local display.

Discussion

3 comments
Sign in to comment
drliu1202
Aug 1, 2022

https://learning.lpi.org/en/learning-materials/102-500/106/106.1/106.1_01/

hossem1998
Aug 29, 2020

DISPALY

Rini_Giannenzo
Dec 22, 2020

DISPLAY a sgrammaticato

expertlearner
Jul 28, 2023

Directly from the X man page: "DISPLAY: This is the only mandatory environment variable. It must point to an X server." https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect14