Add comment about display numbering.
This commit is contained in:
parent
8abb45a8e3
commit
7bccd34aed
|
@ -40,6 +40,9 @@ def setup_desktop():
|
||||||
'-SecurityTypes', 'None',
|
'-SecurityTypes', 'None',
|
||||||
'-rfbunixpath', sockets_path,
|
'-rfbunixpath', sockets_path,
|
||||||
'-fg',
|
'-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),
|
':' + str(rfbport-5900),
|
||||||
],
|
],
|
||||||
'port': rfbport,
|
'port': rfbport,
|
||||||
|
|
Loading…
Reference in New Issue