Google use complicated authentication flow which requires starting a browser for authentication.
Note: if your Linux install is headless (no Desktop Environment) - go to next post (#2 below).
Problem is that HS is running as root (sudo) so it starts the web browser as root, which is not possible for popular browsers (i.e. Firefox) for security reasons.
1. Google Chrome may work on Linux (not available for Raspberry PI). For instructions see the post #6.
If Chrome didn't work (or for Raspberry PI) you need to install a browser which can run as root, I tested Chromium, GNOME Web and Epiphany.
2. After installing the browser - make it default.
3. To test if it's the default browser use xdg-open http://google.com
4. To test if the browser can run as root use sudo, i.e. sudo chromium-browser or sudo epiphany-browser
5. Please login to google.com (with your gmail account) in the selected browser
6. Once you have the browser supporting root - follow instructions post #2 Configuring Google Credentials.
If it works - congratulations.
Note: if your Linux install is headless (no Desktop Environment) - go to next post (#2 below).
Problem is that HS is running as root (sudo) so it starts the web browser as root, which is not possible for popular browsers (i.e. Firefox) for security reasons.
1. Google Chrome may work on Linux (not available for Raspberry PI). For instructions see the post #6.
If Chrome didn't work (or for Raspberry PI) you need to install a browser which can run as root, I tested Chromium, GNOME Web and Epiphany.
2. After installing the browser - make it default.
3. To test if it's the default browser use xdg-open http://google.com
4. To test if the browser can run as root use sudo, i.e. sudo chromium-browser or sudo epiphany-browser
5. Please login to google.com (with your gmail account) in the selected browser
6. Once you have the browser supporting root - follow instructions post #2 Configuring Google Credentials.
If it works - congratulations.
Comment