Add comment about display numbering.

This commit is contained in:
ryanlovett 2019-11-06 12:36:48 -08:00
parent 8abb45a8e3
commit 7bccd34aed
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ def setup_desktop():
'-SecurityTypes', 'None',
'-rfbunixpath', sockets_path,
'-fg',
# rfb display port is typically the listing port minus 5900,
# via rfc 6143: "On systems with multiple RFB servers, server N
# typically listens on port 5900+N"
':' + str(rfbport-5900),
],
'port': rfbport,