The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pseudo-terminal will not be allocated because stdin is not a terminal. Shivdatta UNIX for Advanced & Expert Users 1 08-04-2008 11:29 AM
Closed ports lo-lp-kl UNIX for Dummies Questions & Answers 2 11-16-2006 06:13 PM
mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why? xprankard UNIX for Dummies Questions & Answers 0 01-21-2006 10:09 AM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 03:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-30-2007
thepurple thepurple is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 134
Terminal Closed automitically...

Hi experts,

I am using Solaris 9. I use to login to solaris through Putty/TeraTerm Terminal software from my PC. After login if i keep myself idle in that window i found after couple of minutes Terminal vanish automatically.

Even if i run some program in background/foreground and wait for finishing the process, after couple of minutes same things happend.

And worst thing is that when Terminal Close background/foreground program also closed.:confused

Please advise..
  #2 (permalink)  
Old 11-30-2007
kingdbag kingdbag is offline
Registered User
  
 

Join Date: Jun 2006
Location: Las Vegas, NV
Posts: 104
Go in to PuTTY Configuration and under Connection Category change "Sending of null packets to keep session active" to something other than 0.....now save this to the server config you have already saved otherwise the keepalive won't apply...
  #3 (permalink)  
Old 12-03-2007
thepurple thepurple is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 134
purple

Quote:
Originally Posted by kingdbag View Post
Go in to PuTTY Configuration and under Connection Category change "Sending of null packets to keep session active"
I did NOT "Sending of null packets to keep session active" Option in My putty under Connection Category. In Connection Category i have Data, Proxy, Telnet, Rlogin.
  #4 (permalink)  
Old 12-03-2007
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
It may be caused by TMOUT shell variable. Unset it.
Regarding to those background processes, that's normal. When the shell exits it sends HUP signal to all its child processes. If you want to avoid such behaviour, use "nohup".
Regards.
  #5 (permalink)  
Old 12-03-2007
encrypted's Avatar
encrypted encrypted is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2004
Location: Oslo, Norway
Posts: 219
The "Sending of null packets to keep session active" option is listed in the connection category. Click the connection category and and look for options controlling the connection on the right hand side of the configuration window. Data, proxy, telnet, rlogin are sub categories of connection category.

You may also increase the timeout value in the /etc/sshd/sshd_config file if you want.
  #6 (permalink)  
Old 12-03-2007
thepurple thepurple is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 134
Purple

Quote:
Originally Posted by encrypted View Post
The "Sending of null packets to keep session active" option is listed in the connection category. Click the connection category and and look for options controlling the connection on the right hand side of the configuration window. Data, proxy, telnet, rlogin are sub categories of connection category.

You may also increase the timeout value in the /etc/sshd/sshd_config file if you want.
Many Thanks. I was missed to see the option of "Sending of null...." I set the value of 'second between keepalives' 1. And telnet sessions is not auto closing.

I do not change anything in /etc/ssh/sshd_config.
  #7 (permalink)  
Old 12-03-2007
thepurple thepurple is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 134
purple

Quote:
Originally Posted by grial View Post
It may be caused by TMOUT shell variable. Unset it.

Regarding to those background processes, that's normal. When the shell exits it sends HUP signal to all its child processes. If you want to avoid such behaviour, use "nohup".
Regards.
Though my 'auto closing telnet session' solved but below is my interest to know it.

Where i can found the TMOUT for unset.??

And how to use the "nohup" ??
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0