Mount google drive via terminal without browser with just this simple command:
google-drive-ocamlfuse -headless -label gd1 -id id_from_google -secret secret_from_google
This is headless method of mounting google drive and u must create you key from developer account of google