User Tools

Site Tools


linux:ssh-tunnel-vnc-remmina

Differences

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

Link to this comparison view

Next revision
Previous revision
linux:ssh-tunnel-vnc-remmina [2022/05/19 16:28] – created Wulf Rajeklinux:ssh-tunnel-vnc-remmina [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 18: Line 18:
 # If there is not a VNC process running, start one # If there is not a VNC process running, start one
  
-vnc_display="$(ssh $SSH_ARGS 'ps_text="$(ps x | grep x11vnc | grep -v grep)"; if [ "$ps_text" = "" ]; then x11vnc -nopw -bg -q -forever -shared -repeat -display :0 2>&1; else echo "$ps_text"; fi')"+vnc_display="$(ssh $SSH_ARGS 'ps_text="$(ps x | grep x11vnc | grep -v grep)"; if [ "$ps_text" = "" ]; then x11vnc -nopw -bg -q -forever -no6 -shared -repeat -display :0 2>&1; else echo "$ps_text"; fi')"
 ssh -NTC -L $PORT_LOCAL:localhost:$PORT_REMOTE_SERVER $SSH_ARGS & ssh -NTC -L $PORT_LOCAL:localhost:$PORT_REMOTE_SERVER $SSH_ARGS &
 SSH_CMD=`echo $!` SSH_CMD=`echo $!`
linux/ssh-tunnel-vnc-remmina.1652974085.txt.gz · Last modified: 2023/05/29 11:53 (external edit)