Bug 29045

Summary: guacamole: package to be available in Mageia8 (it was in M7)
Product: Mageia Reporter: Xuo <xuoy>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Normal CC: java, mageia, ouaurelien, xuoy
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Xuo 2021-05-30 12:05:26 CEST
Hi,

It is difficult to install from source the guacamole + tomcat softwares.
It could be useful to have the guacamole 1.3 package to be available under Mageia8.
It was available (guacamole-0.9.8-5.mga7.noarch.rpm) under Mageia7.

Regards.

Xuo.
Comment 1 Aurelien Oudelet 2021-05-30 16:13:17 CEST
This has been ditched because it does not compile under Mageia 8.

Asking Java Devel.

CC: (none) => java, ouaurelien

Comment 2 Xuo 2021-05-30 16:59:04 CEST
Hi,

I could have guacamole 1.3 compiled successfully.
But Tomcat is not able to "deploy" the .war file.
It is a java issue :
30-May-2021 12:38:09.661 GRAVE [main] org.apache.catalina.startup.HostConfig.deployWAR Erreur lors du déploiement de l'archive [/var/lib/tomcat/webapps/guacamole.war] de l'application web
...
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory

Hope the Java devel will be able to fix the issue.

Regards.

Xuo.

CC: (none) => xuoy

Comment 3 Xuo 2021-06-01 21:24:12 CEST
Hi,

I could solve the java issue by doing the following :
# cd /usr/share/java/tomcat
# ln -s ../../java/slf4j/slf4j-api.jar
# ln -s ../../java/slf4j/slf4j-nop.jar
# ln -s ../../java/slf4j/slf4j-simple.jar

There is probably a smarter way to do the same but I don't know java and how to add some files in its path.

Now I get the following error :
La ressource demandée [/guacamole/] n'est pas disponible
(translated from French : the resource /guacamole is not available).

With Mageia7, there was a guacamole package available. If was an old version but I think it could help when installing newer ones.

Regards.

Xuo.
Comment 4 Lewis Smith 2021-06-04 21:02:39 CEST
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

Summary: I'd like a guacamole package to be available in Mageia8 => guacamole: package to be available in Mageia8 (it was in M7)
Assignee: bugsquad => pkg-bugs

Comment 5 Xuo 2021-06-07 15:29:33 CEST
Hi,

I could make guacamole to work by reverting back to Mageia7 configuration.
What I did :
urpme tomcat \
tomcat-native \
tomcat-jsp-2.3-api-9.0.41-1.mga8 \
tomcat-el-3.0-api-9.0.41-1.mga8 \
tomcat-servlet-4.0-api-9.0.41-1.mga8 \
tomcat-lib-9.0.41-1.mga8

Get the following packages from rpmfind :
tomcat-lib-9.0.39-1.2.mga7
tomcat-el-3.0-api-9.0.39-1.2.mga7
tomcat-9.0.39-1.2.mga7
tomcat-jsp-2.3-api-9.0.39-1.2.mga7
tomcat-native-1.2.23-1.mga7
tomcat-servlet-4.0-api-9.0.39-1.2.mga7

and install them.

Get the java 1.8 version from Adobe and install it in a dedicated location.
In the file :
/etc/tomcat/tomcat.conf
replace :
JAVA_HOME="/usr/lib/jvm/jre"
by :
JAVA_HOME="<Dedicated Location>/jre"

I'm almost sure at 99.99% that the problem comes from the Java version 11 used by default under Mageia8.

Regards.

Xuo.
Comment 6 Xuo 2021-08-28 13:28:11 CEST
Hi,

I've just installed :
  tomcat                         9.0.41       1.2.mga8      noarch  
  tomcat-el-3.0-api              9.0.41       1.2.mga8      noarch  
  tomcat-jsp-2.3-api             9.0.41       1.2.mga8      noarch  
  tomcat-lib                     9.0.41       1.2.mga8      noarch  
  tomcat-servlet-4.0-api         9.0.41       1.2.mga8      noarch  
and removed the change I made in :
/etc/tomcat/tomcat.conf
replace :
JAVA_HOME="<Dedicated Location>/jre"
by :
JAVA_HOME="/usr/lib/jvm/jre"

So now, I use the default java version from Mageia8.
Now, I can connect without any problem on the guacamole login page and I can access my PCs.

Thank you for your help.

Regards.

Xuo.

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 7 Xuo 2021-08-28 13:31:26 CEST
Hi,

Just one more thing.
I think it could be really useful to have an updated version of Guacamole (like in Mageia 7) in the rpm packages.
Installing guacamole from scratch is not easy. It could help people a lot.

Regards.

Xuo.
Comment 8 David Walser 2022-01-11 23:46:32 CET
Fixing the bug resolution.

Resolution: FIXED => WONTFIX

Comment 9 Nicolas Lécureuil 2022-01-12 11:08:20 CET
i agree with this resolution.

we provide guacd ( the guacamole server ), for the web client  just use the war file, it will be decompressed and used w/o any issue.

CC: (none) => mageia