Comments on How to Create Remote Desktop Gateway via Apache Guacamole on AlmaLinux 9
Apache Guacamole is a free and open-source remote desktop gateway that allows you to connect to your computer/server remotely using different protocols such as SSH, RDP, and VNC. In this guide, we'll walk you through the installation of Apache Guacamole as a Remote Desktop Gateway on AlmaLinux 9 machine.
3 Comment(s)
Comments
I cannot compile guacamole-server-1.5.2 on a fresh Almalinux 9.2 with gcc 11.3.1:
CC guacenc-png.o
CC guacenc-video.o
video.c: In function ‘guacenc_video_alloc’:
video.c:63:22: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
63 | container_format = container_format_context->oformat;
| ^
video.c:66:22: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
66 | AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:1126: guacenc-video.o] Error 1
make[2]: Leaving directory '/usr/src/gm/guacamole-server-1.5.2/src/guacenc'
make[1]: *** [Makefile:544: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/gm/guacamole-server-1.5.2'
Hi,
first set the environment CFLAGS in shell: export CFLAGS="-Wno-error". Then redo the configure with the systemd; make and make install.
I also have problems with the RDP. You will need to change the daemon to root in the systemd file to get it working.
You can add the new paramater --disable-guacenc during the ./configure.