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 [2015/01/04 17:50]
mikedep333 [Installing Required Dependencies (fuse and perl modules)] Specify perl(DBI::db) (The version in EL5 is too old)
doc:installation:x2goserver [2019/07/01 08:03] (current)
mmoeller
Line 1: Line 1:
 ====== X2Go Server installation ====== ====== X2Go Server installation ======
  
-Please see [[wiki:advanced:x2goserver-in-detail|X2go's Server Core]] for detailed documentation.+Please see [[wiki:advanced:x2goserver-in-detail|X2Go's Server Core]] for detailed documentation.
  
  
Line 39: Line 39:
  
 Add our [[wiki:repositories:debian|X2Go Debian Repository]]. Add our [[wiki:repositories:debian|X2Go Debian Repository]].
 +
 +<code bash>
 +sudo apt-get install x2goserver x2goserver-xsession
 +</code>
 +
 +===== Raspbian =====
 +
 +Add our [[wiki:repositories:raspbian|X2Go Raspbian Repository]].
  
 <code bash> <code bash>
Line 60: Line 68:
 </code> </code>
  
 +Then, install ''net-misc/x2goserver''.
 ===== Fedora 19 and later ===== ===== Fedora 19 and later =====
  
Line 76: Line 85:
 Check that you have activated the "optional" channel: Check that you have activated the "optional" channel:
 <code bash> <code bash>
-sudo rhn-channel -l+sudo subscription-manager repos --list
 </code> </code>
  
 If the optional channel for your base channel is not active, activate it. 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-7+sudo subscription-manager repos --enable=rhel-7-server-optional-rpms
 </code> </code>
 Or use the RHNS web interface to activate the channel "RHEL Server Optional" Or use the RHNS web interface to activate the channel "RHEL Server Optional"
Line 87: Line 96:
 Then Then
 <code bash> <code bash>
-sudo yum install x2goserver+sudo yum install x2goserver x2goserver-xsession
 </code> </code>
  
 ===== RHEL 6 ===== ===== RHEL 6 =====
  
-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. +There are two sources for X2Go packages for RHEL 6 - our packages repository and Fedora EPEL.
- +
-==== EPEL ==== +
- +
-[[https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F|EPEL Installation Intructions]] +
- +
-==== OBS ==== +
-[[wiki:repositories:redhat|Add the X2Go repo]] to your yum configuration.+
  
 +Select **one method only** and follow [[wiki:repositories:epel|adding X2Go to RedHat-based systems]] to configure the repository of your choice.
  
 ==== Activating Optional Channels for RHEL ==== ==== Activating Optional Channels for RHEL ====
Line 145: Line 148:
 sudo yum install x2goserver-xsession sudo yum install x2goserver-xsession
 </code> </code>
-===== RHEL 5 ===== 
  
-<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>+===== EPEL 5 (via packages.x2go.org) =====
  
-[[wiki:repositories:redhat|Add the X2Go repo]] to your yum configuration using tag ''RHEL_5''.+<note warning>Due to [[http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=714|bug #714]], currently yum will not tell you what is needed.</note> 
 + 
 +[[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) ==== ==== Installing Required Dependencies (fuse and perl modules) ====
 === Download required packages manually === === Download required packages manually ===
Line 155: Line 159:
 One approach is to download required packages manually. Yum will tell you what is needed, when you ask it to install ''x2goserver''. 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(File::BaseDir) - perl-File-BaseDir-0.03-1.el5.noarch.rpm
-  * perl(Sys::Syslog) - perl-Sys-Syslog-0.27-1.el5.x86_64.rpm+  * perl(Sys::Syslog) - perl-Sys-Syslog-0.27-1.el5.x86_64.rpm 
   * fuse - fuse-2.7.4-8.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   * 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   * fuse-sshfs - fuse-sshfs-2.2-1.el5.rf.x86_64.rpm
-  * 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]] 
  
-  * ''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-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.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 ==== ==== Installing X2Go Server ====
-You should now be able to install the ''x2goserver'' package:+You should now be able to install the ''x2goserver'' & ''x2goserver-xsession'' packages:
  
   yum install x2goserver   yum install x2goserver
 +  
 +===== SUSE ======
  
-Unfortunately, in my case I get an error when ''x2goserver'' is being installed:+Follow the the instructions for [[wiki:repositories:suse|X2Go Packages for SUSE-Based Systems]] to add appropriate repositories.
  
-  Running Transaction +==== Installing X2GoServer ==== 
-    Installing: libXcomp3                    ####################### [ 1/24]  + 
-    Installing: libNX_X11-6                  ####################### [ 2/24]  +<code bash> 
-    Installing: libNX_Xext6                  ####################### [ 3/24]  +zypper install x2goserver 
-    Installing: libNX_Xrender1               ####################### [ 4/24]  +</code> 
-    Installing: libNX_Xrandr2                ####################### [ 5/24]  + 
-    Installing: libNX_Xtst6                  ####################### [ 6/24]  +==== Workaround for Qt-based Applications and sudo/kdesu ==== 
-    Installing: libNX_Xdamage1               ####################### [ 7/24]  + 
-    Installing: makepasswd                   ####################### [ 8/24]  +Please keep this section in sync with the README.sudoers file in our packages! 
-    Installing: libXcompshad3                ####################### [ 9/24]  + 
-    Installing: libNX_Xpm4                   ####################### [10/24]  +=== Problem Description === 
-    Installing: libNX_Xinerama1              ####################### [11/24]  + 
-    Installing: libXcompext3                 ####################### [12/24]  +OpenSUSE 11 and SLES/SLED 11 do not support /etc/sudoers.d as a place for 
-    Installing: libNX_freetype6              ####################### [13/24]  +custom sudoers config files. 
-    Installing: libNX_Xfixes3                ####################### [14/24]  + 
-    Installing: libNX_Xdmcp6                 ####################### [15/24]  +If you are using any of these distributions and 
-    Installing: libNX_Xcomposite1            ####################### [16/24]  +are having issues regarding running Qt applications with elevated privileges 
-    Installing: perl-DBI                     ####################### [17/24]  +(e.g., via kdesu or sudo), please use this workaround. 
-    Installing: perl-DBD-Pg                  ####################### [18/24]  + 
-    Installing: perl-DBD-SQLite              ####################### [19/24]  + 
-    Installing: perl-Config-Simple           ####################### [20/24]  +=== Necessary Actions === 
-    Installing: nxagent                      ####################### [21/24]  + 
-    Installing: x2goserver                   ####################### [22/24]  +  - Copy the contents of the "x2goserverfile residing in the documentation directory ''/usr/share/doc/packages/x2goserver''
-  "make_pathis not exported by the File::Path module +  - Get elevated privileges. Either via <code bash>su</code> or <code bash>sudo -i</code> 
-  Can't continue after import errors at /usr/sbin/x2godbadmin line 25 +  - Launch <code bash>visudo</code> 
-  BEGIN failed--compilation aborted at /usr/sbin/x2godbadmin line 25+  - Paste the previously copied content at the end of the sudoers file. 
-  chgrp: cannot access `/var/lib/x2go/x2go_sessions': No such file or directory +  - Save and exit your editor
-  chmod: cannot access `/var/lib/x2go/x2go_sessions': No such file or directory + 
-    Installing: x2goagent                    ####################### [23/24]  +===== Arch Linux ===== 
-    Installing: x2goserver                   ####################### [24/24]  +''x2goserver'' is available in the ''extra'' repo
-  "make_path" is not exported by the File::Path module + 
-  Can't continue after import errors at /usr/sbin/x2godbadmin line 25 +See https://wiki.archlinux.org/index.php/X2Go fore more info
-  BEGIN failed--compilation aborted at /usr/sbin/x2godbadmin line 25+ 
-  chgrp: cannot access `/var/lib/x2go/x2go_sessions': No such file or directory +===== Slackware =====
-  chmod: cannot access `/var/lib/x2go/x2go_sessions': No such file or directory +
-   +
-  Installed: x2goserver.i386 0:4.0.1.6-1.1 x2goserver.x86_64 0:4.0.1.6-1.1 +
-  Dependency InstalledlibNX_X11-6.x86_64 0:3.5.0.20-4.1 libNX_Xcomposite1.x86_64 0:3.5.0.20-4.1 libNX_Xdamage1.x86_64 0:3.5.0.20-4.1 libNX_Xdmcp6.x86_64 0:3.5.0.20-4.1 libNX_Xext6.x86_64 0:3.5.0.20-4.1 libNX_Xfixes3.x86_64 0:3.5.0.20-4.1 libNX_Xinerama1.x86_64 0:3.5.0.20-4.1 libNX_Xpm4.x86_64 0:3.5.0.20-4.1 libNX_Xrandr2.x86_64 0:3.5.0.20-4.1 libNX_Xrender1.x86_64 0:3.5.0.20-4.1 libNX_Xtst6.x86_64 0:3.5.0.20-4.1 libNX_freetype6.x86_64 0:3.5.0.20-4.1 libXcomp3.x86_64 0:3.5.0.20-4.1 libXcompext3.x86_64 0:3.5.0.20-4.1 libXcompshad3.x86_64 0:3.5.0.20-4.1 makepasswd.x86_64 0:0.5.0-2.2 nxagent.x86_64 0:3.5.0.20-4.1 perl-Config-Simple.x86_64 0:4.59-14.1 perl-DBD-Pg.x86_64 0:1.49-1.fc6 perl-DBD-SQLite.x86_64 0:1.37-26.1 perl-DBI.x86_64 0:1.617-8.1 x2goagent.x86_64 0:3.5.0.20-4.1 +
-  Complete!+
  
-Despite being installed x2goserver is dysfunctional afterwardsOn connection it yields an error:+SlackBuilds for ''x2goserver'' are available on SlackBuilds.org:
  
-  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. +* https://slackbuilds.org/result/?search=x2goserver
  
doc/installation/x2goserver.1420393810.txt.gz · Last modified: 2015/01/04 17:50 by mikedep333