chyyuu / os_kernel_lab

OS kernel labs based on Rust/C Lang & RISC-V 64/X86-32
https://rcore-os.github.io/rCore-Tutorial-Book-v3/index.html
GNU General Public License v3.0
3.96k stars 1.92k forks source link

无图形化Ubuntu #81

Closed ArcherJo closed 4 years ago

ArcherJo commented 4 years ago

我使用的是无图形化的Ubuntu18

lab1时,在终端输入make lab1-mon 出现下列报错:

root@******:~/ucore_os_lab/labcodes_answer/lab1_result# make lab1-mon 
/bin/sh: 1: gnome-terminal: not found
Makefile:202: recipe for target 'lab1-mon' failed
make: *** [lab1-mon] Error 127

请问是因为无法建立新终端的问题么

ArcherJo commented 4 years ago

我注意到文档有说默认为图形化系统,因此我猜测

Makefile:217 TERMINAL    :=gnome-terminal

也许是这里需要更改。 我知道这个意思应该是新弹出一个终端,但我没有gnome的桌面,应该运行什么命令呢?