crouton: chroots will no longer boot to gui after updating chrome OS to version 56.0.2924.9 dev (64-bit)
chronos@localhost / $ sudo edit-chroot -all
name: precise
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/precise...
crouton: version 1-20161129162558~master:5f2f11f9
release: precise
architecture: amd64
xmethod: xiwi
targets: xfce,xiwi
host: version 9000.10.0 (Official Build) dev-channel setzer
kernel: Linux localhost 3.18.0-13485-gfd54df3 #1 SMP PREEMPT Mon Nov 28 22:00:34 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
name: trustycore
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trustycore...
crouton: version 1-20161116131524~master:9db73043
release: trusty
architecture: amd64
targets: core
host: version 9000.10.0 (Official Build) dev-channel setzer
kernel: Linux localhost 3.18.0-13485-gfd54df3 #1 SMP PREEMPT Mon Nov 28 22:00:34 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/trustycore...
Please describe your issue:
updated chrome OS now chroots won’t boot to gui, something to do with dbus failing?
haven’t checked the CLI only chroot.
If known, describe the steps to reproduce the issue:
chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/precise...
Failed to start message bus: Failed to open "/etc/selinux/targeted/contexts/dbus_contexts": No such file or directory
WARNING: starting chroot system dbus daemon failed with code 1
/usr/bin/startxfce4: Starting X server
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-75-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.18.0-13485-gfd54df3 #1 SMP PREEMPT Mon Nov 28 22:00:34 PST 2016 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=df213b0f-1abc-d547-9e40-48546f69870e/PARTNROFF=1 hashtree=PARTUUID=df213b0f-1abc-d547-9e40-48546f69870e/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=54286f5193b0b38e151c62ab05ef90af45468c46 salt=b1bb29eeb4f179f0b75f5d8ead872d6d11c47ec1cb48ee502094c0df2d5dee7c" noinitrd vt.global_cursor_default=0 kern_guid=df213b0f-1abc-d547-9e40-48546f69870e 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 03:37:52PM
xorg-server 2:1.15.1-0ubuntu2~precise5 (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: "/tmp/Xorg.crouton.1.log", Time: Wed Nov 30 09:22:07 2016
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
setversion 1.4 failed: Permission denied
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
setversion 1.4 failed: Permission denied
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20161129162558~master:5f2f11f9
release: precise
architecture: amd64
xmethod: xiwi
targets: xfce,xiwi
host: version 9000.10.0 (Official Build) dev-channel setzer
kernel: Linux localhost 3.18.0-13485-gfd54df3 #1 SMP PREEMPT Mon Nov 28 22:00:34 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
Failed to start message bus: Failed to open "/etc/selinux/targeted/contexts/dbus_contexts": No such file or directory
EOF in dbus-launch reading address from bus daemon
/etc/xdg/xfce4/xinitrc: 1: /etc/xdg/xfce4/xinitrc: ssh-agent: not found
** (xfce4-session:18843): CRITICAL **: Unable to contact D-Bus session bus: Unknown error
** (xfce4-session:18843): CRITICAL **: Unable to contact D-Bus session bus: //bin/dbus-launch terminated abnormally with the following error: EOF in dbus-launch reading address from bus daemon
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_disconnect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_disconnect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!
** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
Failed to connect to Xfconf daemon: //bin/dbus-launch terminated abnormally with the following error: EOF in dbus-launch reading address from bus daemon
running 'ssh-agent -s -k'
/etc/xdg/xfce4/xinitrc: 1: eval: ssh-agent: not found
Running exit commands...
/usr/bin/xinit: connection to X server lost
waiting for X server to shut down xscreensaver: 09:22:32: SIGHUP received: restarting...
xscreensaver: 09:22:32: running as thomas/thomas (1000/1000)
Hangup
Hangup
(EE) Server terminated successfully (0). Closing log file.
xscreensaver: 09:22:32: Can't open display: :1
xscreensaver: 09:22:32: running as thomas/thomas (1000/1000)
xscreensaver: 09:22:32: Errors at startup are usually authorization problems.
But you're not logging in as root (good!) so something
else must be wrong. Did you read the manual and the FAQ?
http://www.jwz.org/xscreensaver/faq.html
http://www.jwz.org/xscreensaver/man.html
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/precise...
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 37
56.0.2924.26 (Official Build) beta (64-bit) 9000.26.0 (Official Build) beta-channel peppy Acer 720p
I noticed that the xf86-video-intel driver was being referenced in startlxde. According to some arch posts modeset should be used over xf86-video-intel, SNA acceleration sometimes causes problems and UXA can solve some issues.
The file I chaged was /usr/share/X11/xorg.conf.d/20-crouton-intel-sna.conf:
Im not sure about the performance comparisons, however i am trying this for now since it seems to be working.
Edit 1: The issue i was having was that crouton booted but i got what looked like an unlit black screen.
Edit 2: @DennisLfromGA thanks for clarifying this issue. I agree that this probably does nothing for the dbus error.
Edit 3: The xf86EnableIOPort error discussion moved to #2926. New parameters added to the original posting in order to avoid confusion.
Output of startlxde before proposed fix. This output was actually run after I moved to the dev channel, moving to the dev channel is not part of the proposed work around.
I think the xorg conf file should be like this if you want acceleration with modesetting driver:
At least according to manual pages valid choices for “AccelMethod” are “glamor” and “none”. This works for me for both trusty and xenial xfce4 chroot with 56.x ChromeOS on c720 (Celeron 2955U). Desktop that is, I haven’t tested any applications that would really require acceleration. I made accidental ChromeOS update yesterday and here are my experiences with modesetting driver so far:
Trusty:
Xenial:
I am using xenial graphics stack on trusty, but it provides 1.18.3 xorg-core and xenial has 1.18.4. Maybe that explains differences in tearing and rendering.
vim filename
vim is a text editor. Google how to use it first. Trust me on that.
On Jan 11, 2017 8:11 AM, “Joe Palmer” notifications@github.com wrote:
It looks like this issue got derailed a tad.
Instead of resolving the black screen with dbus errors we instead ventured into the one I mentioned in https://github.com/dnschneid/crouton/issues/2917#issuecomment-265191827
So the fix mentioned in https://github.com/dnschneid/crouton/issues/2917#issuecomment-267411158 will not help with this issue - as far as I know.
However it may help with this issue: Probably to do with xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) #2926
Hope this helps, -DennisL