Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
/var/www/ で chroot を実行しますが、nano は機能しません。
バイナリを /var/www/bin にコピーし、ライブラリを /var/www/lib にコピーしました
しかし、ナノファイルのときにこのエラーが発生しました:
Error opening terminal: xterm.
私は何をすべきか
これは単なる推測ですがwhich xterm、chroot の外で実行してみて、chroot 内でバイナリにアクセスできることを確認してください。
which xterm
たとえば、私の Mac ではパスは次のとおりです。
bash-4.3$ which xterm /opt/X11/bin/xterm