do_menuconfig: No valid terminal found, unable to open devshell.

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

现在显示就正常了。

应该是环境被破坏了。我太惨了。

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值