Wednesday, December 6, 2023
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5326  / 10 Months ago, tue, march 7, 2023, 2:50:29

I would like to setup remote access to my Ubuntu 20.04 LTS on xorg home pc.

Remote Support feature works fine, but Remote Access feature logs me in a separate session (default gnome or ubuntu) instead of the currently active session on the computer (if i move the client mouse it's not visible on the host pc screen).

Is there a simple way to change this behavior?

More From » google-chrome


Make a config girectory so that chrome-remote-desktop instalation is recognized in the chrome/chromium/firefox addon:

mkdir ~/.config/chrome-remote-desktop
/opt/google/chrome-remote-desktop/chrome-remote-desktop --stop

Change specific cofigs to prevents session clobbering:
(Remote will use the same sesion as host.)

sudo nano /opt/google/chrome-remote-desktop/chrome-remote-desktop

DEFAULT_SIZES = "1920x1080"
# while os.path.exists(X_LOCK_FILE_TEMPLATE % display):
# display += 1
def launch_session(self, x_args):
display = self.get_unused_display_number()
self.child_env["DISPLAY"] = ":%d" % display

Disable runing of chrome remote sesion before startup to prevent "stuck at login loop bug":

sudo nano /etc/init.d/chrome-remote-desktop
exit 0
[ rest of file]

Add Chrome Remote Desktop to startup applications

name: chrome remote desktop
command:/opt/google/chrome-remote-desktop/chrome-remote-desktop --start
description: starts CRD after login

Solution source:
(Steps 6 and later )
Thank you GObaddie!

[#2374] Tuesday, March 7, 2023, 10 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 345
Total Questions: 122
Total Answers: 121

Location: Spain
Member since Wed, Nov 23, 2022
1 Year ago
steaocyte questions