linux:x11:forwarding
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:x11:forwarding [2023/10/19 10:34] – [remote to local] ms | linux:x11:forwarding [2023/10/19 10:48] (current) – ms | ||
---|---|---|---|
Line 3: | Line 3: | ||
< | < | ||
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.1697704485.txt.gz · Last modified: 2023/10/19 10:34 by ms