Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-27-2005, 04:05 AM   #1
Registered: Mar 2005
Location: berlin
Distribution: Redhat 9, Fedora 3
Posts: 70

Rep: Reputation: 15
how to use xwindow applications via ssh/putty

I've learned how to use ssh with putty to log into various linux machines on my network and use them via the shell.

But I'm foggy on how to use GUI applications via ssh and would like to try it out:

- how can I use xterm/xwindow applications over ssh as well, e.g. start up an instance of Firefox while logged in via ssh, is that possible?

- if not, how can I log into another linux machine (from windows or linux) and use xterm/xwindow/graphic applications (not sure of the right term here).

Old 05-27-2005, 04:55 AM   #2
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
ssh -Y hostname -l username

(You can leave out the "-l username" bit if your username is the same on both machines)

This will allow X forwarding. Then just run the commands in the SSH session, and the Xwindows sessions will pop up on your own screen.

You need to be running X on your local machine - so if you're on Windows, you'll have to look into something like Cygwin. You also need to allow X forwarding on the remote host.

Alternatively, you can look into logging into X remotely, using the X server. But that's not so easy.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing pc with putty (ssh) Wozl Linux - Networking 1 10-10-2005 04:44 PM
putty SSH connection deWin Linux - Newbie 3 03-26-2004 10:47 AM
SSH using putty rkemp Linux - Networking 3 03-06-2004 06:04 PM
Applications can't get xwindow fonts rong04 Linux - General 0 10-16-2003 06:32 PM
ssh and using putty from the client ashley75 Linux - General 12 09-11-2003 02:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration