Differences between revisions 2 and 3
Revision 2 as of 2013-05-31 09:02:46
Size: 832
Editor: bonaccos
Comment:
Revision 3 as of 2020-09-07 14:05:51
Size: 935
Editor: bonaccos
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
# rev 2020-09-07 bonaccos
Line 2: Line 4:
Line 5: Line 8:
user@laptop:~/bin$ ssh -X user@login.ee.ethz.ch
user@login.ee.ethz.ch's password:
user@laptop:~/bin$ ssh -X user@machine.ee.ethz.ch
user@machine.ee.ethz.ch's password:
Line 8: Line 11:
user@tardis-a05:~>matlab user@machine:~>matlab
Line 20: Line 23:
Log in first via `ssh` and try the command `xauth-fix`. If this doesn't help, let us know at support@ee.ethz.ch Log in first via `ssh` and try the command `xauth-fix`. `xauth-fix` removes broken `xauth` entries from the `Xauthority` file. If this doesn't help, let us know at support@ee.ethz.ch

Why does XForwarding not work anymore?

If you're getting messages like these while trying to forward an X-session:

user@laptop:~/bin$ ssh -X user@machine.ee.ethz.ch
user@machine.ee.ethz.ch's password:
Last login: Mon Apr  2 13:39:11 2007 from vpn-global-083-SunOS 5.8 Generic_117350-44 UNW,Sun-Blade-1500
user@machine:~>matlab
X11 connection rejected because of wrong authentication.
X connection to localhost:11.0 broken (explicit kill or server shutdown).

or like these:

Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: MIT-MAGIC-COOKIE-1 data did not match
Warning: Unable to open display localhost:10.0
(mit-magic-cookie)

Log in first via ssh and try the command xauth-fix. xauth-fix removes broken xauth entries from the Xauthority file. If this doesn't help, let us know at support@ee.ethz.ch


CategoryLXCL

FAQ/XForwarding (last edited 2020-09-22 20:42:15 by davidsch)