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 > Unix Disaster

Unix Disaster
Thread Tools
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
May 3, 2003, 09:16 PM
 
Hey,
I don't have any idea what's happened. Whenever I open the terminal program, it's title gets set to "Command completed" and that's that. I can't type anything. Apple's X11 doesn't work, I can't SSH in. What's going on? All i've done recently is I made myself a .xinitrc file, ran Apple's X11 with it, and then deleted the .xinitrc file later. Help!!!!

gabe
     
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status: Offline
Reply With Quote
May 3, 2003, 10:40 PM
 
If you use iTerm (http://iterm.sourceforge.net), does it give you the same error? If not, it is likely the Terminal.app preferences that have become corrupted. In that case, you should try deleting (or moving aside): ~/Library/Preferences/com.apple.Terminal.plist
     
Dedicated MacNNer
Join Date: Jul 2001
Location: NC
Status: Offline
Reply With Quote
May 3, 2003, 11:06 PM
 
   For some unknown reason, the terminal sometimes puts a command in the value of the "ExecutionString" property of the ~/Library/Preferences/com.apple.Terminal.plist preferences file. When is does this, you can either erase the value or just delete the preferences file.
   If that isn't the problem, it's possible that there is an error in your shell startup scripts, such as ~/.tcshrc or ~/.login. If you have more than one you can move them one at a time to figure out which is causing the problem. Then you can move the offending script back and comment out parts of it until you find the offending line(s).
Gary
A computer scientist is someone who, when told to "Go to Hell", sees the
"go to", rather than the destination, as harmful.
     
Grizzled Veteran
Join Date: Sep 2000
Location: Adelaide, Australia
Status: Offline
Reply With Quote
May 4, 2003, 02:44 AM
 
Originally posted by Zimwy:
Hey,
I don't have any idea what's happened. Whenever I open the terminal program, it's title gets set to "Command completed" and that's that. I can't type anything. Apple's X11 doesn't work, I can't SSH in. What's going on? All i've done recently is I made myself a .xinitrc file, ran Apple's X11 with it, and then deleted the .xinitrc file later. Help!!!!

gabe
You could create a new user and log in. If that works and you can login as them I guess its a preference screwed up and you will have to move them around until you find the one.

Michael
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
May 4, 2003, 03:10 PM
 
Open the Terminal Preferences and check that the "Execute command" radio button is checked and that the textbox says "/bin/tcsh" (unless you've changed your shell, but it doesn't sound like that.)
     
   
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 07:58 AM.
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