X display :2 — a third X server on the host, physical or virtual.
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.
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.
$ nmap -Pn -p 6002 --script x11-access TARGETSeen 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.