常见安装问题

此页面详细说明了遵循:doc:`installing-16-04`页面时常遇到的问题。

尝试连接时 SSH 挂起

尝试连接时,SSH连接可能会无限期挂起。 尝试停止与Control-C的连接可能会也可能不会返回到shell提示符。 如果你运行``ssh -vvvv phablet @ 10.15.19.82``,你只能在程序停止之前得到以下输出:

debug1: Connecting to 10.15.19.82 [10.15.19.82] port 22.
debug1: Connection established.
[...]
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH[...]

启用rsyslogd时,这似乎是内核3.10的arm64设备上的常见错误。 如果您有此错误,请将您的声音添加到`ubports / ubuntu-touch#560`_然后尝试以下解决方法:

  1. 重新启动设备以恢复并连接“adb shell”

  2. 运行以下命令来禁用 rsyslogd:

    mkdir /a
    mount /data/rootfs.img /a
    echo manual |tee /a/etc/init/rsyslog.override
    umount /a
    sync
    

您现在可以重启设备。 一旦重新联机,您应该能够连接到 SSH。

一分钟后设备重启

The device may reboot cleanly after about a minute of uptime. If you are logged in when the reboot occurs, you will see the following message:

Broadcast message from root@ubuntu-phablet
    (unknown) at 16:00 ...

The system is going down for reboot NOW!

This happens because lightdm, the Ubuntu Touch display manager, is crashing repeatedly. The system watchdog process sees this and reboots the device.

To fix this problem, log in before the reboot occurs and run the following command:

sudo stop lightdm