This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
doc:installation:x2goserver [2013/03/12 20:26] sunweaver [Debian] |
doc:installation:x2goserver [2014/05/22 14:00] mikedep333 [Installing X2Go Server] EPEL 6 and EPEL7 users should also install x2goserver-xsession |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== X2Go Server installation ====== | ====== X2Go Server installation ====== | ||
- | Please see [[wiki:components: | + | Please see [[wiki:advanced:x2goserver-in-detail|X2go' |
Line 15: | Line 15: | ||
sudo add-apt-repository ppa: | sudo add-apt-repository ppa: | ||
sudo apt-get update | sudo apt-get update | ||
- | sudo apt-get install x2goserver | + | sudo apt-get install x2goserver |
</ | </ | ||
==== Detailed ==== | ==== Detailed ==== | ||
- | FIXME This needs to become more generic and less confusing | + | First add the [[wiki:repositories: |
- | + | ||
- | First add the [[wiki:x2go-repository-ubuntu|X2Go ppa repository for Ubuntu]]. | + | |
- | + | ||
- | After adding the x2go PPA on your remote Ubuntu " | + | |
- | Start a ssh terminal session with the remote Ubuntu server. | + | After adding |
- | + | ||
- | If you have not copied ssh keys (see x2go wiki section called **Advanced x2go Setups**) in order to use automatic login by user to the remote server without having to enter their password and instead you plan to require remote users to enter both their UserID and Password on their x2go client then you will need to edit/modify /// | + | |
- | + | ||
- | The next step is to install the primary | + | |
<code bash> | <code bash> | ||
Line 43: | Line 35: | ||
sudo apt-get install x2goserver x2goserver-xsession | sudo apt-get install x2goserver x2goserver-xsession | ||
</ | </ | ||
+ | |||
+ | ===== Gentoo ===== | ||
+ | |||
+ | 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/ | ||
+ | |||
+ | < | ||
+ | net-misc/ | ||
+ | </ | ||
+ | |||
+ | Then recompile net-misc/ | ||
+ | |||
+ | < | ||
+ | emerge -1 net-misc/ | ||
+ | dispatch-conf | ||
+ | / | ||
+ | </ | ||
+ | |||
===== RHEL 6 ===== | ===== RHEL 6 ===== | ||
- | [[wiki:x2go-repository-redhat|Add the X2Go repo]] to your yum configuration. | + | There are two sources for X2Go packages for RHEL 6 - Fedora EPEL and OBS. Follow one of the following two links to configure the repository of your choice. |
+ | |||
+ | ====== Fedora EPEL ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ====== OBS ===== | ||
+ | [[wiki:repositories: | ||
Line 87: | Line 103: | ||
</ | </ | ||
- | **Warning:** Note that currently the server must be in runlevel | + | if you are installing from EPEL6 or EPEL7, install the '' |
+ | |||
+ | <code bash> | ||
+ | sudo yum install x2goserver-xsession | ||
+ | </ | ||
+ | ===== RHEL 5 ===== | ||
+ | |||
+ | [[wiki: | ||
+ | |||
+ | ==== Installing Required Dependencies (fuse and perl modules) ==== | ||
+ | === Download required packages manually === | ||
+ | |||
+ | One approach is to download required packages manually. Yum will tell you what is needed, when you ask it to install '' | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | * fuse-sshfs - fuse-sshfs-2.2-1.el5.rf.x86_64.rpm | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ==== Installing X2Go Server ==== | ||
+ | You should now be able to install the '' | ||
+ | |||
+ | yum install x2goserver | ||
+ | |||
+ | Unfortunately, | ||
+ | |||
+ | Running Transaction | ||
+ | Installing: libXcomp3 | ||
+ | Installing: libNX_X11-6 | ||
+ | Installing: libNX_Xext6 | ||
+ | Installing: libNX_Xrender1 | ||
+ | Installing: libNX_Xrandr2 | ||
+ | Installing: libNX_Xtst6 | ||
+ | Installing: libNX_Xdamage1 | ||
+ | Installing: makepasswd | ||
+ | Installing: libXcompshad3 | ||
+ | Installing: libNX_Xpm4 | ||
+ | Installing: libNX_Xinerama1 | ||
+ | Installing: libXcompext3 | ||
+ | Installing: libNX_freetype6 | ||
+ | Installing: libNX_Xfixes3 | ||
+ | Installing: libNX_Xdmcp6 | ||
+ | Installing: libNX_Xcomposite1 | ||
+ | Installing: perl-DBI | ||
+ | Installing: perl-DBD-Pg | ||
+ | Installing: perl-DBD-SQLite | ||
+ | Installing: perl-Config-Simple | ||
+ | Installing: nxagent | ||
+ | Installing: x2goserver | ||
+ | " | ||
+ | Can't continue after import errors at / | ||
+ | BEGIN failed--compilation aborted at / | ||
+ | chgrp: cannot access `/ | ||
+ | chmod: cannot access `/ | ||
+ | Installing: x2goagent | ||
+ | Installing: x2goserver | ||
+ | " | ||
+ | Can't continue after import errors at / | ||
+ | BEGIN failed--compilation aborted at / | ||
+ | chgrp: cannot access `/ | ||
+ | chmod: cannot access `/ | ||
+ | |||
+ | Installed: x2goserver.i386 0: | ||
+ | Dependency Installed: libNX_X11-6.x86_64 0: | ||
+ | Complete! | ||
+ | |||
+ | Despite being installed x2goserver is dysfunctional afterwards. On connection it yields an error: | ||
+ | Verbindung fehlgeschlagen DBD:: | ||