XK0-005 · Question #563
A developer is trying to install an application remotely that requires a graphical interface for installation. The developer requested assistance to set up the necessary environment variables along…
The correct answer is D. $DISPLAY. The environment variable that must be set in remote shell in order to launch the graphical interface is $DISPLAY. This variable tells X11 applications where to display their windows on screen. It usually has the form hostname:displaynumber.screennumber, where hostname is the…
Question
Options
- A$RHOST
- BSETENV
- C$SHELL
- D$DISPLAY
How the community answered
(26 responses)- A4% (1)
- B4% (1)
- D92% (24)
Explanation
The environment variable that must be set in remote shell in order to launch the graphical interface is $DISPLAY. This variable tells X11 applications where to display their windows on screen. It usually has the form hostname:displaynumber.screennumber, where hostname is the name of the computer running the X server, displaynumber is a unique identifier for an X display on that computer, and screennumber is an optional identifier for a screen within an X display. For example, localhost:0.0 means display number 0 on the local host. If the hostname is omitted, it defaults to the local host.
Topics
Community Discussion
No community discussion yet for this question.