Skip to content Skip to navigation

Connecting Google Drive with CS Linux Machines

Connecting Google Drive with CS Linux Machines

by Hanz Makmur

Google Drive is available as part of ScarletApps and available to everyone at Rutgers, with practically unlimited storage that you can use to store your data. These instructions will show you how to connect your Google Drive with CS Linux machines. Once connected, you will be able to store and access files on your Google Drive as a mounted drive from CS Linux machines running Centos 7.4 and up.

To  connect your Google Drive with CS Linux Machines:

  1. Login to CS Linux machine using Gnome window manager. This is not currently possible with X2Go Client. You will need to login personally on the machine to set this up or use Windows Remote Desktop Client to connect.
  2.  Click the Power icon power at  the Top-Right corner of the screen (#1) and a menu will be shown as on the figure on the right. 
  3. Click on settings Settings icon (#2) to access the All Settings Window as shown below.


     

  4. Look for Online Accounts icon as shown above and click it to open the Online Accounts windows as shown below.


     

  5. To start connecting your Google Drive account click on the [+] icon as shown above. A window showing lists of all accounts that can be added will be shown as below.

    accounts list
     

  6.  When you click Google account, a login window will open as shown below. Enter your Google mail address. For regular Google account, you would normally need to enter your gmail address. Example: your_username@gmail.com, but for Rutgers ScarletApps, the email would be your NetID@scarletmail.rutgers.edu as shown below. 
    lgoogle login window
     
  7. (Skip this step if you are entering your gmail.com email address) For users with @scarletmail.rutgers.edu address, another familiar windows will open asking you to enter your credential on Central Authentication Server (CAS) Login screen as shown below. Please enter your NetID and Password and click the Login button.

    CAS login window
     

  8. If you entered the correct credentials, a window below will open informing you that Linux Gnome wants to access things listed. Click the Allow button to continue

    gnome wants to window
     

  9. Once authorized, a window showing all Google services that can be accessed by Linux Gnome is presented to you as below. Feel free to turn off things you don't want Gnome to access after you test them.


     

  10.  The setup is completed. You can close this Online Accounts window now. To  access your Google Drive, look under Gnome menu as show below and select the item with Google account name listed in the menu to access it.


     

  11. You can access it from the command line through /run/user/UID/davfs, where UID is your numerical user ID. (You can use the "id" command if you don't know it.) In that directory you'll see all the external services mounted through Gnome. We don't have a good solution if you're not using Gnome. There are other tools available, but they don't look like anything we'd want to support on our public systems.

If you have questions, please send email to help@cs.rutgers.edu, don't forget to include your netid along with descriptions of your problem.