linux:x11:forwarding
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:x11:forwarding [2023/10/19 10:34] – created ms | linux:x11:forwarding [2023/10/19 10:48] (current) – ms | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== X11 Weiterleitungen ====== | ====== X11 Weiterleitungen ====== | ||
| ===== remote to local ===== | ===== remote to local ===== | ||
| + | < | ||
| ssh -X user@remote | ssh -X user@remote | ||
| - | start X11-app | + | xeyes |
| + | </ | ||
| + | ===== local to remote ===== | ||
| + | < | ||
| + | # on remote pc | ||
| + | ssh user@local | ||
| + | echo $DISPLAY | ||
| + | localhost: | ||
| + | # session offen lassen | ||
| + | # on local pc | ||
| + | DISPLAY=: | ||
| + | </ | ||
| + | < | ||
| + | ssh user@remote | ||
| + | export DISPLAY=:0 | ||
| + | xeyes | ||
| + | </ | ||
linux/x11/forwarding.1697704453.txt.gz · Last modified: 2023/10/19 10:34 by ms