~/.config/chrome-remote-desktop
Not Found
I had a highly specific issue with ~/.config/chrome-remote-desktop
not being found, and fixed it with:
mkdir -p ~/.config/chrome-remote-desktop
chown "$USER:$USER" ~/.config/chrome-remote-desktop
chmod a+rx ~/.config/chrome-remote-desktop
Then
- I uninstalled the Chrome-Remote-Desktop extension
- I made sure I was logged into my Google Account both in my browser's profile and at google.com
- I ran
dpkg --purge chrome-remote-desktop
to remove the former installation. (edited to --purge )
- I Ctrl+F5 at https://remotedesktop.google.com before trying to reinstall it
(Open the terminal with Ctrl+Alt+T, then paste the above commands into the terminal. If you encounter errors, prefix each command (line of text) that errored with sudo)
How To Perform Your Own Assessment Of The Problem
The solution to my problem might not be the solution that works for you, so let me show you how I found my solution so you can find your own. First, we need to get the status log:
username@hostname:~$ service "chrome-remote-desktop@$USER" status
● chrome-remote-desktop.service - LSB: Chrome Remote Desktop service
Loaded: loaded (/etc/init.d/chrome-remote-desktop; generated)
Active: active (exited) since Fri 2020-07-24 17:11:25 EDT; 22s ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 28767)
Memory: 0B
CGroup: /system.slice/chrome-remote-desktop.service
Jul 24 17:11:25 hostname systemd[1]: Starting LSB: Chrome Remote Desktop service...
Jul 24 17:11:25 hostname systemd[1]: Started LSB: Chrome Remote Desktop service.
In order to get it to start logging, I had to do:
username@hostname:~$ usermod -a -G chrome-remote-desktop "$USER"
username@hostname:~$ sudo service "chrome-remote-desktop@$USER" restart
username@hostname:~$ service "chrome-remote-desktop@$USER" status
● chrome-remote-desktop.service - LSB: Chrome Remote Desktop service
Loaded: loaded (/etc/init.d/chrome-remote-desktop; generated)
Active: active (exited) since Fri 2020-07-24 17:12:16 EDT; 13s ago
Docs: man:systemd-sysv-generator(8)
Process: 125177 ExecStart=/etc/init.d/chrome-remote-desktop start (code=exited, status=0/SUCCESS)
Jul 24 17:12:16 hostname sudo[125187]: pam_unix(sudo:session): session opened for user username by (uid=0)
Jul 24 17:12:16 hostname chrome-remote-desktop[125197]: [0724/171216.183432:INFO:remoting_user_session.cc(738)] Daemon process started in the background, logging to '/tmp/chrome_remote_desktop_20200724_>
Jul 24 17:12:16 hostname user-session[125198]: pam_unix(chrome-remote-desktop:session): session opened for user username by (uid=1000)
Jul 24 17:12:16 hostname chrome-remote-desktop[125195]: WARNING: This system uses GDM. Some GDM versions have a bug that prevents local login while Chrome Remote Desktop is running. If you run into this>
Jul 24 17:12:16 hostname chrome-remote-desktop[125195]: Cleanup.
Jul 24 17:12:16 hostname chrome-remote-desktop[125195]: Log file: /tmp/chrome_remote_desktop_20200724_171216_b4R1oT
Jul 24 17:12:16 hostname user-session[125198]: pam_unix(chrome-remote-desktop:session): session closed for user username
Jul 24 17:12:16 hostname sudo[125187]: pam_unix(sudo:session): session closed for user username
Jul 24 17:12:16 hostname chrome-remote-desktop[125177]: ...fail!
Jul 24 17:12:16 hostname systemd[1]: Started LSB: Chrome Remote Desktop service.
Now, let's see the contents of that log file:
username@hostname:~$ cat /tmp/chrome_remote_desktop_20200724_171216_b4R1oT
2020-07-24 17:15:10,835:WARNING:WARNING: This system uses GDM. Some GDM versions have a bug that prevents local login while Chrome Remote Desktop is running. If you run into this issue, you can stop Chrome Remote Desktop by visiting https://remotedesktop.google.com/access on another machine and clicking the delete icon next to this machine. It may take up to five minutes for the Chrome Remote Desktop to exit on this machine and for local login to start working again.
Failed to load config: [Errno 2] No such file or directory: '/home/username/.config/chrome-remote-desktop/host#98a9a95d871bdecaeb1ebddc57c9cdfe.json'
2020-07-24 17:15:10,836:INFO:Cleanup.
It says "No such file or directory", so I created that directory, as described in the steps at the top, and that fixed the problem.
~/.config/google-chrome
folder and restart google-chrome, redo configuration. You will not need to reinstall deb and linux files, I think. – Redbob Oct 06 '17 at 00:13