User Tools

Site Tools


doc:appunti:linux:tux:remote_desktop

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:tux:remote_desktop [2024/12/09 09:48] – [X11vnc con reverse connection] niccolodoc:appunti:linux:tux:remote_desktop [2024/12/09 11:27] (current) – [Sessione X11 remota con client e server dietro firewall] niccolo
Line 79: Line 79:
 </code> </code>
  
-===== X11vnc con client e server dietro firewall =====+===== Sessione X11 remota con client e server dietro firewall =====
  
 Nel caso in cui sia il server che il client si trovino dietro a rispettivi firewall, è possibile utilizzare un **server proxy** tramite il quale far transitare il traffico. Sul server proxy è necessario avere un **accesso ssh** e che sia presente l'opzione **GatewayPorts yes**. Nel caso in cui sia il server che il client si trovino dietro a rispettivi firewall, è possibile utilizzare un **server proxy** tramite il quale far transitare il traffico. Sul server proxy è necessario avere un **accesso ssh** e che sia presente l'opzione **GatewayPorts yes**.
  
-Questo uno esempio di script da eseguire sul server che vuole condividere la sessione:+Questo uno esempio di script da eseguire come utente root sul server che vuole condividere la sessione X11:
  
 <code bash> <code bash>
Line 98: Line 98:
 echo "======================================================================" echo "======================================================================"
 echo "Execute X11VNC(1) connecting to the proxy ${PROXY_SERVER}:${PROXY_PORT}," echo "Execute X11VNC(1) connecting to the proxy ${PROXY_SERVER}:${PROXY_PORT},"
-echo "where sshd must have the option \"GatewayPorts yes\"."+echo "where sshd must be running with the option \"GatewayPorts yes\"."
 echo echo
 echo "The client must already be connected to the proxy with:" echo "The client must already be connected to the proxy with:"
Line 110: Line 110:
 x11vnc -auth guess -display :0  -connect "$PROXY_SERVER:$PROXY_PORT" x11vnc -auth guess -display :0  -connect "$PROXY_SERVER:$PROXY_PORT"
 </code> </code>
 +
 +Il server **x11vnc** è fornito dall'omonimo pacchetto Debian, il client **vncviewer** può essere fornito dal pacchetto Debian **xtightvncviewer**.
  
 ===== krdc ===== ===== krdc =====
doc/appunti/linux/tux/remote_desktop.1733734084.txt.gz · Last modified: 2024/12/09 09:48 by niccolo