Please see X2Go's Server Core for detailed documentation.
You might have to install add-apt-repository
first.
To install add-apt-repository
on Ubuntu 10.04 or 12.04:
sudo apt-get install python-software-properties
To install add-apt-repository
on Ubuntu 14.04:
sudo apt-get install software-properties-common
Once add-apt-repository
is installed, run these commands:
sudo add-apt-repository ppa:x2go/stable sudo apt-get update sudo apt-get install x2goserver x2goserver-xsession
First add the X2Go ppa repository for Ubuntu.
After adding the X2Go PPA to your remote Ubuntu “desktop” server the next step is to install the packages x2goserver
and x2goserver-xsession
:
sudo apt-get install x2goserver x2goserver-xsession
Add our X2Go Debian Repository.
sudo apt-get install x2goserver x2goserver-xsession
Add our X2Go Raspbian Repository.
sudo apt-get install x2goserver x2goserver-xsession
Currently X2Go cannot connect to an openssh server compiled with the HPN patch. To make sure x2goserver works on your Gentoo server, you must recompile net-misc/openssh with HPN support disabled. Add the following line to /etc/portage/packages.use:
net-misc/openssh -hpn
Then recompile net-misc/openssh, update the configuration file, and restart the sshd server, as follows:
emerge -1 net-misc/openssh dispatch-conf /etc/init.d/sshd restart
Then, install net-misc/x2goserver
.
No additional repositories required:
sudo yum install x2goserver
Add the EPEL repository:
Check that you have activated the “optional” channel:
sudo subscription-manager repos --list
If the optional channel for your base channel is not active, activate it.
sudo subscription-manager repos --enable=rhel-7-server-optional-rpms
Or use the RHNS web interface to activate the channel “RHEL Server Optional”
Then
sudo yum install x2goserver x2goserver-xsession
There are two sources for X2Go packages for RHEL 6 - our packages repository and Fedora EPEL.
Select one method only and follow adding X2Go to RedHat-based systems to configure the repository of your choice.
Check that you have activated the “optional” channel:
sudo rhn-channel -l
If the optional channel for your base channel is not active, activate it.
sudo rhn-channel --add -c rhel-x86_64-server-optional-6
Currently, even in the optional channel, there is no official package for sshfs and it is not (yet?) included in the X2Go repo. Thus it has to be downloaded form an alternate source:
sudo yum install fuse fuse-libs wget http://pkgs.repoforge.org/fuse-sshfs/fuse-sshfs-2.2-1.el6.rf.x86_64.rpm sudo rpm -i --nosignature fuse-sshfs-2.2-1.el6.rf.x86_64.rpm
URL to most recent EPEL repo installation package available here
wget http://mirror01.th.ifl.net/epel/6/i386/epel-release-6-7.noarch.rpm sudo rpm -i epel-release-6-7.noarch.rpm sudo yum install fuse-sshfs
You should now be able to install the x2goserver
package:
sudo yum install x2goserver
if you are installing from EPEL6 or EPEL7, install the x2goserver-xsession
package also:
sudo yum install x2goserver-xsession
Add the X2Go repo to your yum configuration by following the steps on that page.
One approach is to download required packages manually. Yum will tell you what is needed, when you ask it to install x2goserver
.
rpm -i –nosignature perl-DBI-1.615-2.x86_64.rpm perl-File-BaseDir-0.03-1.el5.noarch.rpm perl-Sys-Syslog-0.27-1.el5.x86_64.rpm
rpm -i –nosignature fuse-sshfs-2.2-1.el5.rf.x86_64.rpm fuse-libs-2.7.4-8.el5.x86_64.rpm fuse-2.7.4-8.el5.x86_64.
You should now be able to install the x2goserver
& x2goserver-xsession
packages:
yum install x2goserver
Follow the the instructions for X2Go Packages for SUSE-Based Systems to add appropriate repositories.
zypper install x2goserver
Please keep this section in sync with the README.sudoers file in our packages!
OpenSUSE 11 and SLES/SLED 11 do not support /etc/sudoers.d as a place for custom sudoers config files.
If you are using any of these distributions and are having issues regarding running Qt applications with elevated privileges (e.g., via kdesu or sudo), please use this workaround.
/usr/share/doc/packages/x2goserver
.su
or
sudo -i
visudo
x2goserver
is available in the extra
repo.
See https://wiki.archlinux.org/index.php/X2Go fore more info.
SlackBuilds for x2goserver
are available on SlackBuilds.org: