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:
- 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.
- Click the Power icon at the Top-Right corner of the screen (#1) and a menu will be shown as on the figure on the right.
- Click on Settings icon (#2) to access the All Settings Window as shown below.
- Look for Online Accounts icon as shown above and click it to open the Online Accounts windows as shown below.
- 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.
- 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: firstname.lastname@example.org, but for Rutgers ScarletApps, the email would be your NetID@scarletmail.rutgers.edu as shown below.
- (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.
- 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
- 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.
- 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.
- The mount point is
/run/user/UID/gvfs/google-drive:host=scarletmail.rutgers.edu,user=yourNetID]$, 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. However the content looks like unreable via command line. We recommend that you use drag/drop of Nautilus. Nautilus is able to interpret the character lists, but Calibre, OpenOffice and others cannot. 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 email@example.com, don't forget to include your netid along with descriptions of your problem.