| Index: start_login.sh
|
| diff --git a/start_login.sh b/start_login.sh
|
| index b468700b7af03710aff68ce3c51b7e04c36fe83d..acc9d853d1b3b94d8c596c83745bf707204a4b46 100755
|
| --- a/start_login.sh
|
| +++ b/start_login.sh
|
| @@ -1,12 +1,21 @@
|
| #!/bin/sh
|
|
|
| -export USER=chronos
|
| +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +# ${USER} defined in /etc/init.d/session_manager
|
| +# ${DATA_DIR} defined in /etc/init.d/session_manager
|
| export LOGNAME=${USER}
|
| export SHELL=/bin/bash
|
| -export HOME=/home/${USER}
|
| +export HOME=${DATA_DIR}/user
|
| export DISPLAY=:0.0
|
| export PATH=/bin:/usr/bin:/usr/local/bin:/usr/bin/X11
|
| -export XAUTHORITY=${HOME}/.Xauthority
|
|
|
| -/usr/bin/xauth -q -f $HOME/.Xauthority add :0 . $1
|
| -exec /usr/bin/ck-launch-session /etc/X11/chromeos-xsession
|
| +XAUTH_FILE=${DATA_DIR}/.Xauthority
|
| +export XAUTHORITY=${XAUTH_FILE}
|
| +
|
| +mkdir -p ${HOME}
|
| +/usr/bin/xauth -q -f ${XAUTH_FILE} add :0 . $1
|
| +exec /usr/bin/chromeos-chrome-login 2>> ${DATA_DIR}/login_mgr.log
|
| +
|
|
|