More information: On Karmic, SSH doesn't seem to understand the ipv6 prefix of the display, unless the display number is 0.
server1: echo $DISPLAY ::ffff:10.50.50.129:4.0 server1:~$ xauth list #ffff#3a3a666666663a31302e35302e35302e313239#:4 MIT-MAGIC-COOKIE-1 88d9f68e0648ff171df763364d5e9439 ssh -X r...@server2 r...@server2's password: Warning: No xauth data; using fake authentication data for X11 forwarding. ... server2: gedit connect /tmp/.X11-unix/X4: No such file or directory cannot open display: If you change the address of the DISPLAY to a simple ipv4 or if the display is ipv6address:0.0 you get the forwarded display but not the xauth data: server1:~$ export DISPLAY=10.50.50.129:4.0 sidorve\sir...@sirdevubu01:~$ xauth list #ffff#3a3a666666663a31302e35302e35302e313239#:4 MIT-MAGIC-COOKIE-1 88d9f68e0648ff171df763364d5e9439 server1:~$ ssh -X r...@server2 r...@server2's password: Warning: No xauth data; using fake authentication data for X11 forwarding. ... server2:~# gedit Invalid MIT-MAGIC-COOKIE-1 keycannot open display: If you change both to ipv4 format it works: server1:~$ export DISPLAY=10.50.50.129:4.0 server1:~$ xauth add 10.50.50.129:4.0 MIT-MAGIC-COOKIE-1 88d9f68e0648ff171df763364d5e9439 server1:~$ ssh -X r...@server2 r...@server2's password: ... server2:~# gedit server2:~# I'll try to work around this by writing a xprofile script that does the transformations. -- ssh client does not forward X11 to local user's networked DISPLAY https://bugs.launchpad.net/bugs/518962 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
