Re: Compile on Ubuntu 22.04 => openssl

2022-04-28 Thread Gerd Hoerst



hi !

is it possible to get the actual git client compiled like for v 1.4.0 ?

Ciao Gerd

Am 2022-04-27 19:36, schrieb Gerd Hoerst:


Hi !

this works

root@capri-2:~# javadoc
javadoc: error - No modules, packages or classes specified.
1 error

Am 27.04.2022 um 19:04 schrieb Nick Couchman:
Make sure the javadoc command is in your normal PATH - you should be 
able to execute "javadoc" from the command line.


On Wed, Apr 27, 2022 at 1:02 PM Gerd Hoerst  wrote:

Hi !

OK server compile now is OK but client complains

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar 
(attach-javadocs) on project guacamole-common: MavenReportException: 
Error while generating Javadoc: Unable to find javadoc command: The 
environment variable JAVA_HOME is not correctly set. -> [Help 1]


but

root@capri-2:~/develop/guacamole-client# echo $JAVA_HOME
/usr/lib/jvm/default-java

and

root@capri-2:/usr/lib/jvm/default-java/bin# ls
jaotc  java javap  jdeprscan  jhsdb   jjsjmodjshell 
 jstatd   rmic serialver
jarjavacjcmd   jdeps  jimage  jlink  jps jstack 
 keytool  rmid unpack200
jarsigner  javadoc  jdbjfrjinfo   jmap   jrunscript  jstat  
 pack200  rmiregistry


Ciao Gerd

Am 27.04.2022 um 13:56 schrieb Nick Couchman:

On Wed, Apr 27, 2022 at 3:22 AM Gerd Hoerst  wrote:

Hi !

is it fixed meanwhile in git ?
Yes, that's what Mike just said.

how can i download the archives from actual git ?
You can either use "git clone" to clone the repository, or, if you go 
to the web page (https://github.com/apache/guacamole-server) and there 
is an option to download an archive toward the top of the page.


-Nick

Re: Compile on Ubuntu 22.04 => openssl

2022-04-27 Thread Gerd Hoerst

Hi !

this works

root@capri-2:~# javadoc
javadoc: error - No modules, packages or classes specified.
1 error

Am 27.04.2022 um 19:04 schrieb Nick Couchman:
Make sure the javadoc command is in your normal PATH - you should be 
able to execute "javadoc" from the command line.


On Wed, Apr 27, 2022 at 1:02 PM Gerd Hoerst  wrote:

Hi !

OK server compile now is OK but client complains

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar
(attach-javadocs) on project guacamole-common:
MavenReportException: Error while generating Javadoc: Unable to
find javadoc command: The environment variable JAVA_HOME is not
correctly set. -> [Help 1]

but

root@capri-2:~/develop/guacamole-client# echo $JAVA_HOME
/usr/lib/jvm/default-java

and

root@capri-2:/usr/lib/jvm/default-java/bin# ls
jaotc  java javap  jdeprscan  jhsdb   jjs jmod   
jshell  jstatd   rmic serialver
jar    javac    jcmd   jdeps  jimage  jlink jps
jstack  keytool  rmid unpack200
jarsigner  javadoc  jdb    jfr    jinfo   jmap jrunscript 
jstat   pack200  rmiregistry

Ciao Gerd

Am 27.04.2022 um 13:56 schrieb Nick Couchman:

On Wed, Apr 27, 2022 at 3:22 AM Gerd Hoerst  wrote:

Hi !

is it fixed meanwhile in git ?

Yes, that's what Mike just said.

how can i download the archives from actual git ?

You can either use "git clone" to clone the repository, or, if
you go to the web page
(https://github.com/apache/guacamole-server) and there is an
option to download an archive toward the top of the page.

-Nick


Re: Compile on Ubuntu 22.04 => openssl

2022-04-27 Thread Gerd Hoerst

Hi !

OK server compile now is OK but client complains

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar 
(attach-javadocs) on project guacamole-common: MavenReportException: 
Error while generating Javadoc: Unable to find javadoc command: The 
environment variable JAVA_HOME is not correctly set. -> [Help 1]


but

root@capri-2:~/develop/guacamole-client# echo $JAVA_HOME
/usr/lib/jvm/default-java

and

root@capri-2:/usr/lib/jvm/default-java/bin# ls
jaotc  java javap  jdeprscan  jhsdb   jjs    jmod jshell  
jstatd   rmic serialver
jar    javac    jcmd   jdeps  jimage  jlink  jps jstack  
keytool  rmid unpack200
jarsigner  javadoc  jdb    jfr    jinfo   jmap   jrunscript jstat   
pack200  rmiregistry


Ciao Gerd

Am 27.04.2022 um 13:56 schrieb Nick Couchman:

On Wed, Apr 27, 2022 at 3:22 AM Gerd Hoerst  wrote:

Hi !

is it fixed meanwhile in git ?

Yes, that's what Mike just said.

how can i download the archives from actual git ?

You can either use "git clone" to clone the repository, or, if you go 
to the web page (https://github.com/apache/guacamole-server) and there 
is an option to download an archive toward the top of the page.


-Nick


Re: Compile on Ubuntu 22.04 => openssl

2022-04-27 Thread Gerd Hoerst

Hi !

is it fixed meanwhile in git ?

how can i download the archives from actual git ?

Ciao Gerd

Am 27.04.22 um 04:24 schrieb Michael Jumper:

On Tue, Apr 26, 2022, 10:22 Gerd Hoerst  wrote:

Hi !

i tried to compile the 1.4.0 package for Ubuntu 22.04 but i get
some of
this errors...

make[3]: Verzeichnis
„/root/develop/guacamole-server-1.4.0/src/common-ssh“ wird betreten
   CC   libguac_common_ssh_la-key.lo
key.c: In function ‘guac_common_ssh_key_alloc’:
key.c:63:9: error: ‘PEM_read_bio_RSAPrivateKey’ is deprecated: Since
OpenSSL 3.0 [-Werror=deprecated-declarations]
    63 | rsa_key = PEM_read_bio_RSAPrivateKey(key_bio, NULL,
NULL, passphrase);
   | ^~~
In file included from key.c:33:


I believe this has already been addressed on the latest git via the 
support for OpenSSH-format keys. We no longer invoke the function in 
question, and instead use the key reading functions provided by libssh2.


- Mike


Compile on Ubuntu 22.04 => openssl

2022-04-26 Thread Gerd Hoerst

Hi !

i tried to compile the 1.4.0 package for Ubuntu 22.04 but i get some of 
this errors...


make[3]: Verzeichnis 
„/root/develop/guacamole-server-1.4.0/src/common-ssh“ wird betreten

  CC   libguac_common_ssh_la-key.lo
key.c: In function ‘guac_common_ssh_key_alloc’:
key.c:63:9: error: ‘PEM_read_bio_RSAPrivateKey’ is deprecated: Since 
OpenSSL 3.0 [-Werror=deprecated-declarations]
   63 | rsa_key = PEM_read_bio_RSAPrivateKey(key_bio, NULL, 
NULL, passphrase);

  | ^~~
In file included from key.c:33:

Ciao Gerd


-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: ssh same problem on 1.4.0 as on 1.3.0

2022-01-17 Thread Gerd Hoerst

Hi !

You are my hero i remember that on this machine i made some tryouts 
at the beginning and compiled without a prefix


So (shame on me) there were a very old version of all lib in 
/usr/local/lib... (new setup used to be compiled with prefix /usr


So clenaed up and.. all fine :) Thanks a lot

Ciao Gerd

Am 17.01.2022 um 16:07 schrieb Nick Couchman:

On Mon, Jan 17, 2022 at 9:21 AM Gerd Hoerst  wrote:

Hi !

I complied them myself..

but i started with ./configure --prefix=/usr
--with-systemd-dir=/etc/systemd/system

and i got no failures during configure and make process

Where a the 1.4.0 packages available for Ubuntu 20.04 ?

Ciao Gerd

Am 17.01.22 um 14:06 schrieb Dustin Lang:


Hi,

Are you using Ubuntu packages or building guacamole-server /
guacd yourself?  You can see there's a segfault in the guacd ssh
library. That's either a bug or some problem in the way it was
compiled...  If your two machines are the same, check for any
differences in your guacamole-server ./configure output.  And
make sure guacd is looking for its libraries in the right place
(I had to set LD_LIBRARY_PATH to the /usr/local/guacamole
directory I installed it in).

guacd[100650]: segfault at 0 ip 7ff3227373a0 sp
7ff31bffecf0 error 4 in libguac-client-ssh.so.0.0.0

cheers,
--dustin

On Mon, Jan 17, 2022 at 2:58 AM Gerd Hoerst  wrote:

Hi !

I have 2 servers (both Ubuntu 20.04 on a x64 machine)

bothe are setup as the same (1 with GUI and 1 without)

on Machine w/o GUI  ia had to switch back to 1.2.0 because it
had
problems with ssh (reported here)

No i tried with 1.4.0 but its still the same

Jan 17 08:52:39 capricorn guacd[100594]: guacd[100594]:
INFO:#011SSH
connection successful.
Jan 17 08:52:39 capricorn kernel: [ 1860.837658]
guacd[100650]: segfault
at 0 ip 7ff3227373a0 sp 7ff31bffecf0 error 4 in
libguac-client-ssh.so.0.0.0[7ff322734000+14000]
Jan 17 08:52:39 capricorn kernel: [ 1860.837672] Code: 0f 1f
84 00 00 00
00 00 66 90 f3 0f 1e fa 41 54 48 89 c8 b9 0d 00 00 00 55 48
89 f5 48 89
c6 53 48 89 fb 48 8d 3d 60 0c 01 00  a6 0f 97 c2 80 da 00
84 d2 0f
84 a0 00 00 00 b9 0a 00 00 00 48
Jan 17 08:52:39 capricorn guacd[97884]: Connection
"$fd7643aa-e279-441c-9596-d6c69081d6f5" removed.
Jan 17 08:52:39 capricorn guacd[97884]: guacd[97884]:
INFO:#011Connection "$fd7643aa-e279-441c-9596-d6c69081d6f5"
removed.

this happen only on one machine... relevant packages are the
same on both..



I would say make sure that you do not have any previous versions of 
the libguac-client-ssh.so.0.0.0 file on the system running guacd. 
Maybe clean it completely of all previous guacd components/files, and 
then do a clean build/install.


If you're still getting this, it would be useful to have the full 
stack trace from the segfault - you'd need to run gdb with the core 
file and the debug symbols (or source directory) to get this.


-Nick

Re: ssh same problem on 1.4.0 as on 1.3.0

2022-01-17 Thread Gerd Hoerst

Hi !

I complied them myself..

but i started with ./configure --prefix=/usr 
--with-systemd-dir=/etc/systemd/system


and i got no failures during configure and make process

Where a the 1.4.0 packages available for Ubuntu 20.04 ?

Ciao Gerd

Am 17.01.22 um 14:06 schrieb Dustin Lang:


Hi,

Are you using Ubuntu packages or building guacamole-server / guacd 
yourself?  You can see there's a segfault in the guacd ssh library.  
That's either a bug or some problem in the way it was compiled...  If 
your two machines are the same, check for any differences in your 
guacamole-server ./configure output.  And make sure guacd is looking 
for its libraries in the right place (I had to set LD_LIBRARY_PATH to 
the /usr/local/guacamole directory I installed it in).


guacd[100650]: segfault at 0 ip 7ff3227373a0 sp 7ff31bffecf0 
error 4 in libguac-client-ssh.so.0.0.0


cheers,
--dustin

On Mon, Jan 17, 2022 at 2:58 AM Gerd Hoerst <mailto:g...@hoerst.net>> wrote:


Hi !

I have 2 servers (both Ubuntu 20.04 on a x64 machine)

bothe are setup as the same (1 with GUI and 1 without)

on Machine w/o GUI  ia had to switch back to 1.2.0 because it had
problems with ssh (reported here)

No i tried with 1.4.0 but its still the same

Jan 17 08:52:39 capricorn guacd[100594]: guacd[100594]: INFO:#011SSH
connection successful.
Jan 17 08:52:39 capricorn kernel: [ 1860.837658] guacd[100650]:
segfault
at 0 ip 7ff3227373a0 sp 7ff31bffecf0 error 4 in
libguac-client-ssh.so.0.0.0[7ff322734000+14000]
Jan 17 08:52:39 capricorn kernel: [ 1860.837672] Code: 0f 1f 84 00
00 00
00 00 66 90 f3 0f 1e fa 41 54 48 89 c8 b9 0d 00 00 00 55 48 89 f5
48 89
c6 53 48 89 fb 48 8d 3d 60 0c 01 00  a6 0f 97 c2 80 da 00 84
d2 0f
84 a0 00 00 00 b9 0a 00 00 00 48
Jan 17 08:52:39 capricorn guacd[97884]: Connection
"$fd7643aa-e279-441c-9596-d6c69081d6f5" removed.
Jan 17 08:52:39 capricorn guacd[97884]: guacd[97884]:
INFO:#011Connection "$fd7643aa-e279-441c-9596-d6c69081d6f5" removed.

this happen only on one machine... relevant packages are the same
on both..

Any hints ?

Ciao Gerd


-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
<mailto:user-unsubscr...@guacamole.apache.org>
For additional commands, e-mail: user-h...@guacamole.apache.org
<mailto:user-h...@guacamole.apache.org>



ssh same problem on 1.4.0 as on 1.3.0

2022-01-16 Thread Gerd Hoerst

Hi !

I have 2 servers (both Ubuntu 20.04 on a x64 machine)

bothe are setup as the same (1 with GUI and 1 without)

on Machine w/o GUI  ia had to switch back to 1.2.0 because it had 
problems with ssh (reported here)


No i tried with 1.4.0 but its still the same

Jan 17 08:52:39 capricorn guacd[100594]: guacd[100594]: INFO:#011SSH 
connection successful.
Jan 17 08:52:39 capricorn kernel: [ 1860.837658] guacd[100650]: segfault 
at 0 ip 7ff3227373a0 sp 7ff31bffecf0 error 4 in 
libguac-client-ssh.so.0.0.0[7ff322734000+14000]
Jan 17 08:52:39 capricorn kernel: [ 1860.837672] Code: 0f 1f 84 00 00 00 
00 00 66 90 f3 0f 1e fa 41 54 48 89 c8 b9 0d 00 00 00 55 48 89 f5 48 89 
c6 53 48 89 fb 48 8d 3d 60 0c 01 00  a6 0f 97 c2 80 da 00 84 d2 0f 
84 a0 00 00 00 b9 0a 00 00 00 48
Jan 17 08:52:39 capricorn guacd[97884]: Connection 
"$fd7643aa-e279-441c-9596-d6c69081d6f5" removed.
Jan 17 08:52:39 capricorn guacd[97884]: guacd[97884]: 
INFO:#011Connection "$fd7643aa-e279-441c-9596-d6c69081d6f5" removed.


this happen only on one machine... relevant packages are the same on both..

Any hints ?

Ciao Gerd


-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: Linux VNC server that provides copy/paste and file transfer?

2022-01-14 Thread Gerd Hoerst

Hi !

im using Ubuntu 20.04 with x11vnc and copy/paste from/to guacamole (im 
using 1.2.0) works here


sftp is quite kind of strange

Ciao Gerd

Am 13.01.22 um 17:19 schrieb Dustin Lang:

Hi all,

I am finding that, with Ubuntu 18.04 packages,

tigervncserver (1.9.0) *does* do copy/paste
tigervnc-standalone-server (1.7.0) does NOT do copy/paste to guacamole
tightvncserver (1.3.10) does NOT do copy/paste

and I am finding that the file transfer menu is entirely absent in all 
three.  I have read that tigervncserver does not support file transfer 
(within the VNC protocol).


Is this in keeping with others' findings?  Is there a version of one 
of these products that supports copy/paste and file transfer?


Thanks!
--dustin




-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: change guacamol-server from 1.3.0 to git

2021-09-16 Thread Gerd Hoerst

Hi !

Am 16.09.21 um 13:52 schrieb Nick Couchman:
On Thu, Sep 16, 2021 at 1:41 AM Gerd Hoerst <mailto:g...@hoerst.net>> wrote:


Hi !

Regarding my other problem which i posted here and got
(unfortunately)
no response.

I tried to change my setup from 1.3.0. to git so i had a running
1.3.0
before.

i compiled everything and i can login as before, but trying to use
any
connection i get this in apache log:

[Wed Sep 15 17:04:05.376868 2021] [proxy:error] [pid 1543157]
(111)Connection refused: AH00957: HTTP: attempt to connect to
127.0.0.1:8080 <http://127.0.0.1:8080> (localhost) failed
[Wed Sep 15 17:04:05.376957 2021] [proxy_http:error] [pid 1543157]
[client 62.159.242.114:45060 <http://62.159.242.114:45060>]
AH01114: HTTP: failed to make connection
to backend: localhost

point is i changed nothing on apache/tomcat9 setup i only changed the
guacamole part. What did i wrong in my thinking


You haven't provided a lot of detail about how things are set up, but 
it looks like either Tomcat is not running, or, if you're running it 
through Docker, it isn't forwarding the port as expected. The message 
here is fairly straight-forward - whatever the proxy is cannot connect 
on port 8080 (Tomcat's normal port). Make sure that Tomcat is running 
and is listening on the expected port - and, if you're using Docker, 
that the container configuration makes that port available.


-Nick


system is ubuntu 20.04 i told you i had 1.3.0 running(only with the 
here written ssh problem , vnc and rdp were working) and i changed 
nothing on tomcat/apache2 side.


Also i compiled

   1391 ?    Ssl    2:39 /usr/lib/jvm/default-java/bin/java 
-Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
-Djava.awt.headless=true -Djdk.tls.ephemeralDHKeySize=2048 
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources 
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027 
-Dignore.endorsed.dirs= -classpath 
/usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar 
-Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 
-Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start


and telnet localhost 8080 shows a connect..

also server comiplation was done with same options

./configure --prefix=/usr --with-systemd-dir=/etc/systemd/system

Ciao Gerd



change guacamol-server from 1.3.0 to git

2021-09-15 Thread Gerd Hoerst

Hi !

Regarding my other problem which i posted here and got (unfortunately) 
no response.


I tried to change my setup from 1.3.0. to git so i had a running 1.3.0 
before.


i compiled everything and i can login as before, but trying to use any 
connection i get this in apache log:


[Wed Sep 15 17:04:05.376868 2021] [proxy:error] [pid 1543157] 
(111)Connection refused: AH00957: HTTP: attempt to connect to 
127.0.0.1:8080 (localhost) failed
[Wed Sep 15 17:04:05.376957 2021] [proxy_http:error] [pid 1543157] 
[client 62.159.242.114:45060] AH01114: HTTP: failed to make connection 
to backend: localhost


point is i changed nothing on apache/tomcat9 setup i only changed the 
guacamole part. What did i wrong in my thinking



Ciao Gerd


-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



guacamole 1.3.0 ssh failure

2021-09-13 Thread Gerd Hoerst

Hi !

i have to similar installations both are ubuntu 20.04 , they are running 
same kernel same packages etc..


i setup guacamole on both computers with VNC ssh and rdp connections and 
auth via sql (but also same effect via file auth)


on one computer when i login via ssh i get the login screen and the 
connection is terminated and dmesg show this


[  147.472604] guacd[15149]: segfault at 7f8cce9f20d8 ip 
7f7a29a1dd68 sp 7f7a22329c68 error 4 in 
libc-2.31.so[7f7a29984000+178000]
[  147.472627] Code: 0f 11 4c 17 f0 c3 48 3b 15 4d 24 13 00 0f 83 e2 00 
00 00 48 39 f7 72 0f 74 12 4c 8d 0c 16 4c 39 cf 0f 82 63 01 00 00 48 89 
d1  a4 c3 80 fa 08 73 12 80 fa 04 73 1e 80 fa 01 77 26 72 05 0f b6
[  156.292514] guacd[16796]: segfault at 0 ip 7f7a283eb3a0 sp 
7f7a22329cf0 error 4 in libguac-client-ssh.so.0.0.0[7f7a283e8000+14000]
[  156.292530] Code: 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 41 54 48 
89 c8 b9 0d 00 00 00 55 48 89 f5 48 89 c6 53 48 89 fb 48 8d 3d 60 0c 01 
00  a6 0f 97 c2 80 da 00 84 d2 0f 84 a0 00 00 00 b9 0a 00 00 00 48


Version 1.2.0 works fine i would prefer 1.3.0 cause of rdp features

Anybody has had similar problems ?

Ciao Gerd


-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org