How can I run a program remotely via SSH but display locally
--------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3
--
Chapters
00:00 Question
00:35 Accepted answer (Score 33)
01:05 Answer 2 (Score 5)
01:19 Answer 3 (Score 4)
01:32 Answer 4 (Score 3)
01:46 Thank you
--
Full question
https://superuser.com/questions/123765/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #ssh #xserver
#avk47
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3
--
Chapters
00:00 Question
00:35 Accepted answer (Score 33)
01:05 Answer 2 (Score 5)
01:19 Answer 3 (Score 4)
01:32 Answer 4 (Score 3)
01:46 Thank you
--
Full question
https://superuser.com/questions/123765/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #ssh #xserver
#avk47
ACCEPTED ANSWER
Score 34
By adding the "-Y" flag to the ssh command, the display will automatically be redirected to your local computer.
ssh -Y <remoteip>
Then, if you start Firefox (or any other X application) in that ssh session, it will be displayed locally. (If you have a xserver running locally of course)
ANSWER 2
Score 5
You are looking to do remote X. This is a good mini HOWTO.
ANSWER 3
Score 4
You can also use compression when using X-forwarding:
ssh $HOSTNAME -CY $PROCESS
ANSWER 4
Score 3
You might also want to try this:
ssh <hostname> -X <program-name or its full path>