更新 chromeos 后在 crouton 上运行 Ubuntu 时出现问题

更新 chromeos 后在 crouton 上运行 Ubuntu 时出现问题

我已经在 Toshiba Chromebook 2 上使用 Crouton 运行 Ubuntu 14.04 几个月了。今天我退出了 Crouton 并重新启动了我的 chromebook。重新启动并sudo startxfce4在 shell 中发出后,我收到以下错误

chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/trusty...
/usr/bin/startxfce4: Starting X server

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Tue Apr 14 20:43:12 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=e4e36f0d-ca2b-5940-a7fe-a61287b5a2d8/PARTNROFF=1 hashtree=PARTUUID=e4e36f0d-ca2b-5940-a7fe-a61287b5a2d8/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=45e6c45d7f91005eb3265c86cdf50fb85b6449c4 salt=d14d293f1aa4206fae2fe4284ac3a5e3de528f53b75f6b378b55c5ce1c9ddfc5" noinitrd vt.global_cursor_default=0 kern_guid=e4e36f0d-ca2b-5940-a7fe-a61287b5a2d8 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic  
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Apr 29 13:43:33 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7f3c407bd848]
(EE) 1: /usr/bin/X (0x7f3c40614000+0x1ad539) [0x7f3c407c1539]
(EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f3c3f710000+0x10340) [0x7f3c3f720340]
(EE) 3: /usr/bin/X (0x7f3c40614000+0xb57a6) [0x7f3c406c97a6]
(EE) 4: /usr/bin/X (xf86BusProbe+0x9) [0x7f3c4069d099]
(EE) 5: /usr/bin/X (InitOutput+0x74d) [0x7f3c406ab6fd]
(EE) 6: /usr/bin/X (0x7f3c40614000+0x59bab) [0x7f3c4066dbab]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f3c3e150ec5]
(EE) 8: /usr/bin/X (0x7f3c40614000+0x451ee) [0x7f3c406591ee]
(EE) 
(EE) Segmentation fault at address 0x0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.

有谁知道出了什么问题吗?

答案1

解决了我自己的问题。下载了最新版本的 crouton 并发布sudo sh ~/Downloads/crouton -u -n chrootname,一切恢复正常。

这里chrootname指的是 chroot 的名称,可以在 chroot 创建期间选择性地指定(默认为发行版名称,但可以在 chroot 创建时使用该-n选项选择性地指定)。

答案2

我遇到了类似的错误,在 chrome 端自动更新后 xfce4 突然无法启动。通过下载最新版本的 crouton 解决了该问题(https://github.com/dnschneid/crouton)并运行sudo sh ~/Downloads/crouton -u -t xfce。 (-u用于更新并-t xfce指定 xfce 环境目标。)我绝不是专家,但它对我来说效果很好。

相关内容