느린 로그인을 어떻게 진단합니까?


10

로그인 (암호 입력)하면 MacBook Air에 데스크탑이 나타나기 전에 약 10 초 동안 흰색 화면이 표시됩니다.

무슨 일이 일어나고 있는지 어떻게 알 수 있습니까?

지금까지 나는 시도했다 :

  • ~ / Library / Caches 및 / Library / Caches 폴더를 삭제했습니다.
  • 로그인 항목이 없는지 확인
  • '창을 다시 열지 않고 로그인
  • 네트워크 사용 중지 (시간 초과 대기중인 경우)
  • 디스크 권한을 복구
  • 키 체인 확인
  • 콘솔의 출력을 보았습니다 (아무 것도 일어나지 않는 큰 차이가 있습니다)

그러나이 중 어느 것도 아무런 차이가 없었습니다.

또한 새로운 사용자 계정을 만들었고 약 2 초 안에 로그인 할 수 있습니다. 따라서 계정에 문제가 있다고 가정합니다.

시스템은 Lion입니다 (최신 업데이트 포함). Vbox, KeyRemap4MacBook 및 Xcode를 설치했습니다.

편집 : 제안 된대로 로그인하는 데 약 15 초가 걸리는 계정의 콘솔 출력은 다음과 같습니다.

2011-09-22 11:54:33.748 PM SecurityAgent: User info context values set for chris
2011-09-22 11:54:33.748 PM SecurityAgent: User info context values set for chris
2011-09-22 11:54:33.830 PM SecurityAgent: Login Window login proceeding
2011-09-22 11:54:33.830 PM SecurityAgent: Login Window login proceeding
2011-09-22 11:54:34.074 PM loginwindow: Login Window - Returned from Security Agent
2011-09-22 11:54:34.113 PM airportd: _doAutoJoin: Already associated to “wifi1”. Bailing on auto-join.
2011-09-22 11:54:34.158 PM loginwindow: USER_PROCESS: 2849 console
2011-09-22 11:54:34.203 PM com.apple.launchd.peruser.503: (com.apple.quicklook.32bit) Unknown key for boolean: DisallowDataExecute
2011-09-22 11:54:34.203 PM com.apple.launchd.peruser.503: (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
2011-09-22 11:54:34.821 PM UserEventAgent: CaptiveNetworkSupport:CNSServerRegisterUserAgent:187 new user agent port: 32703
2011-09-22 11:54:35.501 PM KeyRemap4MacBook: observer_IONotification
2011-09-22 11:54:36.907 PM KeyRemap4MacBook: skip checkForUpdates
2011-09-22 11:54:37.000 PM kernel: KeyRemap4MacBook --Info-- RemapClass::allocation_count_ 167849/2097152 (capacity 8%)
2011-09-22 11:54:37.564 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
2011-09-22 11:54:37.565 PM com.apple.dock.extra: 2011-09-22 23:54:37.563 com.apple.dock.extra[2902:1707] Could not connect the action buttonPressed: to target of class NSApplication
2011-09-22 11:54:37.565 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
2011-09-22 11:54:37.565 PM com.apple.dock.extra: 2011-09-22 23:54:37.564 com.apple.dock.extra[2902:1707] Could not connect the action buttonPressed: to target of class NSApplication
2011-09-22 11:54:37.566 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
2011-09-22 11:54:37.566 PM com.apple.dock.extra: 2011-09-22 23:54:37.565 com.apple.dock.extra[2902:1707] Could not connect the action buttonPressed: to target of class NSApplication
2011-09-22 11:54:37.566 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
2011-09-22 11:54:37.566 PM com.apple.dock.extra: 2011-09-22 23:54:37.565 com.apple.dock.extra[2902:1707] Could not connect the action buttonPressed: to target of class NSApplication
2011-09-22 11:54:45.344 PM com.apple.loginwindow: chris-pc

누구든지 문제를 발견 할 수 있습니까?

다음은 로그온하는 데 1-2 초 밖에 걸리지 않는 새 계정의 출력입니다.

9/22/11 11:33:39.404 PM loginwindow: Login Window - Returned from Security Agent
9/22/11 11:33:39.452 PM airportd: _doAutoJoin: Already associated to “wifi1”. Bailing on auto-join.
9/22/11 11:33:39.501 PM loginwindow: USER_PROCESS: 2278 console
9/22/11 11:33:39.597 PM com.apple.launchd.peruser.501: (com.apple.quicklook.32bit) Unknown key for boolean: DisallowDataExecute
9/22/11 11:33:39.597 PM com.apple.launchd.peruser.501: (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
9/22/11 11:33:40.096 PM UserEventAgent: CaptiveNetworkSupport:CNSServerRegisterUserAgent:187 new user agent port: 27435
9/22/11 11:33:40.472 PM KeyRemap4MacBook: observer_IONotification
9/22/11 11:33:40.772 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
9/22/11 11:33:40.772 PM com.apple.dock.extra: 2011-09-22 23:33:40.770 com.apple.dock.extra[2332:1707] Could not connect the action buttonPressed: to target of class NSApplication
9/22/11 11:33:40.773 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
9/22/11 11:33:40.774 PM com.apple.dock.extra: 2011-09-22 23:33:40.772 com.apple.dock.extra[2332:1707] Could not connect the action buttonPressed: to target of class NSApplication
9/22/11 11:33:40.774 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
9/22/11 11:33:40.775 PM com.apple.dock.extra: 2011-09-22 23:33:40.773 com.apple.dock.extra[2332:1707] Could not connect the action buttonPressed: to target of class NSApplication
9/22/11 11:33:40.775 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
9/22/11 11:33:40.776 PM com.apple.dock.extra: 2011-09-22 23:33:40.774 com.apple.dock.extra[2332:1707] Could not connect the action buttonPressed: to target of class NSApplication
9/22/11 11:33:42.094 PM KeyRemap4MacBook: checkForUpdates http://pqrs.org/macosx/keyremap4macbook/files/appcast.xml
9/22/11 11:33:42.000 PM kernel: KeyRemap4MacBook --Info-- RemapClass::allocation_count_ 166656/2097152 (capacity 7%)

Vbox로 인해 속도가 느려지면서 문제가 발생했습니다. 자동 시작하면 설명 할 수 있습니다. 또한 시스템 환경 설정> 계정> 로그인 항목을 살펴보고 불필요한 항목이 있는지 확인하십시오.
l' L' l

고맙지 만 불행히도 그렇지 않습니다. 로그인 항목이 없으며 vbox가 자동 시작되지 않습니다.
laktak

그것을 진단하려면 누군가 콘솔 로그를보아야 할 것입니다.
l' L' l

출력을 추가했습니다. 도움이 될만한 다른 로그가 있습니까?
laktak

KeyRemap4MacBook을 비활성화 한 다음 다시 설치하거나 업데이트 및 업데이트하여 차이가 있는지 확인하십시오. 내가 볼 수있는 유일한 것은 속도가 느려질 수 있습니다. 마지막에 두 계정간에 약 9-10 초의 차이가있는 것으로 보입니다.
l' L' l

답변:


4

USER 파일 권한 문제 가있는 것이 분명합니다 . 디스크 유틸리티의 "복구 권한"옵션으로는 수행 할 수없는 사용자 폴더에 대한 복구 권한을 실행해야합니다 . 디스크 유틸리티를 사용하면 시스템 파일 복구됩니다.

사용자 파일 권한을 복구하려면 Lion의 내장 복구 유틸리티로 부팅해야합니다.

  1. 컴퓨터 전원 끄기
  2. 컴퓨터의 전원을 켜고 Apple 로고가 나타날 때까지 Command + R을 길게 누르십시오 . 로드하는 데 평소보다 조금 오래 걸릴 수 있습니다.
  3. 복구 유틸리티가로드되면 메뉴 표시 줄 에서 유틸리티 를 클릭 하고 터미널을 선택하십시오.
  4. 터미널 내에 resetpassword를 입력 하고 Return 키를 누르십시오. 암호 재설정 유틸리티가 열립니다
  5. 이 창에서 하드 드라이브 (Macintosh HD)를 선택한 다음 하드 드라이브 아이콘 바로 아래에있는 드롭 다운 메뉴에서 사용자 계정을 선택하십시오.
  6. 사용자 이름을 선택한 상태에서 창의 오른쪽 하단 에있는 재설정 버튼을 클릭하십시오 . 이 프로세스를 완료하는 데 몇 분이 걸릴 수 있습니다. 이렇게하면 사용자 폴더 내에있는 모든 파일 및 폴더에 대한 모든 파일 및 폴더 권한이 복구됩니다.
  7. 완료되면 Reset Password 응용 프로그램을 종료 한 다음 Terminal 응용 프로그램을 종료하고 마지막으로 컴퓨터를 재부팅하는 Utilities 응용 프로그램을 종료하십시오.

출처 : Mac OS X Lion에서 사용자 권한 복구

디스크가 암호화 된 경우 먼저 잠금을 해제해야합니다.

  • diskutil coreStorage list UUID를 제공합니다.
  • diskutil coreStorage unlockVolume YOUR_UUID 디스크 잠금을 해제합니다 (암호는 사용자 계정의 암호입니다)

고마워요, 해결했습니다! 방금 디스크를 잠금 해제해야했습니다 (답변에 단계를 추가했습니다).
laktak

암호화 주석을 추가해 주셔서 감사합니다.
Nicholas Arvelo

1
@NickArvelo 왜이 사용자에게 USER 파일 권한 문제가 있는지 명확합니까? 그의 로그에 이것을 트리거하는 특정 줄이 있습니까?
프로 백업

@ProBackup SYSTEM 파일 문제가 아닌 USER 파일 문제임을 확인한 것은 새 사용자를 만들 때 로그인 문제가 더 이상 없다는 사실이었습니다. OSX 관련 문제를 해결할 때 첫 번째 단계는 항상 사용자 또는 시스템 기반 문제인지 확인해야합니다. 새 사용자를 만들고 해당 새 사용자로 문제를 복제하는 것이 항상 가장 좋은 방법입니다.
Nicholas Arvelo 2016 년

0

문제를 해결하기위한 다음 단계 :

  1. 새 계정을로드하는 데 동일한 10 초가 걸립니다. 시스템이 많은 기본 설정을 채우고 첫 번째 로그인 파일을 캐시해야하기 때문에 첫 번째 로그인을 할인하십시오. 테스트 계정에 로그 아웃했다가 다시 로그인하면 현재 사용자의 맥이 얇은 사용자에게 어떤 속도를 가지고 있는지 확인할 수 있습니다. 파일이 RAM에 캐시되지 않은 경우 자동 로그인을 끄고 mac을 재부팅하여 테스트 계정에 다시 로그인하십시오.
  2. 홈 폴더를 다른 Mac으로 가져간 다음 그곳에 문제가 없는지 확인하고 삭제 한 후 다시 마이그레이션하십시오. 이것은 종종 문제를 해결할 수없는 문제 계정을 수정하고 사용자가 다시 설정하도록합니다.
  3. Time Machine (또는 기타) 백업이 올바르게 업데이트되었는지 확인한 후 Mac을 지우십시오.

새 계정은 즉시 로그온합니다. 기본 계정으로 다시 로그인하면 여전히 지연됩니다. 2와 3에 감사하지만 도움이되지 않을 긴 해결 방법보다 문제의 원인을 찾고 싶습니다 (현재 해결 방법은 절대로 로그 오프하거나 재부팅하지 않는 것입니다).
laktak
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.