nerdexam
CompTIA

XK0-005 · Question #334

An administrator wants to use a Linux server's GUI remotely but is limited by security to using TCP port 22. Which of the following is the BEST choice for installation on the Linux server to enable…

The correct answer is C. VNC. For remote GUI access to a Linux server limited to TCP port 22, VNC is the best choice for installation on the server, as its traffic can be securely tunneled through an SSH connection.

System Management

Question

An administrator wants to use a Linux server's GUI remotely but is limited by security to using TCP port 22. Which of the following is the BEST choice for installation on the Linux server to enable this functionality?

Options

  • AX-forwarding
  • BNX
  • CVNC
  • DXRDP

How the community answered

(25 responses)
  • A
    8% (2)
  • B
    8% (2)
  • C
    80% (20)
  • D
    4% (1)

Why each option

For remote GUI access to a Linux server limited to TCP port 22, VNC is the best choice for installation on the server, as its traffic can be securely tunneled through an SSH connection.

AX-forwarding

X-forwarding (X11 forwarding) is built into SSH and uses port 22, but it is primarily designed for running individual graphical applications remotely, not for a full, performant remote desktop session.

BNX

NX (NoMachine NX) is a remote desktop solution that offers good performance but typically uses its own dedicated ports (e.g., 4000), and while it could be tunneled, VNC is a more commonly recognized and widely available solution for general remote GUI over SSH.

CVNCCorrect

VNC (Virtual Network Computing) provides a full remote desktop environment, allowing an administrator to view and interact with the server's GUI as if local. Although VNC natively uses ports like 5900+, its traffic can be securely tunneled over SSH (which uses TCP port 22) using local port forwarding, making it a robust and commonly used solution when direct access to other ports is restricted.

DXRDP

XRDP provides an RDP server for Linux, enabling Windows Remote Desktop clients to connect, but it typically uses TCP port 3389 and would also need to be tunneled over SSH, making VNC a more traditional and common Linux-centric solution for this scenario.

Concept tested: Remote GUI access, SSH tunneling, VNC

Source: https://www.realvnc.com/en/connect/docs/

Topics

#Remote Desktop#SSH#Linux Administration#Networking Ports

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice