LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-24-2006, 01:29 PM   #1
edot
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
problems with automatic logout, Gnome, RH enterprise


I hope someone can help me.

The problem is that if I leave my Linux system for any amount of time (I think it's less than 15 minutes), I will find myself logged out. I mean logged out, not screen lock. Programs closed, windows closed, data gone.

I am running Redhat Enterprise WS, version 2.6.9-42.0.2.ELsmp
I'm pretty sure my desktop is Gnome, but as I said, it's not a screensaver lock out.

I'm using the cshell, but there is a .bash_logout, the text of which I'm including below (no clue what it does), just in case this might have something to do with my problem.
[# ~/.bash_logout

# invalidate the gpm selection buffer iff logging out from a
# virtual terminal
if test -x /sbin/consoletype && /sbin/consoletype fg
then if test -r /var/run/gpm.pid && test -d "/proc/$(/bin/cat /var/run/gpm.pid)" then kill -USR2 "$(/bin/cat /var/run/gpm.pid)"
fi
fi

clear


Also: There is no TMOUT in /etc/profile nor in /etc/bashrc nor in my home bash_profile and I have no .profile in my home directory. (btw, do these guys get executed when i'm running csh?)

Thanks in advance for your help
-- edot

p.s. please explain things in the simplest terms possible (i.e. include paths or possible paths and filenames). If you tell me to set a variable, please tell me what file in what directory I have to set it in. Thanks
 
Old 08-24-2006, 01:57 PM   #2
flipwhy
Member
 
Registered: Jul 2006
Posts: 102

Rep: Reputation: 15
im really not sure about what to do with your problem...i havent ever used SUSE either...but i had trouble using applications after loggin in.
Whati did was dlete the (dot).file related to the application in my home dir and then restarted and it worked coz the . file gets recreated.
I dont know if you should too or not...
just in case, you can see your . files by typing ls -a.
 
Old 08-24-2006, 03:57 PM   #3
edot
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Original Poster
Rep: Reputation: 0
New clue:
I took a look at the system logs and this is what I get:

Aug 24 16:30:47 rhsys dbus: Can't send to audit system: USER_AVC pid=8882 uid=501 loginuid=-1 message=avc: 1 AV entries and 1/512 buckets used, longest chain length 1
Aug 24 16:30:47 rhsys gconfd (ariel-8887): Received signal 15, shutting down cleanly
Aug 24 16:30:47 rhsys gdm[8376]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Aug 24 16:30:47 rhsys gdm(pam_unix)[8376]: session closed for user edot

Obviously, rhsys is the system name and edot is the username. Looks like X quits on me? But why? What's the audit system? Who is USER_AVC? And what is signal 15? And does it have anything to do with the system logging me out?

-- edot
 
  


Reply



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
Automatic Logout after inactivity from KDE jst1 Linux - Newbie 2 02-23-2005 01:28 AM
automatic logout every 10minutes Alien#007 Linux - Newbie 11 09-04-2004 02:51 PM
Automatic logout because of Idle time palanisaravanan Linux - General 4 10-17-2003 10:51 AM
Automatic logout in Mandrake 9.1 (--T--) Mandriva 1 09-08-2003 09:08 AM
RH 7.2 Automatic Logout alanlq Linux - General 4 09-05-2002 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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