LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vncviewer

Connect to remote VNC desktop

TLDR

Connect to host display
$ vncviewer [host]:[display_number]
copy
Connect in fullscreen
$ vncviewer -FullScreen [host]:[display_number]
copy
Connect with geometry
$ vncviewer --geometry [width]x[height] [host]:[display_number]
copy
Connect to specific port
$ vncviewer [host]::[port]
copy

SYNOPSIS

vncviewer [OPTIONS] HOST[:DISPLAY|::PORT]

DESCRIPTION

vncviewer is a VNC (Virtual Network Computing) client that connects to remote VNC servers. It allows viewing and controlling a remote desktop over the network.The display number (after single colon) is added to port 5900. Use double colon for direct port specification.

PARAMETERS

-FullScreen

Launch in fullscreen mode
--geometry WxH
Window geometry
-ViewOnly
View only, no input
-Shared
Share the connection with other viewers

INSTALL

sudo apk add tigervnc-client
copy

CAVEATS

VNC traffic is unencrypted by default. Use SSH tunneling for secure connections. Performance depends on network bandwidth and latency.

SEE ALSO

vncserver(1), x11vnc(1)

Copied to clipboard
Kai