Difference between pages "Udev" and "Guacamole 0.8.3"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
(New page: udev allows you e.g. to rename network cards like this: /etc/udev/rules.d/30-net_persistent_names.rules SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:b8:33:2d", IMPORT="/li...)
 
imported>ThorstenStaerk
 
Line 1: Line 1:
udev allows you e.g. to rename network cards like this:
+
Trying on Ubuntu 10.04
 +
* download the guacamole webapp from http://sourceforge.net/projects/guacamole/files/current/binary/
 +
* deploy it
 +
# mv guacamole-0.8.3.war /var/lib/tomcat6/webapps/
 +
* download guacamole-server and guacamole-client from http://sourceforge.net/projects/guacamole/files/current/source/
 +
* unpack it
 +
* build the server:
 +
# ./configure && make -j8 && make install
 +
# guacd
 +
guacd: error while loading shared libraries: libguac.so.5: cannot open shared object file: No such file or directory
 +
# cp ./src/libguac/.libs/libguac.so.5.0.0 /usr/lib/libguac.so
 +
# guacd
 +
guacd[11581]: INFO:  Guacamole proxy daemon (guacd) version 0.8.3
 +
guacd[11581]: INFO:  Successfully bound socket to host ::1, port 4822
 +
guacd[11581]: INFO:  Exiting and passing control to PID 11582
 +
* build the client:
 +
apt-get install maven2
  
/etc/udev/rules.d/30-net_persistent_names.rules
+
* now the problem is that tomcat does not know where to find the Authentication class:
  
SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:b8:33:2d", IMPORT="/lib/udev/rename_netiface %k eth0"
+
/var/lib/tomcat6/webapps/guacamole/WEB-INF/classes/net/sourceforge/guacamole/net/basic/BasicFileAuthenticationProvider.class
  SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:f2:78:bc", IMPORT="/lib/udev/rename_netiface %k eth0"
+
 
 +
is not in /etc/guacamole/guacamole.properties
 +
 
 +
* so add it
 +
* cat /etc/passwd gives me a line
 +
tomcat6:x:113:116::/usr/share/tomcat6:/bin/false
 +
 
 +
ll /usr/share/tomcat6/.guacamole/
 +
  total 8
 +
drwxr-xr-x 2 root root 4096 Nov 26 07:58 ./
 +
drwxr-xr-x 6 root root 4096 Nov 26 07:57 ../
 +
lrwxrwxrwx 1 root root  35 Nov 26 07:58 guacamole.properties -> /etc/guacamole/guacamole.properties
 +
 
 +
= See also =
 +
* http://www.filegott.se/prd/index.php/how-tos/19-how-to-setup-guacamole-in-linux-ubuntu
 +
* http://guac-dev.org/doc/gug/installing-guacamole.html#idp99200

Revision as of 08:51, 26 November 2013

Trying on Ubuntu 10.04

# mv guacamole-0.8.3.war /var/lib/tomcat6/webapps/
# ./configure && make -j8 && make install
# guacd 
guacd: error while loading shared libraries: libguac.so.5: cannot open shared object file: No such file or directory
# cp ./src/libguac/.libs/libguac.so.5.0.0 /usr/lib/libguac.so
# guacd 
guacd[11581]: INFO:  Guacamole proxy daemon (guacd) version 0.8.3
guacd[11581]: INFO:  Successfully bound socket to host ::1, port 4822
guacd[11581]: INFO:  Exiting and passing control to PID 11582
  • build the client:
apt-get install maven2
  • now the problem is that tomcat does not know where to find the Authentication class:

/var/lib/tomcat6/webapps/guacamole/WEB-INF/classes/net/sourceforge/guacamole/net/basic/BasicFileAuthenticationProvider.class

is not in /etc/guacamole/guacamole.properties

  • so add it
  • cat /etc/passwd gives me a line
tomcat6:x:113:116::/usr/share/tomcat6:/bin/false
ll /usr/share/tomcat6/.guacamole/
total 8
drwxr-xr-x 2 root root 4096 Nov 26 07:58 ./
drwxr-xr-x 6 root root 4096 Nov 26 07:57 ../
lrwxrwxrwx 1 root root   35 Nov 26 07:58 guacamole.properties -> /etc/guacamole/guacamole.properties

See also