Please select one method only and stick to it.
Download the .repo file and save it to the correct location:
wget -O /etc/yum.repos.d/x2go.repo \ http://packages.x2go.org/epel/x2go.repo
Edit the file afterwards to select the repositories you need.
As a rule of thumb:
source repositories are never needed, unless you want to build packages from source.
extras repositories are always needed.
By default, the
release repository are enabled and the
nightly repository is disabled. If you want to use the
nightly packages, disable the
release repository and enable the
Note that not all of X2Go may be provided for RHEL 5/6, as these distributions are very old and therefore more work-intensive to develop for.
Hint: If you are behind a proxy, make sure the proxy is defined in
/etc/yum.conf. Standard yum repos do not use the same connection mechanisms as RHN channels.
Install EPEL as outlined on the EPEL wiki page.
Congratulations, you are now able to access the X2Go packages. You may continue by installing
pyhoca-gui or any other of the available packages.