You are not logged in.

#1 2021-02-08 20:45:39

giantowl
Member
From: another place
Registered: 2021-02-08
Posts: 10

[SOLVED] Gdrive sync possibility? google-drive-ocamlfuse

hi all!
im linux noob, trying to install google drive and have a problem...
first of all I have installed google-drive-ocamlfuse
next step is to get root-user into fuse group, I guess, but

sudo usermod -a -G fuse nik
usermod: group «fuse» does not exist

and next I need to authorize google-drive-ocamlfuse in my google account, but browser doesnt starts!

sudo google-drive-ocamlfuse ~/google-drive/
Running Firefox as root in a regular user's session is not supported.  ($XAUTHORITY is /home/nik/.Xauthority which is owned by nik.)
Running Firefox as root in a regular user's session is not supported.  ($XAUTHORITY is /home/nik/.Xauthority which is owned by nik.)
Running Firefox as root in a regular user's session is not supported.  ($XAUTHORITY is /home/nik/.Xauthority which is owned by nik.)
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: iceweasel: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: seamonkey: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: mozilla: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: epiphany: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: konqueror: not found
[4173:4173:0208/203449.421742:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: chromium-browser: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: google-chrome: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'https://accounts.google.com/o/oauth2/auth?client_id=xxx.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fgd-ocaml-auth.appspot.com%2Foauth2callback&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&response_type=code&access_type=offline&approval_prompt=force&state=xxx
Running Firefox as root in a regular user's session is not supported.  ($XAUTHORITY is /home/nik/.Xauthority which is owned by nik.)
/bin/sh: 1: google-chrome: not found
/bin/sh: 1: chromium-browser: not found
/bin/sh: 1: open: not found
Cannot retrieve auth tokens.
Failure("Error opening URL:https://accounts.google.com/o/oauth2/auth?client_id=xxx.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fgd-ocaml-auth.appspot.com%2Foauth2callback&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&response_type=code&access_type=offline&approval_prompt=force&state=xxx")

Linux 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux (bunsenlabs Lithium)

Last edited by giantowl (2021-02-09 22:01:20)


hate manuals :)

Offline

#2 2021-02-09 05:21:53

ohnonot
...again
Registered: 2015-09-29
Posts: 5,342
Website

Re: [SOLVED] Gdrive sync possibility? google-drive-ocamlfuse

Welcome to the forums, giantowl!

It's telling you right there what the problem is: don't be root for this software. It's failed to doom, and insecure.
You can check what groups your regular user is in with:

id

Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

#3 2021-02-09 07:44:18

giantowl
Member
From: another place
Registered: 2021-02-08
Posts: 10

Re: [SOLVED] Gdrive sync possibility? google-drive-ocamlfuse

ohnonot wrote:

Welcome to the forums, giantowl!

It's telling you right there what the problem is: don't be root for this software. It's failed to doom, and insecure.
You can check what groups your regular user is in with:

id

Thank you, ohnonot!
just typed in without sudo and it works correctly smile
what a noob I am big_smile


hate manuals :)

Offline

#4 2021-02-09 14:13:37

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,152

Re: [SOLVED] Gdrive sync possibility? google-drive-ocamlfuse

Welcome to BL Forums Giantowl and glad you found the solution! Sometimes the solution stares you in the face but yet hides in plain sight.


Real Men Use Linux

Offline

#5 2021-02-09 18:56:00

giantowl
Member
From: another place
Registered: 2021-02-08
Posts: 10

Re: [SOLVED] Gdrive sync possibility? google-drive-ocamlfuse

DeepDayze wrote:

Welcome to BL Forums Giantowl and glad you found the solution! Sometimes the solution stares you in the face but yet hides in plain sight.

thank you! right words!


hate manuals :)

Offline

#6 2021-02-09 21:01:45

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,152

Re: [SOLVED] Gdrive sync possibility? google-drive-ocamlfuse

giantowl wrote:
DeepDayze wrote:

Welcome to BL Forums Giantowl and glad you found the solution! Sometimes the solution stares you in the face but yet hides in plain sight.

thank you! right words!

If you are all set you can edit the first post and edit the subject to add [SOLVED] before the title. This may help others who might be stumped with this same thing.


Real Men Use Linux

Offline

#7 2021-02-10 05:12:44

ohnonot
...again
Registered: 2015-09-29
Posts: 5,342
Website

Re: [SOLVED] Gdrive sync possibility? google-drive-ocamlfuse

giantowl wrote:

Thank you, ohnonot!
just typed in without sudo and it works correctly smile
what a noob I am big_smile

Great!
Not to wag a finger at you, but this is an important lesson: don't be root unless you really have to.
And don't EVER think that "if a command doesn't work, I'll just try it with sudo"! This xkdb is funny but technically bad advice.


Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

Board footer

Powered by FluxBB