Running root using ssh

Hello every one
I am trying to run root remotely using ssh.
ssh -XY …
when I run root -l it works
but it can not display the browser (DISPLAY not set, setting it to …)

PS. Using root6 on mac machine

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

Does a simple X11 application like xclock works for you ?

Try using root.exe instead of root, but that won’t give you graphics either. Are you using ssh between two macs? From/to a Linux machine? It makes a difference.

No it does not work
Error: Can’t open display:

ssh between mac and ubuntu

What is your local machine? The mac or the ubuntu?

local machine is mac

Do you have XQuartz installed, and are you using ssh -Y ubuntumachine?

normally I use ssh between two Ubuntu machines and it works well.
what is XQuartz?? I don’t know!! should I install it on the local machine (mac)?

XQuartz is X11 for Mac.
Mac computers do not have X11 installed by default.
You can download it from here.

Thank you for explanation,
after installing XQuartz. it works

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