Latest LQ Deal: Latest LQ Deals
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 01-20-2010, 12:33 AM   #1
Registered: Oct 2005
Posts: 40

Rep: Reputation: 15
SSH into a machine and open application?

So for Windows, I can load up Xming in the background, SSH into a Linux machine, and open up a file with gedit. Gedit appears on my Windows desktop through Xming.

I'm using Ubuntu now, and when I ssh into the same Linux machine, I can't open up gedit and mess with some files.

Is there a Linux version of Xming I have to get? I'm sure there's an easier way, I just don't know it.

Thank you.
Old 01-20-2010, 12:37 AM   #2
Registered: May 2006
Location: Chisinau, Moldova
Distribution: Gentoo, Debian sid
Posts: 151

Rep: Reputation: 29
I don't really know how to do it, but the X server can be accessed through network, it was created with this purpose on mind. Look here:
Old 01-20-2010, 12:44 AM   #3
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 553

Rep: Reputation: 115Reputation: 115
When you ssh, if you want to run GUI apps you have to enable X forwarding, with the -X option. If that doesn't work try the -Y option (which disables some security features, so be careful).
Old 01-20-2010, 11:09 PM   #4
Registered: Oct 2005
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks guys, worked like a charm.


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
application server cannot open display via SSH mynameisflorian Linux - Server 3 01-22-2009 03:14 PM
open application in display from ssh maginotjr Linux - Server 6 03-08-2008 10:25 AM
Run application on *monitor* of remote machine via SSH? DiBosco Linux - Networking 5 04-09-2007 09:57 AM
Simple shell script to open up terminal and ssh to another machine deadseasquirrel Programming 1 02-02-2006 06:25 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 08:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:00 AM.

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