[X2Go-User] x2goserver install on Centos 5

Michel Dubois dubois.michel at gmail.com
Mon Jan 5 11:50:58 CET 2015


The new year looks starting well
Great job, I installed the package with yum and no error. All X2go tools
are installed.
Thanks Mike

But they don't work properly. I can not use X2Go yet. I've this error in my
client and when I use x2gosessionslist:
Can't locate object method "sqlite_busy_timeout" via package "DBI::db" at
/usr/lib64/x2go/x2gosqlitewrapper.pl line 90.

I tried to install perl-DBI-1.615-2.x86_64.rpm as you recommended. I got
dependencies problem;
#:~/Workdir# rpm -i perl-DBI-1.615-2.x86_64.rpm
warning: perl-DBI-1.615-2.x86_64.rpm: Header V3 DSA signature: NOKEY, key
ID 4026433f
error: Failed dependencies:
        perl(RPC::PlClient) >= 0.2000 is needed by perl-DBI-1.615-2.x86_64
        perl(RPC::PlServer) >= 0.2001 is needed by perl-DBI-1.615-2.x86_64

So I tried to install the module trough CPAN and I updated successfully the
booth modules :
#:~/Workdir# perl -MRPC::PlClient -le '$version=RPC::PlClient->VERSION ;
print "$version\n";'
0.2020
#:~/X2GoServer# perl -MRPC::PlServer -le '$version=RPC::PlServer->VERSION ;
print "$version\n";'
0.2020

That's not solved the dependencies problem through the RPM installation.
Also I installed the DBI module with CPAN package.
#:~/Workdir#perl -MDBI -le '$version=DBI->VERSION ; print "$version\n";'
1.632

I'm still with the error of x2golistsessions and the client. Following
CPAN, the package "DBI::db" is included in the mean DBI package.

Did I miss something ?
Could you help ? May a bug in the x2gosqlitewrapper.pl at line 90. I've not
a good skill as development in perl. I checked but I didn't see anything
wrong

Thanks







2015-01-05 6:15 GMT+01:00 Michael DePaulo <mikedep333 at gmail.com>:

> I managed to get X2Go Server (main, 4.0.1.18) to install and work on
> CentOS 5.
>
> http://imgur.com/KBr4VVG
>
> However,
>
> 1. After I installed, the packages, I had to manually apply the patch
> I submitted for bug #715 to /usr/sbin/x2godbadmin, then manually run
> "sudo /usr/sbin/x2godbadmin --createdb"
> 2. I had to manually apply the change to /etc/x2go/Xsession from this
> commit:
>
> http://code.x2go.org/gitweb?p=x2goserver.git;a=blobdiff;f=x2goserver-xsession/etc/Xsession;h=94692db9680637fcddca34e461d8ef289869e6cc;hp=b9ef15e32703560c7d592e6d170740322e0ae17d;hb=33a64a3e7b94d04d1e72de2a81db04b86432c7c5;hpb=c3c2e3d284ee523f168d91fce5b1a7d82189d039
> 3. I had to solve a "dependency hell". I do not have time to document
> the exact steps one needs to take at this moment, but the dependencies
> are listed here:
>
> http://wiki.x2go.org/doku.php/doc:installation:x2goserver?s[]=epel&s[]=5#epel_5_via_packagesx2goorg
> (I actually ignored the fuse, fuse-libs, and fuse-sshfs packages
> because I do not use folder or printer sharing.)
>
> So right now, you can use X2Go Server on CentOS 5, but it will require
> some work on your part to repeat those 3 tasks on your systems. I
> intend to streamline those 3 tasks next weekend.
>
> -Mike
>
> On Sat, Jan 3, 2015 at 12:23 PM, Michael DePaulo <mikedep333 at gmail.com>
> wrote:
> > Hi Michel,
> >
> > There actually is a workaround for #714: manually downloading and
> > installing an RPM:
> > http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=714
> >
> > However, I ran into bug #715, and you will too:
> > http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=715
> >
> > I'll try to fix #715 (and/or determine a workaround for it) later today.
> >
> > -Mike#2
> >
> > On Sat, Jan 3, 2015 at 11:15 AM, Michael DePaulo <mikedep333 at gmail.com>
> wrote:
> >> Hi Michel,
> >>
> >> I rebuilt the main packages and I verified that they can be
> >> successfully installed now.
> >> http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=699
> >>
> >> However, I encountered a bug in the x2goserver code itself. It
> >> prevents x2goserver from being used on CentOS 5 at all.
> >> http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=714
> >> Both main and heuler are affected.
> >>
> >> Unfortunately, I do not have the Perl skills to fix bug #714. TheUser2
> >> is good at Perl, but he does not know of an easy fix for it; he
> >> normally writes his own custom logging code rather than using the
> >> Sys::Syslog module. (We discussed this via IRC.) So unless someone
> >> else steps up to fix it, I do not know when it will be fixed. Sorry :(
> >>
> >> -Mike#2
> >>
> >> On Tue, Dec 30, 2014 at 6:49 AM, Michel Dubois <dubois.michel at gmail.com>
> wrote:
> >>> Hi Michael,
> >>>
> >>> I checked the bug tracker and there is an update.
> >>> I tried to install x2goserver and I've got this error message.
> >>>
> >>> .../...
> >>> error: x2goagent-3.5.0.28-0.0x2go1.1.git20141114.546.main.el5.centos:
> Header
> >>> V4 RSA/SHA1 signature: BAD, key ID 5bfe2b6e
> >>> error: x2goserver-4.0.1.18-0.0x2go1.1.git20141006.949.main.el5.centos:
> Header
> >>> V4 RSA/SHA1 signature: BAD, key ID 5bfe2b6e
> >>> error: x2goserver-
> >>> extensions-4.0.1.18-0.0x2go1.1.git20141006.949.main.el5.centos: Header
> V4
> >>> RSA/SHA1 signature: BAD, key ID 5bfe2b6e
> >>>
> >>> Should I uncomment the x2go-nightly  lines in the repo file?
> >>> Thanks.
> >>> Regards
> >>>
>



-- 
-----------------------------------------------------------
Michel Dubois
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20150105/0cee1d1b/attachment.html>


More information about the x2go-user mailing list