Xforwarding doesn't allow for switching users
- by Dan
I'm ssh'd into a remote computer and xforwarding is working fine... but as soon as I "sudo su -" or "sudo su user2" it no longer Xforwards anything giving me the error:
X11 connection rejected because of wrong authentication.
xterm Xt error: Can't open display: localhost:10.0
Any Ideas?
Thanks