It's difficult to provide assistance without knowing more about your environment, but it appears you're using Ubuntu as your OS?

Unless you've got a specific need you shouldn't need to write your own daemons, nor install maven.

In case it helps, here are some notes on a simple step-by-step process to install on Ubuntu 22.04. They were written a few months ago and you may need/wish to make one or two minor changes (for instance, not putting .war files in /etc/guacamole), but it should give you an idea:

#
# Install Guacamole 1.5.3 on Ubuntu 22.04 server (VM)
#
su

### libpng12-0 is no longer part of the main packages, so need PPA
### ***but may work ok with just libpng-dev***
##add-apt-repository ppa:linuxuprising/libpng12
##apt-get update
##apt install libpng12-0
#

apt-get install build-essential autoconf libtool-bin m4 libjpeg-turbo8-dev libcairo2-dev uuid-dev libtelnet-dev libpango1.0-dev freerdp2-dev libssh2-1-dev libwebp-dev libvncserver-dev libpulse-dev libvorbis-dev libssl-dev libpng-dev

apt-get install tomcat9 tomcat9-admin tomcat9-common tomcat9-user

cd /tmp

wget https://www.apache.org/dist/guacamole/1.5.3/source/guacamole-server-1.5.3.tar.gz

tar -zxvf guacamole-server-1.5.3.tar.gz

cd guacamole-server-1.5.3

./configure --with-init-dir=/etc/init.d

make
make install
ldconfig

cd ..

wget https://www.apache.org/dist/guacamole/1.5.3/binary/guacamole-1.5.3.war

mkdir /etc/guacamole

cp guacamole-1.5.3.war /etc/guacamole/guacamole.war

ln -s /etc/guacamole/guacamole.war /var/lib/tomcat9/webapps/

systemctl restart tomcat9
systemctl enable guacd
systemctl start guacd
#
# Above this line should work in standard auth mode, below is detail for MySQL auth
#
su
cd /tmp

apt-get install mysql-server
#apt-get install libmysql-java

wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java_8.0.28-1ubuntu20.04_all.deb

dpkg -i mysql-connector-java_8.0.28-1ubuntu20.04_all.deb

wget https://www.apache.org/dist/guacamole/1.5.3/binary/guacamole-auth-jdbc-1.5.3.tar.gz

tar -zxvf guacamole-auth-jdbc-1.5.3.tar.gz

mkdir /etc/guacamole/extensions
mkdir /etc/guacamole/lib

cp guacamole-auth-jdbc-1.5.3/mysql/guacamole-auth-jdbc-mysql-1.5.3.jar /etc/guacamole/extensions/

nano /etc/guacamole/guacamole.properties

 mysql-hostname: localhost
 mysql-port: 3306
 mysql-database: guacamole_db
 mysql-username: guacamole_user
 mysql-password:
(ctrl-x then y)

mysql -u root -p

create database guacamole_db;
create user 'guacamole_user'@'localhost' identified by '';
grant select,insert,update,delete on guacamole_db.* to 'guacamole_user'@'localhost';
flush privileges;
quit

cat guacamole-auth-jdbc-1.5.3/mysql/schema/*.sql | mysql -u root -p guacamole_db

ln -s /usr/share/java/mysql-connector-java-8.0.28.jar /etc/guacamole/lib/

mkdir -p /usr/lib/$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)/freerdp

ln -s /usr/local/lib/freerdp/guac*.so /usr/lib/$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)/freerdp/

ldconfig
systemctl restart guacd
systemctl restart tomcat9.service

Go to http://<ip-address>:8080/guacamole
Default login guacadmin:guacadmin

On 3/11/23 09:33, Aero Tech wrote:
I got them from the apache guacamole site (
https://downloads.apache.org/guacamole/1.5.3/binary/ etc.). Made the
packages from the source. Had to make maven from source as well. Wrote my
own guacamole service guacd service and guacamole service daemon. If I
could have installed from the Ubuntu apt list I would but it wasn't listed.
tomcat9 seems to be running as the website is up but I could be wrong.
Maybe its crashing when trying to login? I just see a bunch of failed
logins. Something is definitely very wrong.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to