LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems with automatic logout, Gnome, RH enterprise (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-automatic-logout-gnome-rh-enterprise-477015/)

edot 08-24-2006 01:29 PM

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

flipwhy 08-24-2006 01:57 PM

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.

edot 08-24-2006 03:57 PM

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


All times are GMT -5. The time now is 12:40 PM.