Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Desktop / X-Windows
Reload this Page tcsh logout script
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Desktop / X-Windows Anything X. Gnome, KDE, remote desktop's, XGames etc.

Reply
 
Thread Tools Display Modes
Old 02-20-2008   #1 (permalink)
jr_linux
Just Joined!
 
Join Date: Feb 2008
Posts: 1
tcsh logout script

I just need a logout script that will run when the user logs out of the graphical windows system. Being a newbie I do not know whether that is actually logging out of X completely or just the desktop (gnome).

We are using tcsh as the default shell for the users. I have tried setting a logout script both in the etc directory (/etc/csh.logout) and in the users home directory (.logout), but when logging in via the graphical login, the script does not run on logout. However, if the user logins in via the non-graphical (command line) login, then logs out from there, the script runs.

Help!! Thanks in advance.
jr_linux is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder Script (bash) that might be useful to someone ezgoen Linux Programming & Scripting 1 11-24-2007 03:38 AM
How to test '>' character in a tcsh script xuo Linux Programming & Scripting 6 11-11-2007 01:05 PM
How to run parent shell script in -x ~debug mode and all child scripts that it calls Sangal-Arun Linux Programming & Scripting 2 08-04-2007 11:26 AM
Newbie (VERY) trying to make a tcsh script. _DrMario_ Linux Programming & Scripting 4 12-23-2005 08:40 PM
pppd troubleshooting petitcolin Linux Networking 3 05-19-2004 11:25 PM




All times are GMT. The time now is 02:10 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0