diff --git a/x11vnc-setup.sh b/x11vnc-setup.sh index 648bb1f..085ec57 100644 --- a/x11vnc-setup.sh +++ b/x11vnc-setup.sh @@ -378,7 +378,7 @@ show_connection_info() { echo "Since the server is listening only on localhost, use SSH tunneling to access it remotely:" echo "" echo " ssh -L :localhost:$VNC_PORT $VNC_USER@" - echo " Example: ssh -L 5900:localhost:$VNC_PORT $VNC_USER@192.168.1.2" + echo " Example: ssh -L 5900:localhost:$VNC_PORT $VNC_USER@$ip_address" echo "" echo "Then connect your VNC client to localhost: (e.g., localhost:5900)" fi