Can't open display

Dear experts:

My laptop is SL 5.0(firewall off), and when I logon lxplus and try to running root, I got following message:

root
*** DISPLAY not set, setting it to marzhang.in2p3.fr:0.0
Error in TGClient::TGClient: can’t open display “marzhang.in2p3.fr:0.0”, switching to batch mode…

Then I try to create a brower:

TBrowser b
But it display nothing. could some one help me?

Thank you in advance

Huaqiao

Whenb you connect with ssh use option Y
ssh -Y

Rene

1 Like

Thank you very much, Rene, It works fine now.

:laughing: :laughing:

Huaqiao

Hello,

I have the same problem. I want to launch a job on a LSF batch farm. I’m logging to it with ssh -Y, since it doesn’t work with ssh -X. In both cases I have :


Error in TGClient::TGClient: can’t open display “lxi002.gsi.de:10.0”, switching to batch mode…
In case you run from a remote ssh session, reconnect with ssh -Y

Would you have a clue about what’s happening?

Thanks a lot!!

Selim

Hi,

Maybe I am missing something, but if you are running jobs on a batch farm (e.g., in some sort of queuing system), then you almost certainly want to be running in batch mode.

Cheers,
Charles

Thank you … with a little delay. It finally worked fine in the mean time now :wink: