LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-01-2007, 12:38 PM   #1
Guess
LQ Newbie
 
Registered: Sep 2007
Posts: 10

Rep: Reputation: 0
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.
 
Old 10-01-2007, 01:21 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
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.
 
Old 10-01-2007, 01:59 PM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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.
 
  


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
DISPLAY var troubles running GUI apps remotely JohnE1 Solaris / OpenSolaris 9 09-21-2007 07:37 PM
LXer: Use MySQL GUI tools remotely and securely LXer Syndicated Linux News 0 01-31-2007 10:03 PM
Remotely code and compile with GUI from Windows to Linux? pembo13 Linux - General 1 02-03-2006 12:55 PM
Connecting remotely to GUI deWin Linux - Networking 0 03-03-2004 01:15 PM
Remotely Anywhere for Linux? Apollo77 Linux - Software 1 11-27-2003 05:33 PM


All times are GMT -5. The time now is 09:07 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration