User Tools

Site Tools


doc:installation:x2goserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:installation:x2goserver [2013/11/27 16:36]
orion [RHEL 6]
doc:installation:x2goserver [2015/03/27 06:32] (current)
ionic Fixup broken page (monospaced tags were wrong.)
Line 7: Line 7:
  
 ==== Quick ==== ==== Quick ====
-You might have to install ''​add-apt-repository''​ first using:+You might have to install ''​add-apt-repository''​ first
 + 
 +To install ''​add-apt-repository''​ on Ubuntu 10.04 or 12.04:
 <code bash> <code bash>
 sudo apt-get install python-software-properties sudo apt-get install python-software-properties
 </​code>​ </​code>​
  
 +To install ''​add-apt-repository''​ on Ubuntu 14.04:
 +<code bash>
 +sudo apt-get install software-properties-common
 +</​code>​
 +
 +Once ''​add-apt-repository''​ is installed, run these commands:
 <code bash> <code bash>
 sudo add-apt-repository ppa:​x2go/​stable sudo add-apt-repository ppa:​x2go/​stable
 sudo apt-get update sudo apt-get update
-sudo apt-get install x2goserver+sudo apt-get install x2goserver ​x2goserver-xsession
 </​code>​ </​code>​
  
Line 52: Line 60:
 </​code>​ </​code>​
  
 +===== Fedora 19 and later =====
 +
 +No additional repositories required:
 +
 +<code bash>
 +sudo yum install x2goserver
 +</​code>​
 +
 +===== RHEL 7 =====
 +
 +Add the EPEL repository:
 +
 +[[https://​fedoraproject.org/​wiki/​EPEL#​How_can_I_use_these_extra_packages.3F|EPEL Installation Intructions]]
 +
 +Check that you have activated the "​optional"​ channel:
 +<code bash>
 +sudo rhn-channel -l
 +</​code>​
 +
 +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
 +</​code>​
 +Or use the RHNS web interface to activate the channel "RHEL Server Optional"​
 +
 +Then
 +<code bash>
 +sudo yum install x2goserver
 +</​code>​
  
 ===== RHEL 6 ===== ===== RHEL 6 =====
  
-There are two sources for X2Go packages for RHEL 6 - Fedora EPEL and OBS.+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 =====+==== EPEL ====
  
 [[https://​fedoraproject.org/​wiki/​EPEL#​How_can_I_use_these_extra_packages.3F|EPEL Installation Intructions]] [[https://​fedoraproject.org/​wiki/​EPEL#​How_can_I_use_these_extra_packages.3F|EPEL Installation Intructions]]
  
-====== OBS =====+==== OBS ====
 [[wiki:​repositories:​redhat|Add the X2Go repo]] to your yum configuration. [[wiki:​repositories:​redhat|Add the X2Go repo]] to your yum configuration.
  
Line 103: Line 140:
 </​code>​ </​code>​
  
 +if you are installing from EPEL6 or EPEL7, install the ''​x2goserver-xsession''​ package also:
  
-===== RHEL 5 =====+<code bash> 
 +sudo yum install x2goserver-xsession 
 +</​code>​ 
 +===== EPEL (via Opensuse Build Service) ​=====
  
 [[wiki:​repositories:​redhat|Add the X2Go repo]] to your yum configuration using tag ''​RHEL_5''​. [[wiki:​repositories:​redhat|Add the X2Go repo]] to your yum configuration using tag ''​RHEL_5''​.
- 
 ==== Installing Required Dependencies (fuse and perl modules) ==== ==== Installing Required Dependencies (fuse and perl modules) ====
 === Download required packages manually === === Download required packages manually ===
Line 121: Line 161:
   * ''​rpm -i --nosignature perl-File-BaseDir-0.03-1.el5.noarch.rpm perl-Sys-Syslog-0.27-1.el5.x86_64.rpm''​   * ''​rpm -i --nosignature 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.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.rpm''​
- 
 ==== Installing X2Go Server ==== ==== Installing X2Go Server ====
 You should now be able to install the ''​x2goserver''​ package: You should now be able to install the ''​x2goserver''​ package:
Line 173: Line 212:
   Verbindung fehlgeschlagen DBD::​SQLite::​db prepare failed: no such table: sessions at /​usr/​libexec/​x2go/​x2gosqlitewrapper.pl line 423. Can't call method "​execute"​ on an undefined value at /​usr/​libexec/​x2go/​x2gosqlitewrapper.pl line 431.    Verbindung fehlgeschlagen DBD::​SQLite::​db prepare failed: no such table: sessions at /​usr/​libexec/​x2go/​x2gosqlitewrapper.pl line 423. Can't call method "​execute"​ on an undefined value at /​usr/​libexec/​x2go/​x2gosqlitewrapper.pl line 431. 
  
 +===== EPEL 5 (via packages.x2go.org) =====
 +
 +<note warning>​Due to bug[[http://​bugs.x2go.org/​cgi-bin/​bugreport.cgi?​bug=714|#​714]],​ currently yum will not tell you what is needed.</​note>​
 +
 +[[http://​wiki.x2go.org/​doku.php/​wiki:​repositories:​epel|Add the X2Go repo]] to your yum configuration by following the steps on that page.
 +==== 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 ''​x2goserver''​.
 +
 +  * perl(DBI::​db) - [[http://​flexbox.sourceforge.net/​centos/​5/​x86_64/​perl-DBI-1.615-2.x86_64.rpm|perl-DBI-1.615-2.x86_64.rpm]]
 +  * perl(File::​BaseDir) - perl-File-BaseDir-0.03-1.el5.noarch.rpm
 +  * perl(Sys::​Syslog) - perl-Sys-Syslog-0.27-1.el5.x86_64.rpm ​
 +  * 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
 +
 +  * ''​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.''​
 +==== Installing X2Go Server ====
 +You should now be able to install the ''​x2goserver''​ & ''​x2goserver-xsession''​ packages:
 +
 +  yum install x2goserver
 +  ​
 +===== SUSE ======
 +
 +==== Adding Repositories ====
 +
 +=== Release Version ===
 +
 +== SLES/SLED ==
 +<code bash>
 +zypper ar http://​packages.x2go.org/​sle/<​distro-version>/​extras x2go-extras
 +zypper ar http://​packages.x2go.org/​sle/<​distro-version>/​main x2go-release
 +</​code>​
 +
 +== OpenSUSE ==
 +<code bash>
 +zypper ar http://​packages.x2go.org/​opensuse/<​distro-version>/​extras x2go-extras
 +zypper ar http://​packages.x2go.org/​opensuse/<​distro-version>/​main x2go-release
 +</​code>​
 +
 +
 +=== Nightly Version ===
 +
 +== SLES/SLED ==
 +<code bash>
 +zypper ar http://​packages.x2go.org/​sle/<​distro-version>/​extras x2go-extras
 +zypper ar http://​packages.x2go.org/​sle/<​distro-version>/​heuler x2go-nightly
 +</​code>​
 +
 +== OpenSUSE ==
 +<code bash>
 +zypper ar http://​packages.x2go.org/​opensuse/<​distro-version>/​extras x2go-extras
 +zypper ar http://​packages.x2go.org/​opensuse/<​distro-version>/​heuler x2go-nightly
 +</​code>​
 +
 +==== Installing X2GoServer ====
 +
 +<code bash>
 +zypper install x2goserver
 +</​code>​
 +
 +==== 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 /​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.
 +
 +
 +=== Necessary Actions ===
 +
 +  - Copy the contents of the "​x2goserver"​ file residing in the documentation directory ''/​usr/​share/​doc/​packages/​x2goserver''​.
 +  - Get elevated privileges. Either via <code bash>​su</​code>​ or <code bash>​sudo -i</​code>​
 +  - Launch <code bash>​visudo</​code>​
 +  - Paste the previously copied content at the end of the sudoers file.
 +  - Save and exit your editor.
doc/installation/x2goserver.txt · Last modified: 2015/03/27 06:32 by ionic