sudo startkde
使用我一直使用的命令后,我的 KDE 没有启动,现在它不工作了......
输出如下
chronos@localhost / $ sudo startkde
Entering /mnt/stateful_partition/crouton/chroots/saucy...
Unknown username "whoopsie" in message bus configuration file
X.Org X Server 1.14.6
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Thu Feb 5 20:32:47 PST 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=043bcab0-1025-3e40-b108-a02541d36d19/PARTNROFF=1 hashtree=PARTUUID=043bcab0-1025-3e40-b108-a02541d36d19/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=fc1594ab211590d43d302cfb2fcb7ef567575211 salt=6f7abcac9e9a8bc67f0af849a4f05c0877bd62c2a61efde0bcb2887a186ab83c" noinitrd vt.global_cursor_default=0 kern_guid=043bcab0-1025-3e40-b108-a02541d36d19 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 01 May 2014 09:47:30PM
xorg-server 2:1.14.6-0ubuntu1 (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: Tue Feb 17 16:31:57 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
setversion 1.4 failed
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 SELinux
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
/bin/sh: 0: Can't open /usr/bin/startkde
Running exit commands...
/usr/bin/xinit: connection to X server lost
waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file.
Unmounting /mnt/stateful_partition/crouton/chroots/saucy...
答案1
嗯,startkde 位于/usr/local/bin/startkde
chroot ( /usr/local/chroots/CHROOTNAME/usr/local/bin/startkde
) 但 crouton 启动脚本尝试运行/usr/bin/startkde
。
这就可以解释/bin/sh: 0: Can't open /usr/bin/startkde
尝试这个:sudo enter-chroot -t kde xinit /usr/local/bin/startkde
如果可行,则问题出在启动脚本上。要永久修复此问题,请sudo sed -i 's/\/usr\/bin\/startkde/\/usr\/local\/bin\/startkde/g' /usr/local/bin/startkde
从 chroot 外部运行。