New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 754897 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Corrupted "Local State" cause kiosk to boot into black screen

Project Member Reported by xiy...@chromium.org, Aug 11 2017

Issue description

Repro:
1. Setup a device with kiosk apps
   (whether to auto launch does not matter);
2. "stop ui" as root to stop chrome 
3. "rm /home/chronos/Local\ State" to delete the "Local State" file
4. "start ui" to run chrome again. This time the device should
   land on OOBE page since it losts the state;
5. "restart ui"

At step 5, one would expect to see OOBE screen again. But that does not happen, the device shows a black screen and would stay in state no matter how many time it boots.

The reason is that the login screen is waiting for wallpaper to load. With the combination of kiosk as users and restored "Local State", the wallpaper load never happens. Hence login screen stuck there forever.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Aug 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5a405bacfe6ed1d653967962dce0e445328ed629

commit 5a405bacfe6ed1d653967962dce0e445328ed629
Author: Xiyuan Xia <xiyuan@chromium.org>
Date: Mon Aug 14 17:58:40 2017

wallpaper: Load default with only device local accounts

Load default wallpaper when there are only device local
accounts presented in user list of UserManager. Otherwise,
LoginDisplayHostImpl might be waiting for a never-happen
wallpaper load and device stuck with a blank screen.

BUG= 754897 

Change-Id: I7ca5c795f83de539c8fec109e2453f3974988c5d
Reviewed-on: https://chromium-review.googlesource.com/612682
Reviewed-by: Xiaoqian Dai <xdai@chromium.org>
Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#494095}
[modify] https://crrev.com/5a405bacfe6ed1d653967962dce0e445328ed629/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc

Comment 2 by xiy...@chromium.org, Aug 14 2017

Status: Fixed (was: Assigned)

Comment 3 by mlight@chromium.org, Oct 11 2017

Status: Verified (was: Fixed)
Verified in M62 Beta build 9901.44.0.

Sign in to add a comment