If you want to connect to the :0 session
(Your main session, the one with your
opened documents, etc), you will need to edit the chrome-remote-desktop script in
/opt/google/chrome-remote- desktop. It involves replacing the :20 in that file with :0 and
# FIRST_X_DISPLAY_NUMBER = 20
FIRST_X_DISPLAY_NUMBER = 0
You'll also have to comment out the while statement in def get_unused_display_number():
that increments that counter.
Original:
def get_unused_display_number():
"""Return a candidate display number for which there is currently no
X Server lock file"""
display = FIRST_X_DISPLAY_NUMBER
while os.path.exists(X_LOCK_FILE_TEMPLATE % display):
display += 1
return display
to:
def get_unused_display_number():
"""Return a candidate display number for which there is currently no
X Server lock file"""
display = FIRST_X_DISPLAY_NUMBER
# while os.path.exists(X_LOCK_FILE_TEMPLATE % display):
# display += 1
return display
https://productforums.google.com/forum/#!topic/chrome/ZIKfKtJmpNI