To run any command on remote machine using ssh without loggin, use following ssh user@remote_ip command_to_execute
If you want to run remote graphical app locally on linux machine, you can use
ssh -X user@remote_ip command_to_execute
If you want to run remote graphical app locally on linux machine, you can use
ssh -X user@remote_ip command_to_execute