Help! Deleted *windowserver* files by mistake can't boot!

I wanted to refresh my display settings so I did a spotlight for wondoserver files, and then moved them to trash, and restarted. I only get the spinning wheel (not the beach ball) and nothing else happens for a long time. I can get into the terminal by restaring by pressing command-S. I can see the 3 files in the .Trash folder, but I don't know how to move them back where they belong.

Please help!

Thanks!

Mac OS X (10.5)

Posted on Nov 6, 2007 2:59 PM

Reply
7 replies

Nov 6, 2007 3:43 PM in response to Artek2

The paths (for my three) are:

/Library/Preferences/com.apple.windowserver.plist

and (x2):

/Users/myName/Library/Preferences/ByHost/com.apple.windowserver.(hexadecimal Nº).plist

So you would need:


mv /Users/myName/.Trash/fileName


followed by a space, the destination path, and return

x 3

myName is your short name. Forgive me if you knew all that and only needed the paths.

Nov 6, 2007 4:42 PM in response to Artek2

This must be related to something else, because trashing the windowserver.plist files will only lead to new files with default settings after a restart.

Either you have trashed/moved other files, or, an other unrelated error has happend.

If you think, you have trashed more then those plists, boot from your installation CD and reinstall the OS.
Nothing should be changed by this procedure. All missing files will be replaced.

If you are able to get into single user mode with CMD-S,
try a:
<pre>
tail -n 1000 /var/log/system.log | more
</pre>

that will print the last 1000 lines of the system-log to the terminal.
maybe you then find a reason for the problem.

Nov 6, 2007 5:26 PM in response to Artek2

From those two lines, it is difficult to make a guess:
The first line, I have no Idea,
The third line probably means you had forced the shutdown of the system by pulling the plug/holding the power button.

The second line looks like the windowserver it not running.
If this is, because you maybe trashed/moved a file by accident, and you cannot locate the reason, a reinstall should fix it.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Help! Deleted *windowserver* files by mistake can't boot!

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