Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A fix for a no login screen problem System
Background Mac OS 10.1.5 in use for months, auto login has been off ... users have to login upon boot. Did a lot of open source downloading in the prior week. Installation included creating a user (postgres) in UNIX. postgres user did not have a picture for the login screen, but 10.1.5 was OK with that as the user was displayed with no picture at all in the login window (only background showing).

Symptom This week, I installed 10.2.3 upgrade over 10.1.5. All went fine, including the startup sequence completing successfully with each reboot. However, no login window appeared.

Trial and Error Apple tech support had me do the following: repair the disk and permissions, reset open firmware, safe boot, reset PRAM, reset PMU. In other words, all the stuff you do when nobody knows what's wrong. Then they had me do an archive and install with preserve users and network settings. None of the above made a difference.

Then I messed around with the NetInfo database in UNIX-geek-land by doing a single-user boot to the UNIX prompt. Apple tech support helped me get out of a jam in this area, but still no login screen.

The Eventual Solution
  1. Enable autologin manually
    1. boot into single-user mode (Command-S during boot sequence).
    2. Follow the on-screen instructions for write-enabling the boot disk.
    3. cd /Library/Preferences
    4. Edit com.apple.loginwindow.plist, and add a key named autoLoginUser with a string value of "userID," where "userID" is the UNIX user ID of the user to auto-login.
  2. Reboot into the real OS X (finally!).
  3. Using the NetInfo Manager GUI (in /Applications -> Utilities), find the postgres user and copy to its picture the login picture from another user whose picture appears at login.
  4. Disable autologin in the Accounts system preference panel.
  5. Power up into real OS X.
  6. Voila ... I have a login window!
All this caused by one user with a password who didn't have a picture!

Small thanks to...
  • Chris and John at Apple for not forcing me to do the install without preserving users and network settings, and for giving me access to Isaac
  • Isaac at Apple TS for getting me out of a NetInfo jam
  • O'Reilly's Chapter 3 of Mac OS X for Unix Geeks, online, for showing me enough about Netinfo to get me off of that wrong trail
  • westwind.com's OS X reference for the same reason.
Big Thanks to blackhat.com for the document Locking Down OS X, which gave me the plist key that permitted me to dig all the way out.

This took up an entire weekend, by the way.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[11,098 views]  

A fix for a no login screen problem | 3 comments | Create New Account
Click here to return to the 'A fix for a no login screen problem' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A fix for a no login screen problem
Authored by: Cormacolinde on Sep 12, '03 12:05:29PM

Two things:
1- Any Unix non-login user should normally have a user Id below 500 and not appear in the user list, and thus not having a suer picture should not make a difference. What id is that user on your system? do "id postgres" in terminal to check it out.

2- You could also have edited the Netinfo database manually, after doing /sbin/systemStarter in single-user boot, using the niutil utility.



[ Reply to This | # ]
A fix for a no login screen problem
Authored by: jmah on Sep 12, '03 12:50:40PM

Before you fixed it, what happened when you logged out?

---
www.HotFrozenSoup.com



[ Reply to This | # ]
A fix for a no login screen problem
Authored by: vandelaar on Sep 14, '03 08:45:29AM

The easiest way is to install mac os X Jaguar again but than not choose the first option but the second: Archive en install. This would do



[ Reply to This | # ]