I need to run xrestop on a remote machine. When I connect through ssh and run xrestop I get the results for my local machine.
I see that there is an option -display but I don't know how to use it.
How to run xrestop remotely ?
I need to run xrestop on a remote machine. When I connect through ssh and run xrestop I get the results for my local machine.
I see that there is an option -display but I don't know how to use it.
How to run xrestop remotely ?
You use the -display option as normal. The standard display is :0. So if you're logged in via ssh you can run:
xrestop -display :0
Generally you can also explicitly set your DISPLAY shell variable to :0 and all X programs will interact with the remote machines primary display.