Can't open display, switching to batch mode when using ssh

I am trying to use ssh on Windows to connect to a remote school machine for an ATLAS project.

The way I do it is

ssh -Y taeny@pc2013.hep.manchester.ac.uk
source setup1.sh
root
new TBrowser

I am unable to open the TBrowser and got the following error:

X11 connection rejected because of wrong authentication.
Error in TGClient::TGClient: can’t open display “localhost:11.0”, switching to batch mode…
In case you run from a remote ssh session, reconnect with ssh -Y

If it helps, I am also getting warnings when I enter the command

ssh -Y taeny@pc2013.hep.manchester.ac.uk

Warning: No xauth data; using fake authentication data for X11 forwarding.
/usr/bin/xauth: error in locking authority file /afs/hep.man.ac.uk/u/taeny/.Xauthority

and another warning when I enter the command

root

Warning: X11 connection rejected because of wrong authentication.
PopupLogo, XOpenDisplay failed

What am I doing wrong?

Hi,

try to use ssh -XY taeny@pc2013.hep.manchester.ac.uk

Cheers,
Stefano

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.