LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-19-2010, 11:33 PM   #1
Delpheno
Member
 
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-19-2010, 11:37 PM   #2
dracuss
Member
 
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: http://people.csail.mit.edu/wentzlaf//faq/ssh_X.html
 
Old 01-19-2010, 11:44 PM   #3
cantab
Member
 
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, 10:09 PM   #4
Delpheno
Member
 
Registered: Oct 2005
Posts: 40

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:24 PM.

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