Mer与xbmc(三)

本文档详细介绍了在Mer的chroot环境下如何启动uxlaunch服务,包括直接启动uxlaunch.service服务和使用uxlaunch命令启动的步骤。在尝试启动过程中遇到了一些问题,如chroot环境下无法启动systemd服务,以及uxlaunch启动失败,提示缺少action,具体原因待查。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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启动失败的原因还不清楚

               

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值