I need to be able to connect to computer running Lubuntu 20.04 with Chrome remote desktop. I have installed it with dpkg -i
. After adding a couple of required dependencies it has set up smoothly. Then I launched it only to get this screen:
Should I click the blue button it initiates downloading and installing... exactly the same deb-file (this time with GUI tools: Qapt or Discover). Round and round in circles I go...
I found this advice: How can I "Turn On" Chrome remote desktop in Ubuntu 20.04?. No dice for me. Did not change a thing.
Also, I tried to uninstall it with dpkg --purge
. and install again. It is still the same.
Edit:
What I found out so far.
I found an informative answer on how to start investigating the issue in the thread Can't Configure Chrome Remote Desktop (it is not the accepted answer, but the second one).
I executed service chrome-remote-desktop status
and realised the CRD service was masked, i. e. not running.
Executing sudo systemctl unmask chrome-remote-desktop.service
changed nothing.
So, I followed the second answer (again, not the accepted one) of https://unix.stackexchange.com/questions/308904/systemd-how-to-unmask-a-service-whose-unit-file-is-empty.
It helped me to actually start the service. Now it is up and running.
Unfortunately, it has been just a part of the problem, CRD still fails to run. And finally, I have stumbled at the step usermod -a -G chrome-remote-desktop "$USER"
of the mentioned thread Can't Configure Chrome Remote Desktop for it returns usermod: group 'chrome-remote-desktop' does not exist
and I do not understand whether it is important (but it looks like logging does not work without this step).
dpkg
doesn't automatically resolve dependencies. Useapt
orapt-get
to install and uninstall softwaredpkg -i
for the first time it refused to work precisely because of dependency issues. That smart behaviour got me surprised pleasantly. I had to install the missing stuff first (with apt). That being said, generally, you are right.apt
to install a.deb
file withsudo apt install ./package.deb
. The-i
flag indpkg
will check for dependencies and fail if the conditions are not met. In both cases, downloading and installing a.deb
file from the internet is about the worst way to install software in Ubuntu/Linux. If you need Chrome, a better method is to install from the PPA.sudo snap install chromium
. Both browers are developed by Google. Chromium is actually the open source browser that Chrome is derived from. The main difference between Chromium and Chrome is that Chromium is open source and does not contain all of the proprietary hidden/secret code that Google adds to the Chrome browser that is used to track you, datamine you, advertise to you, and who knows what else...