XK0-005 · Question #196
An administrator receives the following message on a remote server: Cannot open display. Which of the following should the administrator have used to log in to the server? xrdp -h server.company.com…
The correct answer is B. ssh -X server.company.com. The 'Cannot open display' error indicates that X11 forwarding for graphical applications is not enabled, requiring a specific SSH option for remote login.
Question
Options
- Bssh -X server.company.com
- Cxvnc server.company.com
How the community answered
(31 responses)- B94% (29)
- C6% (2)
Why each option
The 'Cannot open display' error indicates that X11 forwarding for graphical applications is not enabled, requiring a specific SSH option for remote login.
The `ssh -X` command enables X11 forwarding, which allows graphical applications running on the remote server to display their output on the local client's X server, resolving the 'Cannot open display' error.
`xvnc` is typically associated with VNC servers or clients and does not provide SSH X11 forwarding capabilities directly.
Concept tested: SSH X11 forwarding for graphical applications
Source: https://www.ssh.com/academy/ssh/x11-forwarding
Topics
Community Discussion
No community discussion yet for this question.