#ssion_inhibitor.record_started(MINIMUM_PROCESS_LIFETIME,ĭisplay = self. #rver_inhibitor.record_started(MINIMUM_PROCESS_LIFETIME, # If there was no pre-session script, launch the session immediately. This is what the section looked like in the instructions def launch_session(self, x_args): This is the important bit that stops a strange popup appearing when you first launch the session asking you which desktop you’d like to use (neither of which work)Īlter launch_session() by commenting out launch_server() down to the end of the function, and add two lines to set the display number: Reuse the existing X session instead of launching a new one. The $DISPLAY number needs to be changed to your default number (we found that above) FIRST_X_DISPLAY_NUMBER = 0Ĭomment out sections that look for additional displays: # while os.path.exists(X_LOCK_FILE_TEMPLATE % display): For example:Ĭhange whatever HUGE screen sizes are in that line to DEFAULT_SIZES = "1920x1080" This is your display number (it may be different) Edit the config file sudo nano /opt/google/chrome-remote-desktop/chrome-remote-desktopįind DEFAULT_SIZES and amend to the remote desktop resolution. Run the following command from a terminal ON the ubuntu machine not an ssh session echo $DISPLAY opt/google/chrome-remote-desktop/chrome-remote-desktop -stop You’ll note the following command doesn’t use sudo, that is correct. This is where the magic starts to happen, you’ll need to do this on the computer running ubuntu. Use the “turn on” button to name your device and set a pin Configure To enable the “turn on” button, use “mkdir ~/.config/chrome-remote-desktop” Install Chrome and then chrome remote desktop extension. I’ve updated it to look closer to the config i found on my install. Under My Computers, hit Enable remote connections. ![]() ![]() Ubuntu 22.04 and Chrome Remote Desktop Trouble Start Chrome, install the Chrome Remote Desktop app, run it.
0 Comments
Leave a Reply. |