Results 1 to 2 of 2
I have an ssh question that I have not been able to figure out. I am sitting in front of computer A on computer B I would like to start ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-14-2009 #1
- Join Date
- Mar 2008
how do I start a gui application and the Desktop on a remote computer threw ssh
I am sitting in front of computer A on computer B I would like to start mplayer and have it display a movie on computer B's screen. I think a better question might be how do I start a gui application and the Desktop on a remote computer threw ssh.
To start say mplayer on the remote machine do the following.
Log into the remote machine.
Now mplayer will play on the remote machine.
How to start the remote Desktop?
Last edited by lindylex; 04-14-2009 at 04:26 AM. Reason: Partial Solution
- 04-15-2009 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
You are better off not starting a remote desktop, but run one on your local X server. Start a terminal window, and connect to the remote system with SSH using the -X argument (upper-case X). That enables X11 protocol forwarding to your system. Once you are logged into the remote system, your DISPLAY environment variable should resolve to your local server, so when you start X applications on the remote system, their output will tunnel thru the SSH connection and show up on your local display. I have done this frequently in the past.
That said, running videos over a WAN generally don't work too well. They use a LOT of bandwidth, so if you don't have at least 10mbps between the remote system and your local system you probably won't be particularly happy with the results. Also, there is all the encryption of the data stream going on, and that is going to place a big load on both sides of the link, but the biggest on the remote host side as encryption is generally more CPU intensive than decryption.
So, in my experience, there is no good way to play videos remotely this way. You would be better off running a video player on your local system, and only have the data passed over the wire, but that means you need to pipe the video data from the remote system to your local player. Since video data is already compressed, it isn't as big an issue, and a 5-10mpbs link will handle (in theory) a 720p high-def feed.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!