Package Details: chrome-remote-desktop 68.0.3440.11-1

Git Clone URL: https://aur.archlinux.org/chrome-remote-desktop.git (read-only)
Package Base: chrome-remote-desktop
Description: Access other computers or allow another user to access your computer securely over the Internet
Upstream URL: https://chrome.google.com/webstore/detail/gbchcmhmhahfdphkhkmpfmihenigjmpp
Keywords: Chrome Chromium Google Networking Remote
Licenses: BSD
Submitter: None
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 89
Popularity: 0.831389
First Submitted: 2014-04-27 23:43
Last Updated: 2018-06-17 14:16

Latest Comments

zjhzxhz commented on 2018-06-04 12:38

This package is not working in GNOME 3.28. I followed the instruction of this post but it is still not working.

Here's the config of .chrome-remote-desktop-session:

export $(dbus-launch)
# exec classic gnome-session --session gnome-classic
exec gnome-session
# exec gnome-session

Here's the output of crd --start:

Seems like you haven't activated CRD in your browser. Please do that before trying to run the server.

Here's the output of crd --restart:

The daemon is not currently running
[0604/203645.811960:INFO:remoting_user_session.cc(688)] Daemon process started in the background, logging to '/tmp/chrome_remote_desktop_20180604_203645_zOair2'
Cleanup.
Log file: /tmp/chrome_remote_desktop_20180604_203645_zOair2

The log file /tmp/chrome_remote_desktop_20180604_203645_zOair2 says that:

Failed to load config: [Errno 2] No such file or directory: '/home/hzxie/.config/chrome-remote-desktop/host#<hash-code>.json'
2018-06-04 20:36:45,947:INFO:Cleanup.
[0604/203645.952871:WARNING:remoting_user_session.cc(464)] Child exited with status 1

Here's the output of systemctl status --user chrome-remote-desktop:

● chrome-remote-desktop.service - "Chrome Remote Desktop host daemon"
   Loaded: loaded (/usr/lib/systemd/user/chrome-remote-desktop.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
Condition: start condition failed at Mon 2018-06-04 20:25:07 CST; 8min ago
           └─ ConditionPathExistsGlob=/home/hzxie/.config/chrome-remote-desktop/host#*.json was not met

I also tried to Enable Remote Connection from the Chrome application, but I got the following message after setting 6-digit PIN:

Enabling remote connections for this computer...

After about 20 min it finally timed out and I got this:

Failed to start remote access service.

Who can help me out? Thank you so much!

afg984 commented on 2018-04-26 07:58

The problem happens even if I run crd --start after a reboot. (note I did not systemctl enable --user chrome-remote-desktop.service)

I might be wrong, but I think this line in the log suggests that it actually successfully started the X server:

INFO:X server is active.

I'm suggesting that xorg-xrandr as a dependency because it seems to be using xrandr to test whether resizing is supported. Line 563 crashes with OSError: [Errno 2] No such file or directory if the executable does not exist.

/opt/google/chrome-remote-desktop/chrome-remote-desktop

 540   def _launch_xvfb(self, display, x_auth_file, extra_x_args):
 562     with open(os.devnull, "r+") as devnull:
 563       exit_code = subprocess.call("xrandr", env=self.child_env,
 564                                   stdout=devnull, stderr=devnull)
 565     if exit_code == 0:
 566       # RandR is supported
 567       self.server_supports_exact_resize = True
 568       self.server_supports_randr = True
 569       self.randr_add_sizes = True

frealgagu commented on 2018-04-24 14:02

@afg984 It looks like your :20 DISPLAY is being already used and it's impossible to start session, try to kill all chrome-remote-desktop process and try again (restart if is possible is even better).

afg984 commented on 2018-04-24 12:00

xorg-xrandr seems to be a dependency, see error log:

https://pastebin.com/R7iAiAX4

frealgagu commented on 2018-03-29 00:18

@sl1pkn07 I've not found a way to do that, chrome-remote-desktop uses the :20 DISPLAY, there are forums in ubuntu that shows a way to do it but it contains errors and crashes. @Kuchiriel there is a file you need to change ~/.chrome-remote-desktop where you choose to start a new session in one of your installed desktop environments. It should be only to uncomment a line and you're ready.

Kuchiriel commented on 2018-03-29 00:05

I am using the latest Manjaro and getting this.

Killing process 2034 [0328/210429.150449:INFO:remoting_user_session.cc(688)] Daemon process started in the background, logging to '/tmp/chrome_remote_desktop_20180328_210429_geGiYH' Using host_id: c6c24ea3-a799-afe2-e5e8-edc2189c6068 Launching X server and X session. Starting Xvfb on display :20 X server is active. Launching X session: ['/bin/sh', '/home/trevor/.chrome-remote-desktop-session'] Launching host process ['/opt/google/chrome-remote-desktop/chrome-remote-desktop-host', '--host-config=-', '--audio-pipe-name=/home/trevor/.config/chrome-remote-desktop/pulseaudio#bd9f957780/fifo_output', '--server-supports-exact-resize', '--ssh-auth-sockname=/tmp/chromoting.trevor.ssh_auth_sock', '--signal-parent'] wait() returned (2373,0) Session process terminated Failure count for 'session' is now 1 Terminating X server Terminating host Failure count for 'X server' is now 0 Failure count for 'host' is now 0 Waiting before relaunching wait() returned (2372,256) Waiting before relaunching

sl1pkn07 commented on 2018-03-26 17:28

all fixed

How can I access the same X session when an X session is already open, instead of open a new X session?

frealgagu commented on 2018-03-21 23:11

Please reinstall and let me know if you have troubles.

parpel commented on 2018-03-21 18:29

This is broken for me, I am getting:

/usr/bin/crd: /opt/google/chrome-remote-desktop/chrome-remote-desktop: 
/usr/bin/python22: bad interpreter: No such file or directory

Is there any workaround for this?

wcrawf commented on 2018-03-09 23:30

Latest package appears to be broken.

sed -e '1 s/python/python2/'

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=chrome-remote-desktop#n41

This is present again, breaking /opt/google/chrome-remote-desktop/chrome-remote-desktop

After fixing that issue, I get a mysterious error:

/opt/google/chrome-remote-desktop/user-session not installed setuid root. Host must be started by administrator.

Any ideas on fixing this?

EDIT: Ah, starain's patch still isn't in. chmod +s opt/google/chrome-remote-desktop/user-session is missing from PKGBUILD as well.

All comments