Setting Up Web-Based Guacamole Tool to Access Remote Linux/Windows Machines

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux course in 5 Days

We are thankful for your never ending support.

Gabriel Cánepa

Gabriel Cánepa is a GNU/Linux sysadmin and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

18 Responses

  1. Jan says:

    I have installed guacomole 0.9.9 on Debian Jessie and Tomcat8.
    If i try to login to guacomole, it tries immediately to connect to the first . The 2nd login goes automatically.
    Why? How to prevent it?
    I don’t what is here wrong? Please help me….
    Thanx Jan

    vnc
    localhost
    5901
    12345

    • Jan says:

      It should be: “connect to the first connection in user-mapping”
      If I delete the whole section connection … /connection
      I can see the home site of guacamole with empty connections part.

      Is it a feature, that after first login coms directly the 2nd one???
      Thanks Jan

  2. Tosin says:

    Thank you for this awesome guide. However, I have followed all the steps just as outlined but am unable to get an interface in the browser. instead, I get
    HTTP Status 404 – /guacamole

    type Status report

    message /guacamole

    description The requested resource is not available.
    Apache Tomcat/7.0.52 (Ubuntu)

    What did i get wrong, or what more do I need to do?
    Thanks for the help!

  3. fouloup says:

    hi,

    The guacamole.war must be in the webapp directory of tomcat.

  4. Hubbabubba says:

    Is this only suppose to be used on the LAN network, if not is it possible to use SSH key logins?

  5. Fernando Pimenta says:

    Hi gabriel, good article. But, when I tested with my VM (CentOS 6.7), when I started Tomcat, the system displays this:

    org.apache.jasper.JasperException: Unable to compile class for JSP:

    An error occurred at line: [1] in the generated java file: [/usr/share/tomcat/work/Catalina/localhost/_/org/apache/jsp/index_jsp.java]
    The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

    Some help?

  6. Joe Polcari says:

    Sorry – that was a ./configure && make && make install
    on
    Linux 2.6.18-408.el5.centos.plus i686 i686 i386
    CentOS release 5.11 (Final)

    I know it’s old but it’s a non-PAE machine

  7. Joe Polcari says:

    No go:

    ————————————————
    guacamole-server version 0.9.9
    ————————————————

    Library status:

    freerdp …………. yes
    pango …………… yes
    libssh2 …………. yes
    libssl ………….. yes
    libtelnet ……….. no
    libVNCServer …….. no
    libvorbis ……….. yes
    libpulse ………… no
    libwebp …………. no

    Protocol support:

    RDP ……. yes
    SSH ……. yes
    Telnet …. no
    VNC ……. no

    Init scripts: no

    Type “make” to compile guacamole-server.

    make all-recursive
    make[1]: Entering directory `/root/guacamole-server-0.9.9′
    Making all in src/libguac
    make[2]: Entering directory `/root/guacamole-server-0.9.9/src/libguac’
    CC libguac_la-audio.lo
    In file included from ./guacamole/client.h:43,
    from audio.c:28:
    /usr/include/cairo/cairo.h:41:28: error: cairo-features.h: No such file or directory
    In file included from ./guacamole/client.h:43,
    from audio.c:28:
    /usr/include/cairo/cairo.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_public’
    /usr/include/cairo/cairo.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
    /usr/include/cairo/cairo.h:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_t’
    /usr/include/cairo/cairo.h:268: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_t’
    /usr/include/cairo/cairo.h:271: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:277: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:280: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:283: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:286: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_pattern_t’
    /usr/include/cairo/cairo.h:289: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:314: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:317: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:320: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:323: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:328: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:334: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:357: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:388: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:391: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:408: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:417: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:420: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:426: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:429: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:432: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:435: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:438: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:442: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:446: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:449: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:452: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:455: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:458: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:462: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:465: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:468: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:471: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:474: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:480: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:500: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:503: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:506: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:512: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:522: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:526: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:529: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:533: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:537: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:543: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:546: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:549: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:552: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:555: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:558: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:562: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_bool_t’
    /usr/include/cairo/cairo.h:565: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_bool_t’
    /usr/include/cairo/cairo.h:569: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:574: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:580: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:583: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:586: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:815: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_font_options_t’
    /usr/include/cairo/cairo.h:818: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_font_options_t’
    /usr/include/cairo/cairo.h:821: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:824: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_status_t’
    /usr/include/cairo/cairo.h:827: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:830: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_bool_t’
    /usr/include/cairo/cairo.h:834: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘unsigned’
    /usr/include/cairo/cairo.h:837: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:840: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_antialias_t’
    /usr/include/cairo/cairo.h:843: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:846: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_subpixel_order_t’
    /usr/include/cairo/cairo.h:849: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:852: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_hint_style_t’
    /usr/include/cairo/cairo.h:855: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:858: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_hint_metrics_t’
    /usr/include/cairo/cairo.h:864: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:870: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:873: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:877: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:881: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:885: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:889: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:893: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:896: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:899: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_font_face_t’
    /usr/include/cairo/cairo.h:902: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:906: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:909: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:914: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:920: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:923: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:928: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_font_face_t’
    /usr/include/cairo/cairo.h:931: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:934: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_status_t’
    /usr/include/cairo/cairo.h:980: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_font_type_t’
    /usr/include/cairo/cairo.h:983: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:987: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_status_t’
    /usr/include/cairo/cairo.h:995: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_scaled_font_t’
    /usr/include/cairo/cairo.h:1001: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_scaled_font_t’
    /usr/include/cairo/cairo.h:1004: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1007: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_status_t’
    /usr/include/cairo/cairo.h:1010: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_font_type_t’
    /usr/include/cairo/cairo.h:1013: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1017: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1022: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1028: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_font_face_t’
    /usr/include/cairo/cairo.h:1031: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1035: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1039: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1045: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_operator_t’
    /usr/include/cairo/cairo.h:1048: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_pattern_t’
    /usr/include/cairo/cairo.h:1051: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘double’
    /usr/include/cairo/cairo.h:1054: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_antialias_t’
    /usr/include/cairo/cairo.h:1057: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1060: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_fill_rule_t’
    /usr/include/cairo/cairo.h:1063: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘double’
    /usr/include/cairo/cairo.h:1066: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_line_cap_t’
    /usr/include/cairo/cairo.h:1069: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_line_join_t’
    /usr/include/cairo/cairo.h:1072: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘double’
    /usr/include/cairo/cairo.h:1077: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1080: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_surface_t’
    /usr/include/cairo/cairo.h:1083: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_surface_t’
    /usr/include/cairo/cairo.h:1188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_path_t’
    /usr/include/cairo/cairo.h:1191: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_path_t’
    /usr/include/cairo/cairo.h:1194: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1198: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1203: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_status_t’
    /usr/include/cairo/cairo.h:1206: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
    /usr/include/cairo/cairo.h:1211: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_surface_t’
    /usr/include/cairo/cairo.h:1217: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_surface_t’
    /usr/include/cairo/cairo.h:1220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1223: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1226: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_status_t’
    /usr/include/cairo/cairo.h:1280: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_surface_type_t’
    /usr/include/cairo/cairo.h:1283: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_content_t’
    /usr/include/cairo/cairo.h:1299: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1303: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_status_t’
    /usr/include/cairo/cairo.h:1309: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1313: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1316: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1319: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1326: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1331: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1336: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1385: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_surface_t’
    /usr/include/cairo/cairo.h:1390: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_surface_t’
    /usr/include/cairo/cairo.h:1397: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘unsigned’
    /usr/include/cairo/cairo.h:1400: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_format_t’
    /usr/include/cairo/cairo.h:1403: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
    /usr/include/cairo/cairo.h:1406: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
    /usr/include/cairo/cairo.h:1409: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
    /usr/include/cairo/cairo.h:1425: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_pattern_t’
    /usr/include/cairo/cairo.h:1428: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_pattern_t’
    /usr/include/cairo/cairo.h:1432: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_pattern_t’
    /usr/include/cairo/cairo.h:1435: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_pattern_t’
    /usr/include/cairo/cairo.h:1439: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_pattern_t’
    /usr/include/cairo/cairo.h:1443: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_pattern_t’
    /usr/include/cairo/cairo.h:1446: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1449: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_status_t’
    /usr/include/cairo/cairo.h:1489: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_pattern_type_t’
    /usr/include/cairo/cairo.h:1492: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1497: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1503: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1507: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1534: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1537: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_extend_t’
    /usr/include/cairo/cairo.h:1549: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1552: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_filter_t’
    /usr/include/cairo/cairo.h:1557: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1563: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1566: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1570: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1574: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1578: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1581: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1584: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1587: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_status_t’
    /usr/include/cairo/cairo.h:1590: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1595: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1599: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    /usr/include/cairo/cairo.h:1604: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
    In file included from audio.c:28:
    ./guacamole/client.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘struct’
    cc1: warnings being treated as errors
    ./guacamole/client.h:92: warning: struct has no members
    audio.c: In function ‘guac_audio_stream_alloc’:
    audio.c:46: error: ‘guac_client_info’ has no member named ‘audio_mimetypes’
    audio.c:48: error: ‘guac_client_info’ has no member named ‘audio_mimetypes’
    make[2]: *** [libguac_la-audio.lo] Error 1
    make[2]: Leaving directory `/root/guacamole-server-0.9.9/src/libguac’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/guacamole-server-0.9.9′
    make: *** [all] Error 2
    [root@gateway guacamole-server-0.9.9]#

    • @Joe,
      I came back to this article to reply to another comment and thought of something that may be helpful if you’re still interested in setting up guacamole. You mentioned you were trying to install the program in an old 32-bit machine. Just in case you have it and want to give it yet another try, you may want to consider installing the 32-bit version of CentOS 7 (see https://seven.centos.org/2015/10/centos-linux-7-32-bit-x86-i386-architecture-released/), which was released not too long ago. I haven’t tested this myself so I can’t guarantee it will work, but it’s worth the shot. Maybe set it up in a VM with the same characteristics as your 32-bit machine first?

  8. Ravi says:

    root@bld-puppet:~# guacd[24988]: INFO: Guacamole proxy daemon (guacd) version 0.9.9 started
    guacd[24988]: ERROR: Unable to bind socket to any addresses.

    Any idea??

    • @Ravi,
      Please check your guacamole.properties and user-mapping.xml files. Post them here if you want me to take a look.
      After that:
      1) Kill the guacd process (most likely you already started it without noticing and it’s already running, which may explain why it refuses to bind the socket to an address).
      ps -ef | grep guacd | grep -v grep
      2) Restart Tomcat
      3) Launch guacd again
      Let us know how it goes.
      will return the PID

  9. bmullan says:

    Guacamole has more sophisticated installation capabilities that also implement & utilize mysql, nginx. If you build/install xrdp onto linux desktop environments you can also remote desktop via a browser to get a linux desktop.

    • @bmullan – you’re right. Guacamole has all those outstanding features and more. I had to keep this article simple as an introduction to Guacamole. But that is the reason why, in the Summary section, I advised readers to check out the official website to learn more.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 77,543
  2. 4,213
  3. 35,218

Enter your email to get latest Linux Howto's