Quick Notes

Install Chrome Remote Desktop[Ubuntu]

Install dependencies:

sudo apt-get install xvfb python-psutil

Download and install package: chrome-remote-desktop_current_amd64.deb

sudo dpkg -i chrome-remote-desktop_current_amd64.deb

Use it:

  1. Open Chrome.
  2. Type: chome://apps
  3. Choose Chrome Remote Desktop.

Notice: to prevent the memory consumption, remove deja-dup (a program to backup data on ubuntu).

== // ==

To fix the problem of showing only wallaper, following [3].

Stop it:
/opt/google/chrome-remote-desktop/chrome-remote-desktop –stop

Back it up:
cp /opt/google/chrome-remote-desktop/chrome-remote-desktop /opt/google/chrome-remote-desktop/chrome-remote-desktop.orig

Edit:  /opt/google/chrome-remote-desktop/chrome-remote-desktop

Change this to the size I wanted.
DEFAULT_SIZES = “1920×1080”

Change this to desktop zero which is the console.
FIRST_X_DISPLAY_NUMBER = 0

Comment this out so it doesn’t increment for a new desktop.:
#while os.path.exists(X_LOCK_FILE_TEMPLATE % display):
#  display += 1

Comment this out so that it doesn’t attempt to start a new display session since the console on desktop zero is already running :
#logging .info(“Starting %s on display :%d” % (xvfb, display))
#screen_option = “%dx%dx24” % (max_width, max_height)
#self .x_proc = subprocess.Popen(
#    [xvfb, “:%d” % display,
#     “-auth”, x_auth_file,
#     “-nolisten”, “tcp”,
#     “-noreset”,
#     “-screen”, “0”, screen_option
#    ] + extra_x_args)
#if not self.x_proc.pid:
#  raise Exception(“Could not start Xvfb.”)

Edit `launch_session`:

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

Start it:
/opt/google/chrome-remote-desktop/chrome-remote-desktop –start

== // ==

References:

[1] https://www.howtoforge.com/how-to-install-and-use-the-chrome-remote-sharing-feature-in-ubuntu

[2] https://support.google.com/chrome/answer/1649523?hl=en

[3] https://productforums.google.com/forum/#!topic/chrome/LJgIh-IJ9Lk

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s