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 19:46] sunweaver [Detailed] |
doc:installation:x2goserver [2015/03/27 06:32] ionic Fixup broken page (monospaced tags were wrong.) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== X2Go Server installation ====== | ====== X2Go Server installation ====== | ||
- | Please see [[wiki:components: | + | Please see [[wiki:advanced:x2goserver-in-detail|X2go' |
Line 7: | Line 7: | ||
==== Quick ==== | ==== Quick ==== | ||
- | You might have to install '' | + | You might have to install '' |
+ | |||
+ | To install '' | ||
<code bash> | <code bash> | ||
sudo apt-get install python-software-properties | sudo apt-get install python-software-properties | ||
</ | </ | ||
+ | To install '' | ||
+ | <code bash> | ||
+ | sudo apt-get install software-properties-common | ||
+ | </ | ||
+ | |||
+ | Once '' | ||
<code bash> | <code bash> | ||
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: |
- | First add the [[wiki: | + | After adding |
- | After adding the x2go PPA on your remote Ubuntu " | + | <code bash> |
+ | sudo apt-get | ||
+ | </ | ||
- | Start a ssh terminal session with the remote Ubuntu server. | + | ===== Debian ===== |
- | + | ||
- | 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 x2goserver packages. | + | Add our [[wiki: |
<code bash> | <code bash> | ||
Line 36: | Line 44: | ||
</ | </ | ||
- | ===== Debian | + | ===== 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 | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ===== Fedora 19 and later ===== | ||
- | Add our [[wiki:x2go-repository-debian|X2Go Debian Repository]]. | + | No additional repositories required: |
<code bash> | <code bash> | ||
- | sudo apt-get | + | sudo yum install x2goserver |
+ | </ | ||
+ | |||
+ | ===== RHEL 7 ===== | ||
+ | |||
+ | Add the EPEL repository: | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Check that you have activated the " | ||
+ | <code bash> | ||
+ | sudo rhn-channel -l | ||
+ | </ | ||
+ | |||
+ | If the optional channel for your base channel is not active, activate it. | ||
+ | <code bash> | ||
+ | sudo rhn-channel --add -c rhel-x86_64-server-optional-7 | ||
+ | </ | ||
+ | Or use the RHNS web interface to activate the channel "RHEL Server Optional" | ||
+ | |||
+ | Then | ||
+ | <code bash> | ||
+ | sudo yum install x2goserver | ||
</ | </ | ||
===== 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. |
+ | |||
+ | ==== EPEL ==== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ==== OBS ==== | ||
+ | [[wiki:repositories: | ||
Line 56: | Line 109: | ||
</ | </ | ||
- | If the optional channel for your base channel is not active, activate it. e.g.: | + | If the optional channel for your base channel is not active, activate it. |
<code bash> | <code bash> | ||
sudo rhn-channel --add -c rhel-x86_64-server-optional-6 | sudo rhn-channel --add -c rhel-x86_64-server-optional-6 | ||
Line 62: | Line 115: | ||
==== Installing sshfs (fuse) ==== | ==== Installing sshfs (fuse) ==== | ||
- | 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: | + | 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: |
=== Option 1: Download the package manually === | === Option 1: Download the package manually === | ||
Line 80: | Line 133: | ||
</ | </ | ||
- | ==== Installing | + | ==== Installing |
- | You should now be able to install the x2goserver package: | + | You should now be able to install the '' |
<code bash> | <code bash> | ||
Line 87: | Line 140: | ||
</ | </ | ||
- | **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 | ||
+ | </ | ||
+ | ===== EPEL 5 (via Opensuse Build Service) ===== | ||
+ | |||
+ | [[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:: | ||
+ | |||
+ | ===== EPEL 5 (via packages.x2go.org) ===== | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | [[http:// | ||
+ | ==== 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 '' | ||
+ | |||
+ | * perl(DBI:: | ||
+ | * perl(File:: | ||
+ | * perl(Sys:: | ||
+ | * fuse - fuse-2.7.4-8.el5.x86_64.rpm | ||
+ | * libfuse.so.2 - fuse-libs-2.7.4-8.el5.x86_64.rpm | ||
+ | * 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 | ||
+ | |||
+ | ===== SUSE ====== | ||
+ | |||
+ | ==== Adding Repositories ==== | ||
+ | |||
+ | === Release Version === | ||
+ | |||
+ | == SLES/SLED == | ||
+ | <code bash> | ||
+ | zypper ar http:// | ||
+ | zypper ar http:// | ||
+ | </ | ||
+ | |||
+ | == OpenSUSE == | ||
+ | <code bash> | ||
+ | zypper ar http:// | ||
+ | zypper ar http:// | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Nightly Version === | ||
+ | |||
+ | == SLES/SLED == | ||
+ | <code bash> | ||
+ | zypper ar http:// | ||
+ | zypper ar http:// | ||
+ | </ | ||
+ | |||
+ | == OpenSUSE == | ||
+ | <code bash> | ||
+ | zypper ar http:// | ||
+ | zypper ar http:// | ||
+ | </ | ||
+ | |||
+ | ==== Installing X2GoServer ==== | ||
+ | |||
+ | <code bash> | ||
+ | zypper install x2goserver | ||
+ | </ | ||
+ | |||
+ | ==== Workaround for Qt-based Applications and sudo/kdesu ==== | ||
+ | |||
+ | Please keep this section in sync with the README.sudoers file in our packages! | ||
+ | |||
+ | === Problem Description === | ||
+ | |||
+ | OpenSUSE 11 and SLES/SLED 11 do not support / | ||
+ | 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. | ||
+ | === Necessary Actions === | ||
+ | - Copy the contents of the " | ||
+ | - Get elevated privileges. Either via <code bash> | ||
+ | - Launch <code bash> | ||
+ | - Paste the previously copied content at the end of the sudoers file. | ||
+ | - Save and exit your editor. |