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?

3

1 Answer

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" FIRST_X_DISPLAY_NUMBER = 0 # while os.path.exists(X_LOCK_FILE_TEMPLATE % display): # display += 1 def launch_session(self, x_args): self._init_child_env() self._setup_pulseaudio() self._setup_gnubby() #self._launch_x_server(x_args) #self._launch_x_session() 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 #!/bin/bash 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!

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy