Forums/Globus Connect Personal

Globus Connect Personal for Linux

Globus Team - Vas
posted this on May 24, 2013, 14:48

Globus Connect Personal enables you to share and transfer files to and from your Linux laptop or desktop computer — even if it’s behind a firewall. Follow the easy steps below to turn your machine into a full-fledged Globus endpoint.

Note: Instructions are also available for installing and running Globus Connect Personal using the command line.

Prerequisites

Installation

Click here to create a Globus Connect Personal endpoint and follow the instructions below.

130524_GC_setup_panel.png

  1. Enter a name for your endpoint. This name can be anything you choose, as long as you haven’t previously created another endpoint with the same name.
  2. Click “Generate Setup Key”.
  3. Select the generated key with your mouse and copy it to the clipboard.

    130524_GC_generate_key.png
  4. Click "for Linux" to download the installer tarball.
  5. Extract the files from the downloaded tarball and run the installer:

    $ tar xzf globusconnect-latest.tgz
    $ cd globusconnect-n.m
    $ sh globusconnect &
  6. Since this is the first time you are running Globus Connect Personal, you will see the Initial Setup window below where you are required to enter a setup key.

    130524_GC_linux_setup_key.png

  7. Paste in the key you generated in step 2 above. The ‘OK’ button will be enabled if the key is valid. Click ‘OK’ to complete the installation. (If the ‘OK’ button is not enabled, please ensure you have properly copied the entire key generated in step 2 above.

Note: The configuration for Globus Connect Personal is stored in ~/.globusonline/lta. The unique host certificate is stored here and must be kept private. By default, it is not readable by any other user.

Running

Once the installation is complete, click the 'Connect' button to establish connection to Globus. You should see the status reflected below.

130524_GC_linux_running.png

Both lights green indicate that Globus Connect Personal is running properly and is connected to Globus. If you have any problems connecting to Globus, you may start the application from the command line using the -debug option (see more information on running from the command line here). You may minimize or hide this status window once Globus Connect Personal has connected successfully.

 

 

Comments

User photo
Samuel Flaxman

How do you set preferences for which folders are writable?  This is easy from the icon in Mac OS, but not sure how to do it in Linux.  Thanks!

October 10, 2013, 13:27
User photo
Joel Brownstein

You can set globusconnectpersonal preferences via the commandline including -restrict-paths <string>. see all options via sh globusconnect -help:

Usage:
sh globusconnectpersonal [ -setup <security code> | -start | -stop | -status | -trace | -debug | -version ] [ -dir <path> ] [ -restrict-paths <string> ] [ -shared-paths <string>

Options:
no option start Globus Connect Personal GUI
-setup <security code> register Globus Connect in Globus.org
-start start Globus Connect Personal and establish connection
to Globus.org
-stop stop Globus Connect Personal
-status return a status of running Globus Connect Personal
-trace trace a running process of Globus Connect Personal
-debug start Globus Connect Personal with verbose output
-version display the version number
-dir <path> specify an alternative directory with
configuration files and binaries instead of
the default $HOME/.globusonline. You can run only
one GC process with the same configuration.
-restrict-paths <string> A comma separated list of full paths that
GO may access. Each path may be
prefixed by R and/or W, denoting read or
write access, otherwise full access is
granted. If a given path is a directory,
all contents and subdirectories will be
given the same access. Order of paths does
not matter -- the permissions on the longest
matching path will apply. The special
character '~' will be replaced by the
authenticated user's home directory. Note
that if the authenticated user's home
directory is not accessible, the home
directory and starting path will be set to
'/'. By default all paths are allowed, and
access control is handled by the OS.
-shared-paths <string> Same rules as for -restricted-paths

November 17, 2013, 10:33
User photo
Ping Yang

Hi,

I have two end points, one is in a linux platform and another is on Windows 8, they are all active (I can select folder through the online interface), however, when I wanted to tranfer data from my Linux to Windows, it tells me:" Can not transfer between two Globus Connect endpoints", what happened?
How to fix this problem?

Ping

November 25, 2013, 10:19
User photo
Koh Schooley

Ping Yang,

Globus Connect Personal can only transfer data between it and Globus Servers.  You cannot transfer between two personal endpoints.  

December 30, 2013, 14:54
User photo
Globus Team - Vas
globus support

Koh (and Ping Yang),

It is now possible to transfer between two Globus Connect Personal endpoints. This feature is available as part of Globus Plus. You can sign up for a free one-month trial of Globus Plus by visiting the Subscriptions page.

Thanks,
Vas

January 1, 2014, 12:30
User photo
David Bailey

First of all, let me say that this tool is excellent and just what I needed. I am transferring data from the NCAR machine yellowstone in Wyoming to my Linux desktop here in Boulder. I do have one suggestion though. According to the documentation as mentioned above: "By default all paths are allowed, and access control is handled by the OS." This is not true. We managed to find in a different forum that by default only the home directory is available on the personal endpoint. One needs to add additional paths via the File->Preferences menu (at least for Linux). Could this be added somewhere in the setup instructions and made very clear? Otherwise, the setup was easy and I am now rolling.

Best Regards,

Dave Bailey

March 28, 2014, 16:32
User photo
Alexander Tchekhovskoy

When trying to run globusconnect v 2.1.1 (latest) on several different linux machines, I experienced the following error:

$ ./globusconnect
Tcllib not found.
The Globus Connect Personal GUI requires Tcllib.
Please install Tcllib using your distributions package management system.
Unfortunately, I do not manage these systems and cannot install Tcllib. I am able to use globusconnect v. 1.6 because it does not require Tcllib.  This, however, is dangerous, because this older version is susceptible to Hearbleed bug.  Is it possible to eliminate the dependence on Tcllib?  This makes the otherwise fantastic piece of software impossible to use on a number of systems.

Thank you!

Alexander

 

May 7, 2014, 02:03
User photo
Globus Team - Bryce Allen
globus support

Hi Alexander,

Globus Connect Personal can be run from the command line without requiring Tcllib. Run with the -help option for more details, but basically it looks like this:

# Setup

globusconnectpersonal -setup <security code from website>

# Run in background

globusconnectpersonal -start &

# Check status while in background

globusconnectpersonal -status

# Stop

globusconnectpersonal -stop

Hope that helps,

BryceA

May 7, 2014, 17:08
User photo
Janakiraman Balachandran

Hello,

I would like to know how can I automatically start globus connect in Ubuntu (or any other famous Linux distros) upon login

July 14, 2014, 13:04
User photo
Globus Team - Bryce Allen
globus support

Hi Janakiraman,

Do you want to auto-start globus connect for all users on the system, or just for one user? If it's just for one user, there are good answers here from askubuntu:

http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login

Globus Connect Personal for Linux does not have a built in option to run at login, so you must use standard Linux features to do this. There are many ways of doing it, depending on which distribution and which graphical environment and login manager you are using. The above link covers several cases - I recommend using the GUI option that matches your chosen ubuntu flavor and version.

For the command, you may need to enter the absolute path to the globusconnectpersonal executable. For example, I have it installed at /home/brycea/globusconnectpersonal-2.1.1. I would use the command /home/brycea/globusconnectpersonal-2.1.1/globusconnectpersonal. That would run the GUI at login. If you want to run the command line version, you can add the -start option.

-BryceA

July 14, 2014, 13:56
User photo
Globus Team - Bryce Allen
globus support

I forgot that the GUI version does not automatically connect on startup - your only option is to use the command line version by passing the -start option. We'll look into addressing this in a future version - do you prefer running the GUI version or having it run in the background and controlled via the command line?

-BryceA

July 14, 2014, 14:09
User photo
ramon fallon

Hi Globus Team,

Thanks for the tool!

I must admit to not fully understanding the concepts behind it, but I was hoping to get it working anyway, though I have encountered some problems, which could easily be user-originated :-).  (For example, I am aware there is a daemon and a client, can globusconnectpersonal work without globusconnect server?)

1) when using ./globusconnectpersonal -setup "<setup.code>", I get an exception on line 46 of gc-ctrl.py. I leave out the quotes and the same thing. In hte "-debug" option I get a first line warning saying "Error: You must register Globus Connect Personal on Globus first". I don't get this line with the -help option. The "-status" option gives the same exception as the "-setup" option. I went to the website thinking that I needed to register the app, but I could find a place for doing this.

2) when using the GUI, I get the screen as given in point 6 above. Getting asked for a "security key" when all I have is a "setup key" is a bit confusing, but I have faith, and paste it in. Except that I get an error: a new window pops up which is entirely blank, so I get no clues as to what happened. I've done this a few times, so I'm fairly sure it's the right key.

I'm farily sure I'm missing something obvious, I'm going through the step-by-steps again but any help is appreciated. Thanks!

August 14, 2014, 09:30
User photo
Globus Team - Bryce Allen
globus support

Hi Ramon,

Globus Connect Personal does not require a separate server, it's a complete package for making your own machine a Globus endpoint (and runs a GridFTP server as part of it's operation). Can you send email to support@globus.org to open a ticket, and provide more details of the errors you are seeing - screenshots and copy and paste of the command line error would be very helpful. Thanks for pointing out the naming inconsistency for "Security Code", we'll update that in the next release.

Thanks,

BryceA

August 14, 2014, 10:24
User photo
Adam Jacobs

Just FYI: on linux, the script seems to depend on python 2.x.  My default python is 3 and the script crashed.  This was fixed by changing all python scripts to be run by python2:

#!/usr/bin/python  --> #!/usr/bin/python2

Of course, this will only work if your linux distro includes a python 2.x.

November 25, 2014, 17:14
User photo
Globus Team - Bryce Allen
globus support

Hi Adam, thanks for the info. What distribution are you using that defaults to python3, or did you change the system default? Debian and ubuntu seems to consistently provide a symlink at /usr/bin/python2 if it's installed, but not sure about other distributions.

November 25, 2014, 17:46
User photo
Adam Jacobs

I use Arch Linux, which uses a rolling release philosophy.  So it typically has the most recent stable version of all installed packages and defaults to them, such as defaulting to Python 3.  But it does maintain a python2 as well.

November 25, 2014, 17:52
User photo
Globus Team - Bryce Allen
globus support

Ok thanks, there is actually a PEP related to this, so there is hope that all distribution will have a python2 link that we could use:

https://www.python.org/dev/peps/pep-0394/

November 25, 2014, 18:01
User photo
Jing Wang

I have one end point running on Window server, now I want to set up a new one on Linux. However, I have some troubles to in the initial setup step, the error msg is

Configuration directory: ....
Contacting relay.globusonline.org:2223
Error: Could not connect to server
---
Read from socket failed: Connection reset by peer
--------------------------------------------------------

The Windows server is in the DMZ, but the Linux server is behind an organisational firewall. Our IT guy told me that he opened the relevant ports mentioned in the support documentation. Can you shed some lights on how to fix this problem?

Many thanks,

Jing

February 24, 2015, 19:48
User photo
Globus Team - Dan
globus support

Hi Jing,

The way to start here is to work with your organization's firewall admin to ensure that the proper ports have, in fact, actually been opened. The ports that Globus Connect Personal requires are outlined in this document:

https://globusonline.zendesk.com/entries/20999718-What-ports-does-G...

Please work with your firewall admin to ensure that your are able to connect outbound on these ports from your host in your organization's DMZ as specified by the document. If, after that, you should continue to have problems then please open a support ticket and we'll continue to look into the issue from there.

-Regards

Dan Powers

March 6, 2015, 08:23
User photo
Josh Waterfall

This is related to Alexander Tchekhovskoy's issue with tcllib.  I am trying to install globus connect personal on a linux (CentOS 6.6) computer and get the same error about tcllib not installed.  There is a suggestion to run yum install tcllib but yum can not find any matching packages.  I do have tcl, tcl-devel, tk, and tk-devel installed.  Any suggestions on where to get tcllib?

Thanks,

Josh Waterfall

March 18, 2015, 08:47
User photo
Globus Team - Dan
globus support

Hi Josh,

The key problem here is that the tcllib package doesn't seem to be offered in the CentOS 6 repository anymore. It's possible to look for this package on the Internet and install it that way. Also, if you don't need a GUI, then you can still run Globus Connect Personal for Linux even without tcllib. Instructions for how to do this can be found here:

https://support.globus.org/entries/24078973-Installing-Globus-Conne...

I hope this information is helpful to you. If you should continue to need support on this issue then please open a support ticket and we'll continue to look into the issue from there.

-Regards

Dan Powers

 

March 18, 2015, 09:36