[ 
https://issues.apache.org/jira/browse/GUACAMOLE-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986270#comment-17986270
 ] 

Michael commented on GUACAMOLE-2088:
------------------------------------

Hello Nick and team, 

thank you for responding to this.
I have tested on Rocky Linux 9.x DVD ISO with the desktop version.
the database if im correct I am using tomcat with MySQL
guide from here:
[https://www.howtoforge.com/how-to-install-and-use-apache-guacamole-remote-desktop-on-rocky-linux-8/amp/]

 

These are the steps i follow (which this works fine with v1.5.x)

sudo dnf install java-11-openjdk-devel -y
sudo useradd -m -U -d /opt/tomcat -s /bin/false tomcat
wget 
https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.85/bin/apache-tomcat-9.0.85.tar.gz
sudo tar xzvf apache-tomcat-9.0.85.tar.gz -C /opt/tomcat --strip-components=1
sudo chown -R tomcat:tomcat /opt/tomcat
sudo sh -c 'chmod +x /opt/tomcat/bin/*.sh'

sudo nano /etc/systemd/system/tomcat.service

[Unit]

Description=Apache Tomcat Web Application Container

After=network.target

[Service]

Type=oneshot

RemainAfterExit=yes

User=tomcat

Group=tomcat

Environment="JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.25.0.9-7.el9.x86_64/"

Environment="JAVA_OPTS=-Djava.security.egd=file:///dev/urandom 
-Djava.awt.headless=true"

Environment="CATALINA_BASE=/opt/tomcat"

Environment="CATALINA_HOME=/opt/tomcat"

Environment="CATALINA_PID=/opt/tomcat/temp/tomcat.pid"

Environment="CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC"

ExecStart=/opt/tomcat/bin/startup.sh

ExecStop=/opt/tomcat/bin/shutdown.sh

[Install]

WantedBy=multi-user.targe

 

 

sudo nano /opt/tomcat/conf/tomcat-users.xml

 

<tomcat-users>

<!--

Comments

-->

<role rolename="admin-gui"/>

<role rolename="manager-gui"/>

<user username="admin" password="admin" roles="admin-gui,manager-gui"/>

</tomcat-users>

 

Install and Configure MySQL

[https://www.howtoforge.com/how-to-install-and-use-apache-guacamole-remote-desktop-on-rocky-linux-8/amp/]

 

sudo dnf install mysql-server -y

 

CREATE DATABASE guacamole_db;
CREATE USER 'guacamole_user' IDENTIFIED BY 'welcome123';
GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user';
FLUSH PRIVILEGES;


wget 
https://downloads.mysql.com/archives/get/p/3/file/mysql-connector-j-8.3.0.tar.gz

tar -xf mysql-connector-j-8.3.0.tar.gz
sudo mv mysql-connector-j-8.3.0/mysql-connector-j-8.3.0.jar 
/etc/guacamole/lib/wget 
https://downloads.apache.org/guacamole/1.6.0/binary/guacamole-auth-jdbc-1.6.0.tar.gz
tar -xf guacamole-auth-jdbc-1.6.0.tar.gz
sudo mv guacamole-auth-jdbc-1.6.0/mysql/guacamole-auth-jdbc-mysql-1.6.0.jar 
/etc/guacamole/extensions/
cd guacamole-auth-jdbc-1.6.0/mysql/schema
cat *.sql | mysql -u root -p guacamole_db
welcome123

 

sudo nano /etc/guacamole/guacamole.properties

guacd-hostname: localhost

guacd-port:     4822

# MySQL properties

mysql-hostname: localhost

mysql-database: guacamole_db

mysql-username: guacamole_user

mysql-password: welcome123

 

give or take some steps not entirely listed but the above works for v1.5.x

 

let me know where I can get the logs for you to see .. ?

 

 

> Groups - unable to delete
> -------------------------
>
>                 Key: GUACAMOLE-2088
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2088
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 1.6.0
>         Environment: Rocky Linux
>            Reporter: Michael
>            Priority: Minor
>         Attachments: guacfolder.PNG
>
>
> Hi team,
> First Id like to say thank you for this tool, been using it for a while.
> regarding v1.6 just released, I have installed it the same method as v1.5.x 
> however, it seems I am encountering an error when trying to delete any Groups.
> Could I share some logs or could this be checked somehow ?
> https://ibb.co/xSD6vBt8
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to