Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > deleting .xinitrc, over and over!

deleting .xinitrc, over and over!
Thread Tools
Forum Regular
Join Date: Jun 2002
Location: The Bog of Eternal Stench
Status: Offline
Reply With Quote
Mar 7, 2003, 06:37 AM
 
So I ran a little script to delete .xinitrc, why I didn't do it manually, I don't know. Now every time I open a new terminal window, it tries to run the script again. I deleted the script, I have quit and restarted the terminal, I even rebooted. It still tries to run. The problem is, is exits the session after it tries to run the script rendering my terminal useless. Where is it telling the terminal to run this at startup? How do I make it stop?? Thanks for any advice... javascript:smilie('')

I'm with stupid
---->
     
Fresh-Faced Recruit
Join Date: Aug 2002
Status: Offline
Reply With Quote
Mar 7, 2003, 08:49 AM
 
Check out your .tcshrc file, in your home folder. How it could have gotten in there without you doing it yourself is beyond me though. But that's the script that runs every time you fire up your terminal, if you are using the standard tcsh shell that is.

Hope that helps,

Terje
     
Forum Regular
Join Date: Jun 2002
Location: The Bog of Eternal Stench
Status: Offline
Reply With Quote
Mar 7, 2003, 09:07 PM
 
I had a look at the script, which is from this bundle -
http://www.versiontracker.com/morein...058&db=mac
and all it does is this:

echo remmove .xinitrc Install
sudo rm ~/.xinitrc

Also, here is what my terminal looks like at startup:
Last login: Fri Mar 7 20:54:09 on ttyp1
/Applications/Tools/X11\ Stuff/Installers/Remove\ Welcome to Darwin!
.xinitrc.command; exit
[xxx-xx-xx:~] algernon% /Applications/Tools/X11\ Stuff/Installers/Remove\ .xinitrc.command; exit
remmove .xinitrc Install
rm: /Users/algernon/.xinitrc: No such file or directory
logout
[Process completed]

Where is it pulling that from? It's not in .login... This is getting annoying.

I'm with stupid
---->
     
Forum Regular
Join Date: Jun 2002
Location: The Bog of Eternal Stench
Status: Offline
Reply With Quote
Mar 11, 2003, 09:00 PM
 
/me smacks his forehead.

I figured it out, after days of agonizing, digging through obscure files... I was cleaning our my prefs and wondered if deleting the term's prefs would do it. It did. I feel stupid now. One of the foundations of troubleshooting and I forgot. Someone take away my geek membership.

I'm with stupid
---->
     
   
Thread Tools
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:54 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2