mirror of
https://github.com/moparisthebest/socat
synced 2024-12-21 22:48:48 -05:00
EXAMPLES: corrected typo in display path
This commit is contained in:
parent
e9574b7ec6
commit
877e4f67c3
2
EXAMPLES
2
EXAMPLES
@ -236,7 +236,7 @@ $ socat -,icanon=0,echo=0 tcp:target:5555; reset
|
||||
// socat must be installed on ssh server host
|
||||
// might have to use xauth...
|
||||
// this example is one-shot because ssh can handle only one channel
|
||||
xterm1$ socat -d -d exec:"ssh www.dest-unreach.org rm -f /tmp/.X11-unix/X9; ~/bin/socat -d -d unix-l\:/tmp/.X11-unix/X9\,fork -" unix:/tmp/.X11-unix/X/
|
||||
xterm1$ socat -d -d exec:"ssh www.dest-unreach.org rm -f /tmp/.X11-unix/X9; ~/bin/socat -d -d unix-l\:/tmp/.X11-unix/X9\,fork -" unix:/tmp/.X11-unix/X0
|
||||
xterm2$ ssh target
|
||||
target$ DISPLAY=:9 myxapplication
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user