Re: Pb with oznu/guacamole image on raspberry

2024-05-30 Thread Nathaniel Belles
I’ve spent a good bit of time trying to get guacamole in docker working on ARM, specifically for the Raspberry Pi series of SBCs. When I started, I used someone’s docker-compose which worked out of the gate but it only worked on non-arm devices at the time because it uses a release of the guacd and guacamole docker images, not the latest changes that exists in the repo’s which should support docker on ARM. Just a quick comparison between their docker compose and yours it seems like you’re missing some networks to allow the containers to communicate with each other (maybe other things as well). I would recommend building the docker files for guacamole client and guacamole server yourself directly on the raspberry pi until the released docker images get updated. Make sure to update the image names in your docker compose to match the name of the image you built locally. I was able to do this and it is working well for me. I have an older version of the code in a repo of mine that has a lot of extra things added (like native SSL support, a notifier extension, and others). I wouldn’t recommend building your docker images from that code unless you know what you’re doing, (especially because it’s out of date), but the docker compose definitely works for me when I build the images myself (note the changes to the names, and remove the unneeded environment variables/volumes). Hope all these resources help! -Nathaniel BellesOn May 30, 2024, at 10:02, Hugh Barnard  wrote:Just a quick comment. I've compiled the server on Pi4 and recently on Pi5, it's not too difficult, if you want to try that: https://guacamole.apache.org/doc/gug/installing-guacamole.htmlI'll probably move to Docker eventually, but at the moment I need to see the internals.Best Hugh Barnard


-https://www.hughbarnard.orgTwitter: @hughbarnardMastodon: @hughbarn...@post.lurk.orgBook: https://tinyurl.com/2s4hm33b at Housmans and Freedom Bookshop







On Thursday, 30 May 2024 at 14:35, obiwan kenobi  wrote:

Hi,Thank you
I will try these images you mention I will wait until the official image is ARM64 compatible. Should I post a ticket in Jira?

Le jeu. 30 mai 2024 à 15:17, Antoine Besnier  a écrit :
HI, I don't think you will get support from the Guacamole team for unofficial images.More over, Oznu's image has been abandoned more than 3 years ago. There are plenty of replacements. The most popular one was Max Waldorf's, now handed over to flcontainers (flcontainers/guacamole but it has nothing in common with Oznu's). I maintain one (abesnier/guacamole, trying to keep it as close as possible to Oznu's image, and keeping it up to date with latest guacamole, tomcat, postgres jdbc and s6 overlay).Try also targeting arm64 images for a Raspeberry pi 5.CheersAntoine





Le jeudi 30 mai 2024 à 15:02:33 UTC+2, obiwan kenobi  a écrit :





Hello,
I have been stuck for several days on an installation of Guacamole in Docker (via openmediavault) on an ARM architecture (raspberry PI 5)
I tried several images
I use the “oznu/guacamole:armhf” image which seems to support ARM, but I always see the same error message in the logs, despite the different configurations. A problem accessing the libsystemd.so library 



















guacamole | postgres: error while loading shared libraries:
libsystemd.so.0: ELF load command alignment not page-aligned 

guacamole | /var/run/postgresql:5432 - no response






Here is my yml file: 



















services:

 
guacamole:

   
image: oznu/guacamole:armhf

   
container_name: guacamole

   
restart: always

   
ports:

  -
"8082:8080"

   
environment:

  -
GUACD_HOSTNAME=guacd

  -
POSTGRES_HOSTNAME=postgres

  -
POSTGRES_DATABASE=guacamole_db

  -
POSTGRES_USER=guacamole_user

  -
POSTGRES_PASSWORD= password

  -
GUACAMOLE_HOME=/config

   
volumes:

  -
./config:/config

  -
./logs:/logs

   
depends_on:

  -
postgres

  -
guacd

 

 
postgres:

   
image: postgres:latest

   
container_name: guacamole-postgres

restart:
always

   
environment:

 
POSTGRES_DB: guacamole_db

 
POSTGRES_USER: guacamole_user

 
POSTGRES_PASSWORD: password

   
volumes:

  -
./postgres:/var/lib/postgresql/data

   
platform: linux/arm64

 

 
guacd:

   
image: guacd-arm

   
container_name: guacd

   
platform: linux/arm64

   
restart: always






Can you help me ? What are good Guacamole, Postgre and guacd images to use for an ARM architecture ? Thanks,Best Regards,O.K.







Re: Pb with oznu/guacamole image on raspberry

2024-05-30 Thread Hugh Barnard
Just a quick comment. I've compiled the server on Pi4 and recently on Pi5, it's 
not too difficult, if you want to try that: 
https://guacamole.apache.org/doc/gug/installing-guacamole.html

I'll probably move to Docker eventually, but at the moment I need to see the 
internals.

Best Hugh Barnard

-
https://www.hughbarnard.org

Twitter:@hughbarnard
Mastodon: @hughbarn...@post.lurk.org
Book: https://tinyurl.com/2s4hm33b

at Housmans and Freedom Bookshop

On Thursday, 30 May 2024 at 14:35, obiwan kenobi  wrote:

> Hi,
>
> Thank you
> I will try these images you mention
> I will wait until the official image is ARM64 compatible.
> Should I post a ticket in Jira?
>
> Le jeu. 30 mai 2024 à 15:17, Antoine Besnier 
>  a écrit :
>
>> HI,
>>
>> I don't think you will get support from the Guacamole team for unofficial 
>> images.
>>
>> More over, Oznu's image has been abandoned more than 3 years ago. There are 
>> plenty of replacements. The most popular one was Max Waldorf's, now handed 
>> over to flcontainers (flcontainers/guacamole but it has nothing in common 
>> with Oznu's). I maintain one (abesnier/guacamole, trying to keep it as close 
>> as possible to Oznu's image, and keeping it up to date with latest 
>> guacamole, tomcat, postgres jdbc and s6 overlay).
>>
>> Try also targeting arm64 images for a Raspeberry pi 5.
>>
>> Cheers
>> Antoine
>>
>> Le jeudi 30 mai 2024 à 15:02:33 UTC+2, obiwan kenobi  
>> a écrit :
>>
>> Hello,
>>
>> I have been stuck for several days on an installation of Guacamole in Docker 
>> (via openmediavault) on an ARM architecture (raspberry PI 5) I tried several 
>> images I use the “oznu/guacamole:armhf” image which seems to support ARM, 
>> but I always see the same error message in the logs, despite the different 
>> configurations. A problem accessing the libsystemd.so library
>>
>> guacamole | postgres: error while loading shared libraries: libsystemd.so.0: 
>> ELF load command alignment not page-aligned
>>
>> guacamole | /var/run/postgresql:5432 - no response
>>
>> Here is my yml file:
>>
>> services:
>>
>> guacamole:
>>
>> image: oznu/guacamole:armhf
>>
>> container_name: guacamole
>>
>> restart: always
>>
>> ports:
>>
>> - "8082:8080"
>>
>> environment:
>>
>> - GUACD_HOSTNAME=guacd
>>
>> - POSTGRES_HOSTNAME=postgres
>>
>> - POSTGRES_DATABASE=guacamole_db
>>
>> - POSTGRES_USER=guacamole_user
>>
>> - POSTGRES_PASSWORD= password
>>
>> - GUACAMOLE_HOME=/config
>>
>> volumes:
>>
>> - ./config:/config
>>
>> - ./logs:/logs
>>
>> depends_on:
>>
>> - postgres
>>
>> - guacd
>>
>> postgres:
>>
>> image: postgres:latest
>>
>> container_name: guacamole-postgres
>>
>> restart: always
>>
>> environment:
>>
>> POSTGRES_DB: guacamole_db
>>
>> POSTGRES_USER: guacamole_user
>>
>> POSTGRES_PASSWORD: password
>>
>> volumes:
>>
>> - ./postgres:/var/lib/postgresql/data
>>
>> platform: linux/arm64
>>
>> guacd:
>>
>> image: guacd-arm
>>
>> container_name: guacd
>>
>> platform: linux/arm64
>>
>> restart: always
>>
>> Can you help me ?
>> What are good Guacamole, Postgre and guacd images to use for an ARM 
>> architecture ?
>>
>> Thanks,
>>
>> Best Regards,
>>
>> O.K.

Re: Pb with oznu/guacamole image on raspberry

2024-05-30 Thread obiwan kenobi
Hi,

Thank you
I will try these images you mention
I will wait until the official image is ARM64 compatible.
Should I post a ticket in Jira?

Le jeu. 30 mai 2024 à 15:17, Antoine Besnier
 a écrit :

> HI,
>
> I don't think you will get support from the Guacamole team for unofficial
> images.
>
> More over, Oznu's image has been abandoned more than 3 years ago. There
> are plenty of replacements. The most popular one was Max Waldorf's, now
> handed over to flcontainers (flcontainers/guacamole but it has nothing in
> common with Oznu's). I maintain one (abesnier/guacamole, trying to keep it
> as close as possible to Oznu's image, and keeping it up to date with latest
> guacamole, tomcat, postgres jdbc and s6 overlay).
>
> Try also targeting arm64 images for a Raspeberry pi 5.
>
> Cheers
> Antoine
>
>
> Le jeudi 30 mai 2024 à 15:02:33 UTC+2, obiwan kenobi <
> obiwan.j...@gmail.com> a écrit :
>
>
> Hello,
>
> I have been stuck for several days on an installation of Guacamole in
> Docker (via openmediavault) on an ARM architecture (raspberry PI 5) I
> tried several images I use the “oznu/guacamole:armhf” image which seems
> to support ARM, but I always see the same error message in the logs,
> despite the different configurations. A problem accessing the
> libsystemd.so library
>
> *guacamole | postgres: error while loading shared libraries:
> libsystemd.so.0: ELF load command alignment not page-aligned *
>
> *guacamole | /var/run/postgresql:5432 - no response*
>
> Here is my yml file:
>
> services:
>
>   guacamole:
>
> image: oznu/guacamole:armhf
>
> container_name: guacamole
>
> restart: always
>
> ports:
>
>   - "8082:8080"
>
> environment:
>
>   - GUACD_HOSTNAME=guacd
>
>   - POSTGRES_HOSTNAME=postgres
>
>   - POSTGRES_DATABASE=guacamole_db
>
>   - POSTGRES_USER=guacamole_user
>
>   - POSTGRES_PASSWORD= password
>
>   - GUACAMOLE_HOME=/config
>
> volumes:
>
>   - ./config:/config
>
>   - ./logs:/logs
>
> depends_on:
>
>   - postgres
>
>   - guacd
>
>
>
>   postgres:
>
> image: postgres:latest
>
> container_name: guacamole-postgres
>
> restart: always
>
> environment:
>
>   POSTGRES_DB: guacamole_db
>
>   POSTGRES_USER: guacamole_user
>
>   POSTGRES_PASSWORD: password
>
> volumes:
>
>   - ./postgres:/var/lib/postgresql/data
>
> platform: linux/arm64
>
>
>
>   guacd:
>
> image: guacd-arm
>
> container_name: guacd
>
> platform: linux/arm64
>
> restart: always
>
> Can you help me ?
> What are good Guacamole, Postgre and guacd images to use for an ARM
> architecture ?
>
> Thanks,
>
> Best Regards,
>
> O.K.
>


Re: Pb with oznu/guacamole image on raspberry

2024-05-30 Thread Antoine Besnier
 I forgot to mention that Oznu's image (and its derivatives too), are self 
contained, meaning they include guacd, guacamole client, and postgresql 
all-in-one. No need to add guacd and postgresql in your docker compose.

Cheers 
Antoine

Le jeudi 30 mai 2024 à 15:17:46 UTC+2, Antoine Besnier 
 a écrit :  
 
  HI, 

I don't think you will get support from the Guacamole team for unofficial 
images.
More over, Oznu's image has been abandoned more than 3 years ago. There are 
plenty of replacements. The most popular one was Max Waldorf's, now handed over 
to flcontainers (flcontainers/guacamole but it has nothing in common with 
Oznu's). I maintain one (abesnier/guacamole, trying to keep it as close as 
possible to Oznu's image, and keeping it up to date with latest guacamole, 
tomcat, postgres jdbc and s6 overlay).
Try also targeting arm64 images for a Raspeberry pi 5.
CheersAntoine


Le jeudi 30 mai 2024 à 15:02:33 UTC+2, obiwan kenobi 
 a écrit :  
 
 Hello,
I have been stuck for several days on an installation of Guacamole in Docker 
(via openmediavault) on an ARM architecture (raspberry PI 5)I tried several 
imagesI use the “oznu/guacamole:armhf” image which seems to support ARM, but I 
always see the same error message in the logs, despite the different 
configurations. A problem accessing the libsystemd.so library 


guacamole | postgres: error while loading shared libraries:libsystemd.so.0: ELF 
load command alignment not page-aligned 

guacamole | /var/run/postgresql:5432 - no response

Here is my yml file: 


services:

 guacamole:

   image: oznu/guacamole:armhf

   container_name: guacamole

   restart: always

   ports:

  -"8082:8080"

   environment:

  -GUACD_HOSTNAME=guacd

  -POSTGRES_HOSTNAME=postgres

  -POSTGRES_DATABASE=guacamole_db

  -POSTGRES_USER=guacamole_user

  -POSTGRES_PASSWORD= password

  -GUACAMOLE_HOME=/config

   volumes:

  -./config:/config

  -./logs:/logs

   depends_on:

  -postgres

  -guacd

 

 postgres:

   image: postgres:latest

   container_name: guacamole-postgres

    restart:always

   environment:

 POSTGRES_DB: guacamole_db

 POSTGRES_USER: guacamole_user

 POSTGRES_PASSWORD: password

   volumes:

  -./postgres:/var/lib/postgresql/data

   platform: linux/arm64

 

 guacd:

   image: guacd-arm

   container_name: guacd

   platform: linux/arm64

   restart: always

Can you help me ? 
What are good Guacamole, Postgre and guacd images to use for an ARM 
architecture ? 

Thanks,
Best Regards,
O.K.


Re: Pb with oznu/guacamole image on raspberry

2024-05-30 Thread Nick Couchman
On Thu, May 30, 2024 at 9:17 AM Antoine Besnier
 wrote:

> HI,
>
> I don't think you will get support from the Guacamole team for unofficial
> images.
>
> More over, Oznu's image has been abandoned more than 3 years ago. There
> are plenty of replacements. The most popular one was Max Waldorf's, now
> handed over to flcontainers (flcontainers/guacamole but it has nothing in
> common with Oznu's). I maintain one (abesnier/guacamole, trying to keep it
> as close as possible to Oznu's image, and keeping it up to date with latest
> guacamole, tomcat, postgres jdbc and s6 overlay).
>
> Try also targeting arm64 images for a Raspeberry pi 5.
>
>
There are also some pull requests and Jira tickets in to try to build this
compatibility into the official repos so that we can, eventually, release
ARM-based images for Guacamole. Stay tuned.

-Nick


Re: Pb with oznu/guacamole image on raspberry

2024-05-30 Thread Antoine Besnier
 HI, 

I don't think you will get support from the Guacamole team for unofficial 
images.
More over, Oznu's image has been abandoned more than 3 years ago. There are 
plenty of replacements. The most popular one was Max Waldorf's, now handed over 
to flcontainers (flcontainers/guacamole but it has nothing in common with 
Oznu's). I maintain one (abesnier/guacamole, trying to keep it as close as 
possible to Oznu's image, and keeping it up to date with latest guacamole, 
tomcat, postgres jdbc and s6 overlay).
Try also targeting arm64 images for a Raspeberry pi 5.
CheersAntoine


Le jeudi 30 mai 2024 à 15:02:33 UTC+2, obiwan kenobi 
 a écrit :  
 
 Hello,
I have been stuck for several days on an installation of Guacamole in Docker 
(via openmediavault) on an ARM architecture (raspberry PI 5)I tried several 
imagesI use the “oznu/guacamole:armhf” image which seems to support ARM, but I 
always see the same error message in the logs, despite the different 
configurations. A problem accessing the libsystemd.so library 


guacamole | postgres: error while loading shared libraries:libsystemd.so.0: ELF 
load command alignment not page-aligned 

guacamole | /var/run/postgresql:5432 - no response

Here is my yml file: 


services:

 guacamole:

   image: oznu/guacamole:armhf

   container_name: guacamole

   restart: always

   ports:

  -"8082:8080"

   environment:

  -GUACD_HOSTNAME=guacd

  -POSTGRES_HOSTNAME=postgres

  -POSTGRES_DATABASE=guacamole_db

  -POSTGRES_USER=guacamole_user

  -POSTGRES_PASSWORD= password

  -GUACAMOLE_HOME=/config

   volumes:

  -./config:/config

  -./logs:/logs

   depends_on:

  -postgres

  -guacd

 

 postgres:

   image: postgres:latest

   container_name: guacamole-postgres

    restart:always

   environment:

 POSTGRES_DB: guacamole_db

 POSTGRES_USER: guacamole_user

 POSTGRES_PASSWORD: password

   volumes:

  -./postgres:/var/lib/postgresql/data

   platform: linux/arm64

 

 guacd:

   image: guacd-arm

   container_name: guacd

   platform: linux/arm64

   restart: always

Can you help me ? 
What are good Guacamole, Postgre and guacd images to use for an ARM 
architecture ? 

Thanks,
Best Regards,
O.K.
  

Pb with oznu/guacamole image on raspberry

2024-05-30 Thread obiwan kenobi
Hello,

I have been stuck for several days on an installation of Guacamole in
Docker (via openmediavault) on an ARM architecture (raspberry PI 5) I tried
several images I use the “oznu/guacamole:armhf” image which seems to
support ARM, but I always see the same error message in the logs, despite
the different configurations. A problem accessing the libsystemd.so library

*guacamole | postgres: error while loading shared libraries:
libsystemd.so.0: ELF load command alignment not page-aligned *

*guacamole | /var/run/postgresql:5432 - no response*

Here is my yml file:

services:

  guacamole:

image: oznu/guacamole:armhf

container_name: guacamole

restart: always

ports:

  - "8082:8080"

environment:

  - GUACD_HOSTNAME=guacd

  - POSTGRES_HOSTNAME=postgres

  - POSTGRES_DATABASE=guacamole_db

  - POSTGRES_USER=guacamole_user

  - POSTGRES_PASSWORD= password

  - GUACAMOLE_HOME=/config

volumes:

  - ./config:/config

  - ./logs:/logs

depends_on:

  - postgres

  - guacd



  postgres:

image: postgres:latest

container_name: guacamole-postgres

restart: always

environment:

  POSTGRES_DB: guacamole_db

  POSTGRES_USER: guacamole_user

  POSTGRES_PASSWORD: password

volumes:

  - ./postgres:/var/lib/postgresql/data

platform: linux/arm64



  guacd:

image: guacd-arm

container_name: guacd

platform: linux/arm64

restart: always

Can you help me ?
What are good Guacamole, Postgre and guacd images to use for an ARM
architecture ?

Thanks,

Best Regards,

O.K.