Hi,

Maybe it's bash and its configurable timeout? Check $TMOUT variable, if it's non empty, it specifies a number of seconds to auto-logout when idle.

On Aug 13, 2011 4:53 AM, "William A. Mahaffey III" <wam@hiwaay.net> wrote:



.... I have a 64-bit CentOS 5.6 VM running on a 64-bit FC14 host. I notice that it has an automatic logout feature after a period of idleness, see below:


[wam@centos-5, CFD, 5:52:45pm] 1183 % ll -tr LIST LIST.Update /usr/local/bin/P* /usr/local/bin/*WAM* ; ps -u wam -lf ; uname -a ; date
ls: No match.
F S UID        PID  PPID  C PRI  NI P    SZ:RSS  WCHAN  STIME TTY          TIME CMD
5 S wam       2270  2266  0  15   0 * 22540:1788 ?      15:48 ?        00:00:04 sshd: wam@pts/0
0 S wam       2271  2270  0  15   0 *  3144:2720 rt_sig 15:48 pts/0    00:00:00 -tcsh
0 R wam      18249  2271  0  15   0 0  2621:896  -      17:52 pts/0    00:00:00 ps -u wam -lf
Linux centos-5.6-vm 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
Fri Aug 12 17:52:50 CDT 2011
[wam@centos-5, CFD, 5:52:50pm] 1184 % auto-logout
Connection to 192.168.122.213 closed.
[wam@Q6600, ~, 6:52:51pm] 1014 %
[wam@Q6600, ~, 9:40:49pm] 1014 %
[wam@Q6600, ~, 9:40:49pm] 1014 % ssh2 -l wam 192.168.122.213
Last login: Fri Aug 12 15:48:11 2011 from 192.168.122.1
[wam@centos-5, ~, 9:40:54pm] 1135 %


I checked man pages on both host & VM, but came up blank. I have another box running CentOS 5.6 native & it doesn't do this, so I suspect it is something w/ the VM environment. How do I disable that :-) ? Thanks in advance.


--

       William A. Mahaffey III

 ----------------------------------------------------------------------

       "The M1 Garand is without doubt the finest implement of war
        ever devised by man."
                          -- Gen. George S. Patton Jr.

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users