Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-15-2005, 08:30 PM   #1
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
running X applications on remote machine when logged in via ssh

I want to take machine 1 log in to machine 2 with ssh, and then launch something like firefox on machine 2 and have the display sent to machine 1 (the one i'm at) so i can browse the web, etc. How can I do this?
Old 08-15-2005, 09:53 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Use the -Y parameter on ssh, or -X on older versions that don't recognize -Y. For example, on machine1, issue the command:

ssh -Y userid@machine2

Any X applications you run on machine2 will then display on your local (machine1) video.

Of course, you must be running an X server on machine1. If machine1 is a Windows system, you must install Cygwin (if you don't already have an X server installed) and start it's X server before you ssh to machine2.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 35 10-23-2017 01:21 AM
need help running remote X applications zero79 Debian 5 06-11-2005 10:55 PM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 08:39 PM
Opening remote files (during ssh session) with applications on local computer? The_Fed Linux - Newbie 3 05-10-2004 05:20 PM
running GUI applications on remote client bbresc512 Linux - Networking 9 04-25-2004 06:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration