XK0-004 · 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 th
The correct answer is C. VNC. VNC provides a full remote graphical desktop session and can be tunneled over SSH on port 22 to satisfy the single-port security constraint.
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
(33 responses)- A6% (2)
- B12% (4)
- C76% (25)
- D6% (2)
Why each option
VNC provides a full remote graphical desktop session and can be tunneled over SSH on port 22 to satisfy the single-port security constraint.
X-forwarding is built into the SSH daemon and requires no separate server installation - it forwards individual X11 application windows rather than a full desktop session and requires the client to run a local X server.
NX (NoMachine) is a proprietary protocol that, while SSH-based, requires installation of a separate NX server and matching client software and is not the standard answer for this use case.
A VNC server installed on the Linux machine provides a complete graphical desktop session; because only TCP port 22 is permitted, the VNC connection is tunneled through SSH, which encrypts the traffic and carries it entirely over port 22 without requiring any additional firewall exceptions.
XRDP listens on TCP port 3389 by default and cannot satisfy the requirement of operating exclusively over TCP port 22 without significant non-standard reconfiguration.
Concept tested: VNC remote desktop tunneled over SSH port 22
Source: https://help.ubuntu.com/community/VNC/Servers
Topics
Community Discussion
No community discussion yet for this question.