Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

imac does not start after I deleted login plist

I had a popup message that my imac was not able to connect to my wifes computer. After reading on this forum that others had the same issue and it had been resolved by deleting com.apple.login...plist .... I did the same.

Now my computer is not starting at all. It shows the apple sign, gives the start sound and then white screen with rotating sign. Here it remains. If I could open the computer somehow I could restore that file because I didn't empty trash.

Considering that imac has the wireless keyboard I thing that it doesn't connect to it any more because all the methods to boot it in safe mode didn't make any difference.

Any suggestions?

iMac (21.5-inch Mid 2011), OS X Mountain Lion (10.8.2)

Posted on Mar 13, 2013 8:46 AM

Reply
Question marked as Best reply

Posted on Mar 13, 2013 9:22 AM

Removing either the loginwindow.plist (or the loginitems.plist) in the User or HD Libraries shouldn't prevent booting. Can you confirm exactly which item you trashed? Maybe find that thread where you saw this suggested? Was it one of these?


/Users/yourusername/Library/Preferences/loginwindow.plist


/Library/Preferences/com.apple.loginwindow.plist

36 replies
Question marked as Best reply

Mar 13, 2013 9:22 AM in response to Madrian

Removing either the loginwindow.plist (or the loginitems.plist) in the User or HD Libraries shouldn't prevent booting. Can you confirm exactly which item you trashed? Maybe find that thread where you saw this suggested? Was it one of these?


/Users/yourusername/Library/Preferences/loginwindow.plist


/Library/Preferences/com.apple.loginwindow.plist

Mar 13, 2013 10:39 AM in response to Madrian

I still don't understand why it won't boot, but if it's still in the Trash, as you say, you might try the following.


The following applies only if the loginwindow.plist you trashed was found in the HD Library, not your User LIbrary.,


Boot into single user mode. Hold down Cmd-s at the startup chime. You will get a screen with text only.


At the prompt, which will end in root# enter the following. (For this, the fsck -y ,keep entering that and hitting return until you get a message "The volume***** appears to be OK" )


NOTE:If you get


fsck_hfs: Volume is journaled. No checking performed.

fsck_hfs: Use the -f option to force checking.


Then just go ahead and enter the next command. Don't wait until you get "The volume*******appears to be OK."


fsck -y


next enter and hit return


mount -uw /


Then, finally, enter


mv /Users/"yourusername"/.Trash/Library/Preferences/com.apple.loginwindow.plist /Library/Preferences/


(IMPORTANT: In the above command, there is a space after /com.apple.loginwindow.plist and before /Library/Preferences/)


Only put yourusername in quotes if it has spaces, otherwise the quotes are not needed.


When the root# prompt returns, enter reboot and hit return. (And pray)


Note: all of this, except for your user name, which will depend on what that is, must be entered precisely as given, noting case and all spaces or lack of. After hitting return for each of the given command wait until you get a new prompt.


Message was edited by: WZZZ

Mar 13, 2013 10:46 AM in response to Madrian

If that's the case, it has to be some other problem. In Mountain Lion, 10.8, the User Library is hidden by default. Did you have to do something to get to it? If you didn't, then it was most likely in the HD Library, which is not hidden.


Even if it was from the User Library, I would still boot into single user mode and run the fsck -y until it comes back clear. Then reboot. That might be enough to fix it.


I still have very strong doubts that trashing that file from either Library is the cause of your problem. Why don't you provide a link to the thread where you found that suggestion?


Message was edited by: WZZZ

Mar 13, 2013 11:39 AM in response to Madrian

Found the post:

Discussions.apple.com/thread/3192332?start=90&tstart=0

I didn't find both files. I think I got the wrong directory.

If you make a videocall on skype I can put the camera on the screen because I think I make something wrong because I don't reach the described results and when entering the last words /library/... it reacts like hitting enter

Mar 13, 2013 11:48 AM in response to Madrian

OK, those were in the home folder library. The instructions I gave you won't work. Besides, it is virtually iimpossible that trashing those two files would prevent booting. You must have done something else, or by coincidence some other problem appeared just at this moment.


Just try running the fsck -y, then reboot.


No skype here.


Maybe I'm not understanding something about this--I only looked through the thread very briefly--but I don't see how this thread you linked is even remotely related to the problem of connecting to your wife's computer. And I'm not ready right now to start in with that one.

imac does not start after I deleted login plist

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.