Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2009-06-25 21:16:06
Size: 808
Editor: 41-62
Comment:
Revision 4 as of 2020-09-22 20:42:15
Size: 934
Editor: davidsch
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
----
[[CategoryLXCL]]

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)