Error with Chrome remote desktop on Ubuntu 18.04

When I execute

/opt/google/chrome-remote-desktop/chrome-remote-desktop –start

I get the following:

[0519/101800.292827:INFO:remoting_user_session.cc(688)] Daemon process started in the background, logging to      

/tmp/chrome_remote_desktop_20180519_101800_rBUmfW'
Using host_id: 6d708e3d-aaba-fe25-6904-3c7a2c72b5ba
Launching X server and X session.
Starting Xvfb on display :20
X server is active.
Launching X session: ['/usr/sbin/lightdm-session']
Launching host process
['/opt/google/chrome-remote-desktop/chrome-remote-desktop-host', '--host-config=-', '--audio-pipe-name=/home/akhilesh/.config/chrome-remote-desktop/pulseaudio#0b9e897dae/fifo_output', '--server-supports-exact-resize', '--ssh-auth-sockname=/tmp/chromoting.akhilesh.ssh_auth_sock', '--signal-parent']
wait() returned (31039,256)
wait() returned (31042,26112)
Host process terminated
OAuth credentials are invalid - exiting.
Cleanup.
Terminating X server
Terminating session
Log file: /tmp/chrome_remote_desktop_20180519_101800_rBUmfW

This is on Ubuntu-18.04. Here is the log file for the same: log file.

I have searched online, but haven’t found anything close. I have tried the following things:

  1. Logging out and logging back in. (as suggested on google forums)
  2. Reinstall several times.
  3. Deleting the config file

I am not sure what causes this error. Let me know if any additional details are required. Any help would be really appreciated. Thank you in advance.

how can I install chrome remote desktop via powershell

is there a way to install chrome remote desktop via powershell?
I have a script to install chrome from powershell. Now i will add chrome remote desktop to it.

i am unable to connect to Chrome RDP through chrome remote desktop

i am unable to connect to Chrome RDP through chrome remote desktop but I am getting error. to know the exact error please find the screenshot : https://i.stack.imgur.com/k7gGe.png

How to make a script to move the mouse on a Chromebook?

Is it possible to make a chrome extension/app that automatically moves the mouse to the center of the screen on a Chromebook? If so how?
I’m having a problem with chrome remote desktop with the mouse not returning to the center of the screen so I’m trying to write the script that does that on a Chromebook.