Chrome Remote Desktop in 24.04

Has anyone managed to get Chrome Remote Desktop working in 24.04?

I have just fresh installed on a KVM container and I'm really struggling to get it running. The .deb installs fine, but when trying to authorise it, I get the following errors (although it still lets me choose an access code):

mark@mark:~$ DISPLAY= /opt/google/chrome-remote-desktop/start-host --code="xxx" --redirect-url="https://remotedesktop.google.com/_/oauthredirect" --name=$(hostname)
[0501/123811.619098:ERROR:host_config.cc(83)] Failed to read /home/mark/.config/chrome-remote-desktop/host#ea82410c7a9991816b5eeeebe195e20a.json
[0501/123811.619379:ERROR:usage_stats_consent_linux.cc(31)] No host config file found.
Enter a PIN of at least six digits: 
Enter the same PIN again: 
[0501/123820.196691:ERROR:host_config.cc(83)] Failed to read /home/mark/.config/chrome-remote-desktop/host#ea82410c7a9991816b5eeeebe195e20a.json
[0501/123820.351170:ERROR:host_starter_base.cc(305)] Failed to exchange the authorization_code due to an OAuth error.
Couldn't start host: OAuth error.

I have used CRD in Ubuntu MATE since 2020 without any problems, including multiple reinstalls with 20.04 and 22.04.

Background: I use a KVM server on a VPS with MATE desktop installed so that I can use it as my own when travelling, at work etc. The only system that is guaranteed to work from everywhere I connect is CRD. I know there are better options, but I access from networks where RDP, VNC etc are all blocked. I'm new to the forum purely because I've never had a problem I couldn't fix myself before! I appreciate all help :smiley:

Edit: an alternative error I also get on different attempts:

mark@mark:~$ DISPLAY= /opt/google/chrome-remote-desktop/start-host --code="xxx" --redirect-url="https://remotedesktop.google.com/_/oauthredirect" --name=$(hostname)
[0501/125439.889574:ERROR:host_config.cc(83)] Failed to read /home/mark/.config/chrome-remote-desktop/host#ea82410c7a9991816b5eeeebe195e20a.json
[0501/125439.890030:ERROR:usage_stats_consent_linux.cc(31)] No host config file found.
Enter a PIN of at least six digits: 
Enter the same PIN again: 
[0501/125445.333032:ERROR:host_config.cc(83)] Failed to read /home/mark/.config/chrome-remote-desktop/host#ea82410c7a9991816b5eeeebe195e20a.json
Trace/breakpoint trap (core dumped)

Edit 2: I have just set up 24.04 in a local VM (using Virtualbox) and I have the same problem.

Edit 3: I downgraded to 22.04.4 and it doesn't work there either. I think CRD is just broken (there was an update yesterday it seems).

1 Like

Welcome @mercunium to the community!

1 Like

I installed it in a Ubuntu 24.04 VM a couple of days ago, but the new VMs with Linux I'm building today have all been failing with the exact same error you're running into. I'm thinking this is an issue on Google's side of the fence.

2 Likes

Welcome @Stryk3rr3al to the community!

It would appear that Google has released an update on 28th April 2024 that broke the Debian package. The new release on 3rd May has fixed it and CRD works just fine on 24.04 now :smiley:

2 Likes