Sample Header Ad - 728x90

TBrowser won't open (ROOT)

0 votes
0 answers
2117 views
I have installed the ROOT program on ubuntu shell, but I have some problems when I try to run the TBrowser. Somehow the TBrowser don’t show up when I type “new TBrowser()” , but instead I get the following message:
root  new TBrowser() Error in TGClient::TGClient: can’t open display 
“localhost:0.0”, switching to batch mode… In case you run from a remote
ssh session, reconnect with ssh -Y (TBrowser *) 0x55b6b4e54b70
I have installed the Xming program and entered export DISPLAY=localhost:0.0 in the ~/.bashrc file, but the problem persists. When I type xclock I get the message: Error: Can’t open display: localhost:0.0 So I guess my problem is not with root but with the X server ?
Asked by fabstr (1 rep)
Feb 12, 2021, 05:36 PM
Last activity: Feb 12, 2021, 05:48 PM