WHATPORT(6002) whatport.net WHATPORT(6002)
6002

X11 (display :2)

X display :2 — a third X server on the host, physical or virtual.

TCP IANA registry

Description

Within IANA's x11 block, 6002 is display :2. It appears on multi-seat machines, on hosts running several Xvnc or Xvfb instances, and on terminal servers that give each session its own display. Everything true of 6000 applies unchanged: host-list or magic-cookie authorization, no encryption, and -nolisten tcp as the modern default that has been overridden if the port is open.

Exposed to the internet?

Do not expose

There is no safe way to publish an X display. Keep it on the Unix socket or loopback and forward it over SSH.

Check it yourself

$ nmap -Pn -p 6002 --script x11-access TARGET

See also

Seen this on your network? Beige Box scans your Wi-Fi and shows every open port on every device — and its Ports tool links straight back here.

Get Beige Box →

also available as JSON · Markdown

Corrections or a missing port? Reply @rimrocksystems.