我将oracle linux从版本6.10升级到7.6,完成操作后图形界面不会自动启动,必须使用startx手动启动。当获取服务状态时显示:
[root@TestDB ~]# systemctl status graphical.target
● graphical.target - Graphical Interface
Loaded: loaded (/usr/lib/systemd/system/graphical.target; enabled; vendor preset: disabled)
Active: active since Tue 2023-12-05 19:07:26 +03; 18h ago
Docs: man:systemd.special(7)
供应商预设: 即使在启用后也被禁用:
[root@TestDB ~]# systemctl enable graphical.target
[root@TestDB ~]# systemctl status graphical.target
● graphical.target - Graphical Interface
Loaded: loaded (/usr/lib/systemd/system/graphical.target; enabled; vendor preset: disabled)
Active: active since Tue 2023-12-05 19:07:26 +03; 18h ago
Docs: man:systemd.special(7)
当然运行级别是5:
#runlevel
N 5
问题是什么?