LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH into a machine and open application? (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-into-a-machine-and-open-application-783374/)

Delpheno 01-19-2010 11:33 PM

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.

dracuss 01-19-2010 11:37 PM

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

cantab 01-19-2010 11:44 PM

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).

Delpheno 01-20-2010 10:09 PM

Thanks guys, worked like a charm.


All times are GMT -5. The time now is 02:37 PM.