LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2008, 09:08 AM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Rep: Reputation: 31
Question Looking for alternative to running clients in terminal windows


I almost automatically open a terminal window and run sqlplus or ssh to a window. Then run some job which is going to take 12-24 hours to run. Then 2 hours into it want to take my laptop upstairs to be with the family... but can't as disconnecting the laptop from the docking station will halt the sqlplus or ssh connection, as it transfers over to wireless.


I'm trying to use vnc more for long running jobs... but it feels awkward. Not to mention I loose real estate because I've got so many cascading windows.


Any one have any suggestions on how to start a sqlplus or ssh session on a remote machine but attach the console to a terminal session? That way if I get disconnected I just re-attach to that session?
 
Old 12-16-2008, 12:16 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It sounds like you want to use GNU screen. screen is technically a window manager, that you can attach and detach a terminal whenever you wish.

For example, you could start a job running through screen on the remote server, detach your terminal, and then reconnect at a later time (from a different machine entirely, if you wish).
 
Old 12-16-2008, 12:41 PM   #3
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Rep: Reputation: 30
if you want to run an application on machine B from machine A and what the application to continue to run on machine A if the connection is dropped or machine A is turn off, then at the pompt on machine B do:

% nohup application > /dev/null &
 
  


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
can Linux Terminal Project serve windows apps to linux clients putnum Linux - Server 2 01-09-2008 10:25 PM
Thin Clients on Windows and Linux Terminal? Is it possible? depam Linux - Software 14 05-27-2006 12:07 AM
Terminal Services on Fedora Server with Windows Clients for Multiuser Quickbooks App Bryan Henry Linux - Software 2 08-03-2005 08:40 AM
Thin clients - Linux on CD w/ windows terminal client alztek Linux - Newbie 1 02-24-2004 02:57 PM
Running Mandrake 9.1 Linux Clients on Windows 2000 Domain Server marc213 Linux - Networking 0 10-30-2003 03:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:37 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