RT,按照这个方法在temrux proot上面开启xfce。
https://zhuanlan.zhihu.com/p/666011120
但是没有任何画面。xfce启动成功,但是没有任何输出日志:
proot-distro login debian --user user --shared-tmp
user@localhost:~$ export DISPLAY=:0
user@localhost:~$ dbus-launch --exit-with-session startxfce4 &
[1] 9938
user@localhost:~$ /usr/bin/startxfce4: X server already running on display :0
ps查看一下发现xfce进程在,但是就是没有反应:
user@localhost:~$ /usr/bin/startxfce4: X server already running on display :0
ps -a
PID TTY TIME CMD
9652 pts/0 00:00:00 main
9710 pts/0 00:00:22 proot
9885 pts/0 00:00:00 bash
9938 pts/0 00:00:00 sh
9941 pts/0 00:00:00 dbus-launch
9950 pts/0 00:00:00 systemctl
10017 pts/0 00:00:00 xfce4-session
10029 pts/0 00:00:00 dbus-launch
10065 pts/0 00:00:00 xfce4-session
10076 pts/0 00:00:00 dbus-launch
10084 pts/0 00:00:00 ps
正常情况下的xfce应该是持续输出像这样: