dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.56k stars 1.24k forks source link

startxfce4 command tries to start xfce but crashes back to chrome #4940

Closed 02tz closed 1 year ago

02tz commented 1 year ago
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
/usr/local/bin/crash_reporter_wrapper: 119: exec: /var/run/crw/crw: Permission denied
WARNING: Unable to register core dump handler.
crouton: version 1-20221126232257~master:ae594340
release: xenial
architecture: amd64
xmethod: xorg
targets: xfce
host: version 15278.72.0 (Official Build) stable-channel hatch 
kernel: Linux localhost 4.19.254-14370-g36f2252a4d2e #1 SMP PREEMPT Tue Feb 21 19:15:05 PST 2023 x86_64 x86_64 x86_64 GNU/Linux
freon: yes

Please describe your issue:

xfce wont start and "logout" command wont work for some reason in the cli

If known, describe the steps to reproduce the issue:

try to install kvm and qemu give user sudo and libvirtd perms logout from xfce startxfce4

02tz commented 1 year ago
(xenial)central@localhost:~$ startxfce4
/usr/bin/startxfce4: Starting X server

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

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.15.0-140-generic x86_64 Ubuntu
Current Operating System: Linux localhost 4.19.268-14370-g36f2252a4d2e #1 SMP PREEMPT Tue Feb 21 19:15:05 PST 2023 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 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 5324800 verity payload=PARTUUID=d3180eaa-798d-9c40-b8d6-381b96a4ca2f/PARTNROFF=1 hashtree=PARTUUID=d3180eaa-798d-9c40-b8d6-381b96a4ca2f/PARTNROFF=1 hashstart=5324800 alg=sha256 root_hexdigest=5786bb691f9ffc2d0f7bee37eb7a0810c79e57cf9c44b2ddd2a230f92fd60f47 salt=54a5e68261fd2f688ea3454109db2d736022f0c881b46302cc37bf45d78ebf3a" noinitrd vt.global_cursor_default=0 kern_guid=d3180eaa-798d-9c40-b8d6-381b96a4ca2f add_efi_memmap boot=local noresume noswap i915.modeset=1 ramoops.ecc=1 gsmi.s0ix_logging_enable=1 intel_pmc_core.warn_on_s0ix_failures=1  
Build Date: 08 April 2021  01:52:21PM
xorg-server 2:1.18.4-0ubuntu0.12 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.33.6
        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 Mar  8 19:07:59 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
(EE) 
Fatal server error:
(EE) no screens found(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) 
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files
(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
02tz commented 1 year ago

im so sorry for opening like 4 issues my crouton isnt working so well with me rn. i tried changing perms of the primary user and now i get an error getting to chroot "uid 1000 not found" because i thought me making the main user a sudoer made startxfce4 run like sudo startxfce4 im so dumb

02tz commented 1 year ago

deleted this entire chroot and now using focal this is getting outta hand