Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2020-09-07 14:05:51
Size: 935
Editor: bonaccos
Comment:
Revision 5 as of 2025-04-23 07:25:28
Size: 938
Editor: maegger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
# rev 2020-09-07 bonaccos #rev 2020-09-07 bonaccos
Line 23: Line 23:
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 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@isg.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@isg.ee.ethz.ch


CategoryLXCL

FAQ/XForwarding (last edited 2025-04-23 07:25:28 by maegger)