sudo edit-chroot -all
chronos<strong i="7">@localhost</strong> / $ sudo edit-chroot -all
name: kali-rolling
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
crouton: version 1-20170901092920~master:0216f9d1
release: kali-rolling
architecture: amd64
xmethod: xorg
targets: xfce
host: version 9901.5.0 (Official Build) dev-channel relm
kernel: Linux localhost 3.18.0-16002-g2644da09535f #1 SMP PREEMPT Mon Sep 4 22:14:23 PDT 2017 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
name: xfce
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xfce...
/usr/local/bin/enter-chroot: 511: cannot create /run/crouton/mnt/stateful_partition/crouton/chroots/xfce/etc/crouton/name: Directory nonexistent
Unmounting /mnt/stateful_partition/crouton/chroots/xfce...
์ฌ๊ธฐ์๋ ๋ง์ ๋ฌธ์ ๊ฐ ์๋ ๊ฒ ๊ฐ์ต๋๋ค. ๋๋ ๋ด๊ฐ ์ฌ๋ฐ๋ฅธ ๋น๋ฐ๋ฒํธ์ ๋ชจ๋ ๊ฒ์ ์ ๋ ฅํ๊ณ ์๋ค๋ ๊ฒ์ ์๊ณ ์์ผ๋ฉฐ ๊ทธ๊ฒ์ ์ฒญ์ํ๋ ๊ฒ๊ณผ ํจ๊ป ๊ทธ๊ฒ์ ์์ฒ ๋ฒ ์ ๋ฐ์ดํธํ์ง๋ง ์ฑ๊ณตํ์ง ๋ชปํ์ต๋๋ค. ์ฌ์ ํ ๋ช ๋ น์ค(enter-chroot)์ ์ด ์ ์์ง๋ง ๊ทธ ์ ๋์ ๋๋ค. GalliumOS๋ฅผ ๋์ผ ๋ถํ ์ผ๋ก ๋ค์ด๋ก๋ํ๋ ๊ฒ๊ณผ ๊ด๋ จ์ด ์๋์ง ๊ถ๊ธํฉ๋๋ค(dev_boot_legacy ๋ช ๋ น์ผ๋ก ๊ป์์๋ ๋ถ๊ตฌํ๊ณ ). ํนํ ์ด์ ์ ์ด ๋์ผํ ์ฅ์น์์ ๋์ผํ ์ฌ์ฉ์์ ํจ๊ป ๋ค์ด๋ก๋ํ ์ ์ด ์๊ธฐ ๋๋ฌธ์ ๋ฌด์์ด ์๋ชป๋์๋์ง ๋ชจ๋ฅด๊ฒ ์ต๋๋ค(๋ฐฉ๊ธ ํ์์์ํ์ต๋๋ค.)
chronos<strong i="13">@localhost</strong> / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
/usr/bin/startxfce4: Starting X server
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X.Org X Server 1.19.3
Release Date: 2017-03-15
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-16002-g2644da09535f #1 SMP PREEMPT Mon Sep 4 22:14:23 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=8d604fd7-3aa1-5e43-82d2-76f129201e1d/PARTNROFF=1 hashtree=PARTUUID=8d604fd7-3aa1-5e43-82d2-76f129201e1d/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=4f2d44204e2e91bb3a444dbafe7229294ba0145e salt=71afe38f959fb4c13de4debffb2520ecc879bfe10ed1ecc1de971da2e132cdff" noinitrd vt.global_cursor_default=0 kern_guid=8d604fd7-3aa1-5e43-82d2-76f129201e1d 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:22:09AM
xorg-server 2:1.19.3-2 (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: Sun Sep 10 21:28:43 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/kali-rolling...
์, ์ฌ๊ธฐ์ ์กฐ๊ธ ๋ถ๋๋ฝ์ต๋๋ค. ๋๋ ํจ๊ณผ๊ฐ ์๋ค๊ณ ์๊ฐํ๋ ๋ช ๊ฐ์ง๋ฅผ ํ
์คํธํ๊ธฐ๋ก ๊ฒฐ์ ํ์ง๋ง(์๋ฌด๊ฒ๋ ์ป์ง ๋ชปํ์ ๊ฒ์ด๋ผ๊ณ ์๊ฐํจ) ๊ธฐ์ ์ ์ผ๋ก ๋ต์ ์ฐพ์์ต๋๋ค. Kali-Linux ์์ ํ๋ก๊ทธ๋จ์ด ์๋ ํด๋๋ /usr/bin/startxfce4์
๋๋ค. ์ฌ์ ํ chroot์ ์ก์ธ์คํ ์ ์์๊ธฐ ๋๋ฌธ์ ์์ํ๋ ๋ฐ ํ์ํ ๋จ๊ณ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
crosh> _์_
chronos@localhost / $ _sudo enter-chroot_
์
๋ ฅ /mnt/stateful_partition/crouton/chroots/kali-rolling...
(์นผ๋ฆฌ ๋กค๋ง) user@localhost :~$ _sudo su_
[sudo] ์ฌ์ฉ์ ๋น๋ฐ๋ฒํธ: _(ํจ์ค์ฝ๋ ์
๋ ฅ)_
(์นผ๋ฆฌ ๋กค๋ง) root@localhost :/home/user# _/usr/bin/startxfce4_
์ด๋ ๊ฒ ํ๋ฉด ํด๋๊ฐ ๊ฐ์ ๋ก ์ด๋ฆฌ๋ฏ๋ก Linux๊ฐ ์ด๋ฆฌ๊ฒ ๋ฉ๋๋ค. ๋ค๋ฅธ Chromebook๊ณผ ๋ค๋ฅธ ๋ฐฐํฌํ์ ์ฌ์ฉํ๋ ์น๊ตฌ์๊ฒ ์ด ๋จ๊ณ๋ฅผ ์ ๊ณตํ์ง๋ง ์ฌ์ ํ ์๋ํ์ต๋๋ค. ๊ทธ๋ "xfce4"๋ฅผ ์์ ์ ํ๊ฒฝ์ธ "kde"๋ก ๋ฐ๊พธ๊ธฐ๋ง ํ๋ฉด ๋์์ต๋๋ค.
์ด ๋ฌธ์ ๋ฅผ ์ ํ ์ฌ๋๋ค์ด ๋ต์ ์ฐพ์ ์ ์๊ธฐ๋ฅผ ๋ฐ๋๋๋ค.
@anonymouseprogrammer , _et all_ ,
์์ํ์ง ๋ง์ญ์์ค startxfce4
๋๋์ start*
๋ฃจํธ๋ก chroot ์์ ์คํฌ๋ฆฝํธ, ๊ทธ๊ฒ์ ๋น์ ์ ๊ถํ์ ํธ์คํ๊ณ ๋ง์ ๊ฒ๋ค์ด ๊ทธ ํ ์คํจํฉ๋๋ค.
๊ทธ๋ ๊ฒ ํ๋ค๋ฉด ๋ค์๊ณผ ๊ฐ์ด ๊ณ ์น ์ ์์ต๋๋ค.
sudo enter-chroot
sudo chown -R 1000:1000 "$HOME"
exit
์๋ ๋ฌธ์ ๋ 'xserver-xorg-legacy' ์ค์น๋ก ์ธํด ๋ฐ์ํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
์ด์ ๋ํ ํด๊ฒฐ ๋ฐฉ๋ฒ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. https://github.com/dnschneid/crouton/issues/3310#issuecomment -313692575
PR ์ด ์์ ์ค์ด์ง๋ง ์์ง ์น์ธ ๋ฐ ๋ณํฉ๋์ง ์์์ต๋๋ค.
๋์์ด ๋์๊ธฐ๋ฅผ ๋ฐ๋๋๋ค,
- ๋ฐ๋์ค์
Chromebook์์ Linux๋ฅผ ๋ถํ ํ๊ธฐ ์ํด sudo startxfce4๋ฅผ ์ํํ ๋๋ง๋ค ์ด๊ฒ์ ๋ด๊ฐ ๋ฐ๋ ์ค๋ฅ์ ๋๋ค. ๊ทธ ํ ๋ฉํฑ ํ๋ฉด์ด 2์ด ๋์ ์ด๋์์ง๊ณ Chrome ๋์๋ง๋ก ๋์๊ฐ๋๋ค.
chronos@localhost /usr/local $ sudo startxfce4
xenial์ ๋ํ ์ํธํ ์ํธ ์
๋ ฅ:
/mnt/stateful_partition/crouton/chroots/xenial ์
๋ ฅ ์ค...
/usr/bin/startxfce4: X ์๋ฒ ์์
X.Org X ์๋ฒ 1.19.6
์ถ์์ผ: 2017-12-20
X ํ๋กํ ์ฝ ๋ฒ์ 11, ๊ฐ์ ํ 0
๋น๋ ์ด์ ์ฒด์ : Linux 4.15.0-109-generic armv7l Ubuntu
ํ์ฌ ์ด์ ์ฒด์ : Linux localhost 3.8.11 #1 SMP Sun Jul 14 00:09:57 PDT 2019 armv7l
์ปค๋ ๋ช
๋ น์ค: cros_secure console= console= loglevel=7 init=/sbin/init cros_secure root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot ๊ฒ๋ RO๋์ง 1,0 2,539,520 ์ง์ค์ฑ ํ์ด๋ก๋ = PARTUUID = 922500af-600E-5c4b-998e-daf87f04a622 / PARTNROFF = 1 hashtree = PARTUUID = 922500af-600E-5c4b-998e-daf87f04a622 / PARTNROFF = 1 hashstart = 2,539,520 ALG = SHA1 root_hexdigest = 3bfc672b009a3247d3cd8399a74f96ac53188553 salt=306427720380043295ff7f5e5f7ef68a81138057901e316471bd1520719b78b2" noinitrd vt.global_cursor_default=0 kern-guid=9220500af-6
๋น๋ ๋ ์ง: 2020๋
9์ 4์ผ 03:36:48PM
xorg-server 2:1.19.6-1ubuntu4.1~16.04.4 (๊ธฐ์ ์ง์์ http://www.ubuntu.com/support ์ฐธ์กฐ)
ํฝ์ค๋งจ์ ํ์ฌ ๋ฒ์ : 0.33.6
๋ฌธ์ ๋ฅผ ๋ณด๊ณ ํ๊ธฐ ์ ์ http://wiki.x.org๋ฅผ ํ์ธํ์ญ์์ค.
์ต์ ๋ฒ์ ์ธ์ง ํ์ธํฉ๋๋ค.
๋ง์ปค: (--) ์กฐ์ฌ๋จ, (**) ๊ตฌ์ฑ ํ์ผ์์, (==) ๊ธฐ๋ณธ ์ค์ ,
(++) ๋ช
๋ น์ค์์, (!!) ์๋ฆผ, (II) ์ ๋ณด ์ ๊ณต,
(WW) ๊ฒฝ๊ณ , (EE) ์ค๋ฅ, (NI) ๊ตฌํ๋์ง ์์, (??) ์ ์ ์์.
(++) ๋ก๊ทธ ํ์ผ: "/tmp/Xorg.crouton.1.log", ์๊ฐ: 2020๋
10์ 22์ผ ๋ชฉ 22:21:25
(==) ์์คํ
๊ตฌ์ฑ ๋๋ ํ ๋ฆฌ "/usr/share/X11/xorg.conf.d" ์ฌ์ฉ
์ค๋ฅ org.freedesktop.DBus.Error.ServiceUnknown: .service ํ์ผ์์ org.chromium.LibCrosService ์ด๋ฆ์ ์ ๊ณตํ์ง ์์์ต๋๋ค.
๋ฉ์๋ ๋ฐํ ์๊ฐ=1603423285.559485 ๋ณด๋ธ ์ฌ๋=:1.9 -> ๋์=:1.89 ์ง๋ ฌ=4041 ์๋ต_์ง๋ ฌ=2
๋ถ์ธ ์ฐธ
MESA-LOADER: ์ฅ์น ์ ๋ณด๋ฅผ ๊ฒ์ํ์ง ๋ชปํ์ต๋๋ค.
gbm: ๋๋ผ์ด๋ฒ๋ฅผ ์ด์ง ๋ชปํ์ต๋๋ค(๊ฒ์ ๊ฒฝ๋ก /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri).
gbm: ๋ง์ง๋ง dlopen ์ค๋ฅ: /usr/lib/dri/exynos_dri.so: ๊ณต์ ๊ฐ์ฒด ํ์ผ์ ์ด ์ ์์ต๋๋ค: ํด๋น ํ์ผ ๋๋ ๋๋ ํฐ๋ฆฌ๊ฐ ์์ต๋๋ค
๋๋ผ์ด๋ฒ ๋ก๋ ์คํจ: exynos
EGL_MESA_drm_image๊ฐ ํ์ํฉ๋๋ค.
(EE)
์น๋ช
์ ์ธ ์๋ฒ ์ค๋ฅ:
(EE) ๋๋ผ์ด๋ฒ 1์ ๋ํ AddScreen/ScreenInit ์คํจ
(EE)
(EE)
The X.Org Foundation ์ง์ํ์ ๋ฌธ์ํ์ญ์์ค.
http://wiki.x.org์์
๋์์ฃผ๊ธฐ ์ํด.
(EE) ์ถ๊ฐ ์ ๋ณด๋ "/tmp/Xorg.crouton.1.log"์์ ๋ก๊ทธ ํ์ผ๋ ํ์ธํ์ญ์์ค.
(EE)
์ค๋ฅ org.freedesktop.DBus.Error.ServiceUnknown: .service ํ์ผ์์ org.chromium.LibCrosService ์ด๋ฆ์ ์ ๊ณตํ์ง ์์์ต๋๋ค.
๋ฉ์๋ ๋ฐํ ์๊ฐ=1603423286.048767 ๋ณด๋ธ ์ฌ๋=:1.9 -> ๋์=:1.91 ์ง๋ ฌ=4042 ์๋ต_์ง๋ ฌ=2
๋ถ์ธ ์ฐธ
(EE) ์๋ฒ๊ฐ ์ค๋ฅ (1)๋ก ์ข
๋ฃ๋์์ต๋๋ค. ๋ก๊ทธ ํ์ผ์ ๋ซ์ต๋๋ค.
/usr/bin/xinit: ํฌ๊ธฐ
/usr/bin/xinit: X ์๋ฒ์ ์ฐ๊ฒฐํ ์ ์์: ์ฐ๊ฒฐ์ด ๊ฑฐ๋ถ๋์์ต๋๋ค.
/usr/bin/xinit: ์๋ฒ ์ค๋ฅ
/mnt/stateful_partition/crouton/chroots/xenial ๋ง์ดํธ ํด์ ์ค...
๊ทธ๊ฒ์ ๋ฆฌ๋ ์ค์์ ๋ถํ ํ๊ณ ์ถ์ง ์๊ณ ํ๋ฉด์ ์ด๋ก๊ฒ ๋ง๋ ๋ค์ ์ข ๋ฃํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์, ์ฌ๊ธฐ์ ์กฐ๊ธ ๋ถ๋๋ฝ์ต๋๋ค. ๋๋ ํจ๊ณผ๊ฐ ์๋ค๊ณ ์๊ฐํ๋ ๋ช ๊ฐ์ง๋ฅผ ํ ์คํธํ๊ธฐ๋ก ๊ฒฐ์ ํ์ง๋ง(์๋ฌด๊ฒ๋ ์ป์ง ๋ชปํ์ ๊ฒ์ด๋ผ๊ณ ์๊ฐํจ) ๊ธฐ์ ์ ์ผ๋ก ๋ต์ ์ฐพ์์ต๋๋ค. Kali-Linux ์์ ํ๋ก๊ทธ๋จ์ด ์๋ ํด๋๋ /usr/bin/startxfce4์ ๋๋ค. ์ฌ์ ํ chroot์ ์ก์ธ์คํ ์ ์์๊ธฐ ๋๋ฌธ์ ์์ํ๋ ๋ฐ ํ์ํ ๋จ๊ณ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
crosh> _์_
chronos@localhost / $ _sudo enter-chroot_
์ ๋ ฅ /mnt/stateful_partition/crouton/chroots/kali-rolling...
(์นผ๋ฆฌ ๋กค๋ง) user@localhost :~$ _sudo su_
[sudo] ์ฌ์ฉ์ ๋น๋ฐ๋ฒํธ: _(ํจ์ค์ฝ๋ ์ ๋ ฅ)_
(์นผ๋ฆฌ ๋กค๋ง) root@localhost :/home/user# _/usr/bin/startxfce4_
์ด๋ ๊ฒ ํ๋ฉด ํด๋๊ฐ ๊ฐ์ ๋ก ์ด๋ฆฌ๋ฏ๋ก Linux๊ฐ ์ด๋ฆฌ๊ฒ ๋ฉ๋๋ค. ๋ค๋ฅธ Chromebook๊ณผ ๋ค๋ฅธ ๋ฐฐํฌํ์ ์ฌ์ฉํ๋ ์น๊ตฌ์๊ฒ ์ด ๋จ๊ณ๋ฅผ ์ ๊ณตํ์ง๋ง ์ฌ์ ํ ์๋ํ์ต๋๋ค. ๊ทธ๋ "xfce4"๋ฅผ ์์ ์ ํ๊ฒฝ์ธ "kde"๋ก ๋ฐ๊พธ๊ธฐ๋ง ํ๋ฉด ๋์์ต๋๋ค.
์ด ๋ฌธ์ ๋ฅผ ์ ํ ์ฌ๋๋ค์ด ๋ต์ ์ฐพ์ ์ ์๊ธฐ๋ฅผ ๋ฐ๋๋๋ค.