Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-18-2003, 09:19 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 18

Rep: Reputation: 0
Script when Logging in


I'm running RedHat 9. I want a script to run once each time I log into an X session. I want to do fancy stuff like switch my background. I don't want this magical script to run each time I open a terminal, otherwise, I'd just run it from my .tcshrc. So is there some place I can put this script?
Old 11-18-2003, 09:53 AM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Put it in .xinitrc. That should do the trick.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
script to allow for logging-in dabash Linux - Newbie 3 12-29-2006 03:15 PM
Logging via bash script kleptophobiac Programming 8 07-22-2004 09:21 AM
Continue running a script after logging out? AlvinK Linux - Newbie 0 08-28-2003 06:32 AM
running a script automatically when Logging out? hamster Linux - General 2 06-03-2003 08:49 PM
shell script for logging threadhead Linux - General 8 12-27-2002 03:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration