Linux Server Web Access RDP

Install following packages under Ubuntu 14.04

apt-get install libssh2-1-dev   libpango1.0-dev   libossp-uuid-dev   libcairo2-dev   libpng12-dev   freerdp-x11   libssh2-1   libvncserver-dev   libfreerdp-dev   libvorbis-dev   libssh-dev   libpulse-dev   ghostscript   libjpeg62-dev   libwebp-dev xrdp

Download the tar ball

# wget 
# tar zxf guacamole-server-0.9.9.tar.gz

Copy the WAR File to your Tomcat

cp guacamole-0.9.9.war /tomcat/webapps/guacamole.war


Compile the software

 cd guacamole-server-0.9.9 
./configure --with-init-dir=/etc/init.d

with this options you have a init script to boot on startup


checking that generated files are newer than configure… done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: creating src/common/Makefile
config.status: creating src/common-ssh/Makefile
config.status: creating src/terminal/Makefile
config.status: creating src/libguac/Makefile
config.status: creating src/guacd/Makefile
config.status: creating src/protocols/rdp/Makefile
config.status: creating src/protocols/ssh/Makefile
config.status: creating src/protocols/telnet/Makefile
config.status: creating src/protocols/vnc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

guacamole-server version 0.9.9

Library status:

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

Protocol support:

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

Init scripts: /etc/init.d

Type “make” to compile guacamole-server.


make and make install



Libraries have been installed in:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR’
flag during linking and do at least one of the following:
– add LIBDIR to the `LD_LIBRARY_PATH’ environment variable
during execution
– add LIBDIR to the `LD_RUN_PATH’ environment variable
during linking
– use the `-Wl,-rpath -Wl,LIBDIR’ linker flag
– have your system administrator add LIBDIR to `/etc/’

See any operating system documentation about shared libraries for
more information, such as the ld(1) and manual pages.
make[2]: Nothing to be done for `install-data-am’.
make[2]: Leaving directory `/opt/guacamole-server-0.9.9/src/protocols/ssh’
make[1]: Leaving directory `/opt/guacamole-server-0.9.9/src/protocols/ssh’
make[1]: Entering directory `/opt/guacamole-server-0.9.9′
make[2]: Entering directory `/opt/guacamole-server-0.9.9′
make[2]: Nothing to be done for `install-exec-am’.
make[2]: Nothing to be done for `install-data-am’.
make[2]: Leaving directory `/opt/guacamole-server-0.9.9′
make[1]: Leaving directory `/opt/guacamole-server-0.9.9′


update caches



add to autostart at boot

update-rc.d guacd defaults


Now Configure your Tomcat

Set Guacamole Home Directory in your from Tomcat

export GUACAMOLE_HOME=/home/guacamole/


Edit your User Mapping


<connection name=”RDP Jmeter”>
<param name=”hostname”></param>
<param name=”port”>3389</param>


Configure your

guacd-hostname: localhost
guacd-port: 4822
user-mapping: /home/guacamole/etc/user-mapping.xml
basic-user-mapping: /home/guacamole/etc/user-mapping.xml
enable-clipboard-integration: true


Modify your /etc/rrdp/xrdp.ini to Connect to the same session everytime



Reconnect for XRDP

Xrdp Tip – How to reconnect to the “same” remote session


XRDP Install

Ubuntu 14.04 – How to install xrdp in Ubuntu 14.04

More Links that i used for my installation

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




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s