ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 344 - XK0-005 discussion

Report
Export

After connecting to a remote host via SSH, an administrator attempts to run an application but receives the following error:

arduino

Error: cannot open display:

Which of the following should the administrator do to resolve this error?

A.

Disconnect from the SSH session and reconnect using the ssh -X command

Answers
A.

Disconnect from the SSH session and reconnect using the ssh -X command

B.

Add Options X11 to the /home/admin/.ssh/authorized_keys file

Answers
B.

Add Options X11 to the /home/admin/.ssh/authorized_keys file

C.

Open port 6000 on the workstation and restart the firewalld service

Answers
C.

Open port 6000 on the workstation and restart the firewalld service

D.

Enable X11 forwarding in /etc/ssh/ssh_config and restart the server

Answers
D.

Enable X11 forwarding in /etc/ssh/ssh_config and restart the server

Suggested answer: D

Explanation:

The error indicates that X11 forwarding is not enabled. X11 forwarding allows graphical applications to be displayed on a remote system over an SSH connection. Enabling X11 forwarding in /etc/ssh/ssh_config and restarting the SSH service ensures that the necessary configuration is applied, allowing the administrator to open graphical applications remotely.

asked 09/10/2024
Casie Clements
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first