Currently 1 running tasks (609 of 610) 99% |##################################################################################################################################################################################################################### |
0: linux-xxx-6.6.2+git-r0 do_menuconfig - 0s (pid 215)
Trying to run: tmux att -t devshell-215
directory /tmp/tmux-0 has unsafe permissions
Trying to run: tmux att -t devshell-215
directory /tmp/tmux-0 has unsafe permissions
Trying to run: tmux att -t devshell-215
directory /tmp/tmux-0 has unsafe permissions
Trying to run: tmux att -t devshell-215
directory /tmp/tmux-0 has unsafe permissions
Keyboard Interrupt, closing down...
WARNING: linux-xxx-6.6.2+git-r0 do_menuconfig: Terminal tmux is supported but did not start
ERROR: linux-xxx-6.6.2+git-r0 do_menuconfig: No valid terminal found, unable to open devshell.
Tried the following commands:
tmux split-window -c "{cwd}" "do_terminal"
tmux new-window -c "{cwd}" -n "linux-sqn Configuration" "do_terminal"
xfce4-terminal -T "linux-sqn Configuration" -e "do_terminal"
terminology -T="linux-sqn Configuration" -e do_terminal
mate-terminal --disable-factory -t "linux-sqn Configuration" -x do_terminal
konsole --separate --workdir . -p tabtitle="linux-sqn Configuration" -e do_terminal
gnome-terminal -t "linux-sqn Configuration" -- do_terminal
xterm -T "linux-sqn Configuration" -e do_terminal
urxvt -T "linux-sqn Configuration" -e do_terminal
rxvt -T "linux-sqn Configuration" -e do_terminal
tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal"
screen -D -m -t "linux-sqn Configuration" -S devshell do_terminal
ERROR: Logfile of failure stored in: /yoctodev/build_eth_2G/tmp/work/xxxyyy2_base_eth-cattle-linux/linux-sqn/6.6.2+git/temp/log.do_menuconfig.215
ERROR: Task (/yoctodev/yocto/yocto/meta-kkk/recipes-kernel/linux/linux-xxx_6.6.bb:do_menuconfig) failed with exit code '1'
尝试装xfce4-terminal,display根本没有
root@8bdc08bb9208:/yoctodev/build_eth_2G# xfce4-terminal -T "linux-xxx Configuration" -e "do_terminal"
(xfce4-terminal:4647): Gtk-WARNING **: 10:53:08.233: cannot open display:
root@8bdc08bb9208:/yoctodev/build_eth_2G# echo $DISPLAY
root@8bdc08bb9208:/yoctodev/build_eth_2G# export DISPLAY=:0
root@8bdc08bb9208:/yoctodev/build_eth_2G# echo $DISPLAY
:0
root@8bdc08bb9208:/yoctodev/build_eth_2G# xfce4-terminal -T "linux-xxx Configuration" -e "do_terminal"
(xfce4-terminal:4649): Gtk-WARNING **: 10:54:35.177: cannot open display: :0
也就screen能稍微用一下,menuconfig巨丑,咱就是说主打一个能用就行吧
研究来忽然看到
“WARNING: Tmux started. Please connect in another terminal with tmux att -t devshell-4830
WARNING: linux-xxx-6.6.2+git-r0 do_menuconfig: Terminal tmux is supported but did not start”
解决办法:
export TMUX=/tmp/tmux-0/default,6259,0
现在显示就正常了。
应该是环境被破坏了。我太惨了。