LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   using a GUI remotely with linux (https://www.linuxquestions.org/questions/linux-newbie-8/using-a-gui-remotely-with-linux-588661/)

Guess 10-01-2007 12:38 PM

using a GUI remotely with linux
 
On Redhat 5.0. Scripting with Bash. We do not have any GUI editors on the bash. I am connecting remotely to the server using SSH, puty, iterm from my macintosh.


I have jedit on my macintosh. There is a way to have a text editor connect to my redhat server, I write scripts. I press save, then I execute my .sh scripts remotely and see output and error message? Sort of a basic IDE for scripting?


We have VI, etc... and I am kind of slow with those so I like to use a text editor, but I am forced to copy and paste to test.

PatrickNew 10-01-2007 01:21 PM

Well, you can use any GUI (X11) application on the remote computer, it will show the GUI on your screen, but it is really running on the other computer. Alternatively, you could just write the script on your computer, save it, then use scp to copy it over.

matthewg42 10-01-2007 01:59 PM

If you were using KDE on your local computer, you could edit a file by specifying its location and filename using the fish protocol, for example using kate, as if it were a local file. There are probably similar features built into some editors in Windows and OSX, but I expect it would be a feature of an editor, as AFAIK there is no similat virtual filesystem layer as you find in KDE on those OSes.

Or, as PatrickNew said, you could run an X-server on your local machine, and when you ssh to the remote host, make sure the DISPLAY is set properly and start a GUI editor there - the GUI will display on your local machine, but have program runs on the remote machine, so you can simply edit files as if you were sitting at the remote host.

Another option is to use some form of remote desktop software on the remote host.


All times are GMT -5. The time now is 03:11 AM.