[i=s] 本帖最后由 runeva 于 2025-3-14 17:57 编辑 [/i]<br />
<br />
大佬,我的笔记本安装了fnOS v0.8.39,并且已经开启了SSH服务,使用sudo apt install task-gnome-desktop安装了GNOME桌面。可以通过sudo systemctl start gdm进入GNOME桌面,但是使用sudo systemctl set-default graphical.target设置开机启动GNOME桌面,不能生效,不能进入GNOME登录页面!使用sudo systemctl enable gdm 命令,报错如下
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.
每次开机都需要sudo systemctl start gdm进入GNOME桌面很不方便,我想开机直接进入GNOME登录页面,麻烦各位大佬帮帮忙 |