You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by adouren <ol...@justice.gouv.fr> on 2021/03/09 10:17:10 UTC
problem vnc - Connexion error
Hello, I'm having trouble setting up vnc:
Connexion error : The remote desktop server is currently unreachable. if the
problem .....
*settings On my remote server :*
root@HOSTNAME:~# vncserver
New 'HOSTNAME:1 (root)' desktop at :1 on machine HOSTNAME
Startin@g applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/HOSTNAME:1.log
Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :1 to
connect to the VNC server.
root@HOSTNAMEHOSTNAME:~# netstat -lptun | grep tigervnc
tcp 0 0 127.0.0.1:5901 0.0.0.0:*
LISTEN 3405/Xtigervnc
tcp6 0 0 ::1:5901 :::*
LISTEN 3405/Xtigervnc
setting guacamole :
Protocole : VNC
NETWORK :
Nom d'hôte : XXX.XXX.XXX.XXX
Port : 5901
AUTHENTIFICATION :
Mot de passe : *********
AFFICHAGE :
Vraies couleurs (32-bit)
PRESSE-PAPIERS
Encodage : UTF-8
For authentication, I put the password that I entered on tigervnc
root@VISR-B-208:~/.vnc# vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
my logs
10:02:15.681 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService
- User "olivier.rondeau" connected to connection "3".
10:02:15.683 [http-nio-8080-exec-9] INFO
o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not
WebSocket). Performance may be sub-optimal.
Have a good day
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: problem vnc - Connexion error
Posted by adouren <ol...@justice.gouv.fr>.
ok, thanks Nick
but how to configure tigervnc so that guacamole connects to the IP address
of the remote server ?
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: problem vnc - Connexion error
Posted by Nick Couchman <vn...@apache.org>.
On Tue, Mar 9, 2021 at 5:17 AM adouren <ol...@justice.gouv.fr>
wrote:
> Hello, I'm having trouble setting up vnc:
>
> Connexion error : The remote desktop server is currently unreachable. if
> the
> problem .....
>
> *settings On my remote server :*
> root@HOSTNAME:~# vncserver
> New 'HOSTNAME:1 (root)' desktop at :1 on machine HOSTNAME
> Startin@g applications specified in /root/.vnc/xstartup
> Log file is /root/.vnc/HOSTNAME:1.log
> Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :1 to
> connect to the VNC server.
>
> root@HOSTNAMEHOSTNAME:~# netstat -lptun | grep tigervnc
> tcp 0 0 127.0.0.1:5901 0.0.0.0:*
> LISTEN 3405/Xtigervnc
> tcp6 0 0 ::1:5901 :::*
> LISTEN 3405/Xtigervnc
>
>
Unless you're running Guacamole on the same system as VNC, this is your
issue, here. VNC is only listening on the local, loopback interface (
127.0.0.1:5901 and ::1:5901), and not on any of the actual network
interfaces. So, Guacamole will not be able to connect.
> setting guacamole :
>
>
> Protocole : VNC
>
> NETWORK :
> Nom d'hôte : XXX.XXX.XXX.XXX
> Port : 5901
>
>
If you're running Guacamole and VNC on the same system, your "Nom d'hote"
here should be 127.0.0.1 and not any of the other hostnames or IPs of the
system.
-Nick