102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 54


FILL BLANK -

When using X11 forwarding in SSH, what environment variable is automatically set in the remote shell in order to help applications to connect to the correct X11 server? (Specify only the environment variable without any additional commands or values.)

Show Answer
Correct Answer:

The correct environment variable that is automatically set in the remote shell when using X11 forwarding in SSH is DISPLAY. This variable helps applications to connect to the correct X11 server by specifying the display server's address.

Discussion

1 comment
Sign in to comment
Roger95
Nov 20, 2021

On the server side, X11Forwarding yes must be specified in /etc/ssh/sshd_config DISPLAY and XAUTHORITY will automatically be set to their proper values.