1. 在Mer的chroot环境下,用开启uxlaunch服务:
(1.1)直接启动uxlaunch.service服务:
Running in chroot, ignoring request.
【注】chroot环境下好像还是不能启动systemd的服务,原因还不清楚
(1.2)用uxlaunch命令启动
(1.2.1)首先开启一些dbus相关的服务,以及配置一下uxlaunch
(1.2.2)uxlaunch
uxlaunch[2228]: uxlaunch v0.64 started.
uxlaunch[2228]: user "root", tty #1, session "XBMC"
uxlaunch[2228]: VT_GETSTATE failed
uxlaunch[2228]: Xauth cookie file: /var/run/uxlaunch/Xauth-root-LORfmW
uxlaunch[2228]: pam_unix(login:session): session opened for user root by (uid=0)
missing action
uxlaunch[2228]: Failed to fix /dev/tty permission
uxlaunch[2228]: Failed to opendir("/sys/class/backlight")
uxlaunch[2228]: Unable to setsid()
/root/.bashrc: line 14: /tmp/session_bus_address.user: No such file or directory
uxlaunch[2228]: Started Xorg[2248]
uxlaunch[2248]: starting X server with: "/usr/bin/Xorg :0 -logfile /root/.Xorg.0.log -nolisten tcp -noreset -auth /root/
.Xauthority vt1"
uxlaunch[2228]: Session filter key = "XBMC"
uxlaunch[2228]: Session program = "xbmc --no-test"
uxlaunch[2228]: launching session bus: dbus-daemon --fork --session --print-pid 6 --print-address 8
uxlaunch[2228]: Error starting session dbus-daemon... dbus may not be functional
uxlaunch[2228]: autostart directory "/root/.config/autostart" not found
uxlaunch[2228]: do_timeout: done after 1.4secs
uxlaunch[2229]: Failed to write oom_core_dj score file: /proc/2248/oom_score_adj
uxlaunch[2228]: process 2259 exited with exit code 132
uxlaunch[2228]: Session process [2259] exited, cleaning up
uxlaunch[2229]: Failed to write oom_core_dj score file: /proc/2259/oom_score_adj
uxlaunch[2229]: Failed to write oom_core_dj score file: /proc/2228/oom_score_adj
uxlaunch[2228]: process 2248 exited with exit code 0
uxlaunch[2228]: Xorg[2248] exited, cleaning up
uxlaunch[2228]: Unable to open /dev/console, using stdin
uxlaunch[2228]: pam_unix(login:session): session closed for user root
uxlaunch[2228]: Terminating uxlaunch and all children
Killed
/tango #
/tango # missing action
【注】从上面的log,目前导致uxlauch启动失败的原因还不清楚