Crouton: Debian 伸展 - 无法进入 chroot

创建于 2017-10-24  ·  5评论  ·  资料来源: dnschneid/crouton

name: stretch
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/stretch...
crouton: version 1-20170901092920~master:0216f9d1
release: stretch
architecture: amd64
xmethod: xorg
targets: kde
host: version 9901.49.0 (Official Build) beta-channel reks 
kernel: Linux localhost 3.18.0-16036-g30f3f9ed6ff1 #1 SMP PREEMPT Tue Oct 17 18:44:49 PDT 2017 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/stretch...

请描述您的问题:

您好,当我尝试进入我的 Debian stretch chroot 时出现错误。 第二次安装完美,第一次尝试安装; 它返回“哈希和不匹配”错误。 看来这是服务器/ X.Org 故障。

如果已知,请描述重现问题的步骤:

我输入sudo startkde并且以下输出是这样的:

Entering /mnt/stateful_partition/crouton/chroots/stretch...

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-3-amd64 x86_64 Debian
Current Operating System: Linux localhost 3.18.0-16036-g30f3f9ed6ff1 #1 SMP PREEMPT Tue Oct 17 18:44:49 PDT 2017 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 3584000 verity payload=PARTUUID=1277a6fb-f707-b046-b18d-2eba3e2afa9c/PARTNROFF=1 hashtree=PARTUUID=1277a6fb-f707-b046-b18d-2eba3e2afa9c/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=b2395e674405f7fc69e397a280fcc1af18d69354 salt=1fae5bbeca5cec504d7e2c2bfc8c2d16a95f0dbd9ed6d986e56fd2938c8f269d" noinitrd vt.global_cursor_default=0 kern_guid=1277a6fb-f707-b046-b18d-2eba3e2afa9c add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic  
Build Date: 07 July 2017  06:14:06AM
xorg-server 2:1.19.2-1+deb9u1 (https://www.debian.org/support) 
Current version of pixman: 0.34.0
        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: "/tmp/Xorg.crouton.1.log", Time: Tue Oct 24 12:11:38 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(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 "/tmp/Xorg.crouton.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
Unmounting /mnt/stateful_partition/crouton/chroots/stretch...

因为我想更多地了解 Debian,所以我们会很快得到帮助。 提前致谢!

最有用的评论

关闭。 如果此问题仍然存在,请重新打开。

所有5条评论

我也有同样的问题。

我正在尝试将 Kali-rolling 放到我的 C201pa 上,每次我尝试使用sudo startxfce4启动它时,它都会返回此代码,

` chronos@localhost / $ sudo startxfce4
进入 /mnt/stateful_partition/crouton/chroots/kali-rolling...
/usr/bin/startxfce4: 启动 X 服务器

_XSERVTransmkdir:/tmp/.X11-unix 的所有者应设置为 root

X.Org X 服务器 1.19.5
发布日期:2017-10-12
X 协议版本 11,修订版 0
构建操作系统:Linux 4.9.0-4-armmp-lpae armv7l Debian
当前操作系统:Linux localhost 3.14.0 #1 SMP PREEMPT Sun Oct 15 17:37:03 PDT 2017 armv7l
内核命令行: 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 3334144 验证负载=PARTUUID=ff808309-404e-da43-88dd-544d2b7508b4/PARTNROFF=1 hashtree=PARTUUID=ff808309-404e-da43-88dd-544d2b7508b4/PARTNR4OFF=1 hashstart=3334 = SHA1 root_hexdigest = ff00ebe381853db1e7cbc1da36ac5fea8d667eed盐= d2bc97e1ae24431ac2f79d5f09ab394e76fc573bf07f41ae014cdbb63dc6d3b9" noinitrd vt.global_cursor_default = 0 kern_guid = ff808309-404e-da43-88dd-544d2b7508b4
建造日期:2017 年 10 月 16 日 03:15:10PM
xorg-server 2:1.19.5-1 (https://www.debian.org/support)
当前版本的 pixman:0.34.0
在报告问题之前,请检查http://wiki.x.org
以确保您拥有最新版本。
标记:(--)探测,(**)来自配置文件,(==)默认设置,
(++) 从命令行,(!!) 通知,(II) 信息,
(WW) 警告,(EE) 错误,(NI) 未实施,(??) 未知。
(++) 日志文件:“/tmp/Xorg.crouton.1.log”,时间:Fri Oct 27 10:39:20 2017
(==) 使用系统配置目录“/usr/share/X11/xorg.conf.d”
(EE)
致命的服务器错误:
(EE) parse_vt_settings: 无法打开 /dev/tty0 (没有这样的文件或目录)
(EE)
(EE)
请咨询 The X.Org Foundation 支持
http://wiki.x.org
求助。
(EE) 另请查看“/tmp/Xorg.crouton.1.log”中的日志文件以获取更多信息。
(EE)
(EE) 服务器因错误 (1) 而终止。 关闭日志文件。
/usr/bin/xinit: 放弃
/usr/bin/xinit:无法连接到 X 服务器:连接被拒绝
/usr/bin/xinit: 服务器错误`

我尝试更新面包块,就像这样sudo sh ~/Downloads/crouton -u -t xfce -n kali-rolling完成后我尝试运行它,它返回了同样的致命错误。

此错误已被多人记录,使用和不使用烤面包片。 对于那些正常运行它的人有一个修复,但我不知道如何访问存储 crouton 的文件目录,因此我无法修复它。

有输入吗?

发现修复

感谢@zguithues的简单修复!

一个快速的解决方法是输入 chroot
sudo enter-chroot -n CHROOTNAME
并运行
sudo apt remove xserver-xorg-legacy

然后正常启动chroot!

关闭。 如果此问题仍然存在,请重新打开。

请重新打开,类似于:

https://github.com/dnschneid/crouton/issues/3510

删除 xorg legacy 的建议不起作用,因为它没有安装。

@githubgnulinux

请在此处查看我对您的其他帖子的回复: https ://github.com/dnschneid/crouton/issues/3310#issuecomment -343778118

希望这可以帮助,
-丹尼斯L

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

Taylormsz picture Taylormsz  ·  5评论

jimmybungalo picture jimmybungalo  ·  4评论

anonymouseprogrammer picture anonymouseprogrammer  ·  4评论

harryprince picture harryprince  ·  3评论

rossjrw picture rossjrw  ·  5评论