收起左侧

fnOS v0.8.39安装了GNOME桌面,不能开机直接进入GNOME桌面

3
回复
868
查看
[ 复制链接 ]

0

主题

1

回帖

0

牛值

江湖小虾

2025-3-13 20:53:35 显示全部楼层 阅读模式
悬赏15飞牛币已解决

[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登录页面,麻烦各位大佬帮帮忙

收藏
送赞 1
分享

11

主题

146

回帖

0

牛值

初出茅庐

2025-3-13 20:53:36 显示全部楼层
参考这个大侠的帖子
https://www.geekxw.top/2504/

0

主题

1

回帖

0

牛值

江湖小虾

2025-3-16 13:15:17 楼主 显示全部楼层
麻烦知道的大佬回复一下

0

主题

10

回帖

0

牛值

江湖小虾

2025-3-26 16:40:16 显示全部楼层
需要编辑service文件,你用脚本自启也行,按帖子里说的
i7-8700K
DDR4 16Gx4
HDD 4Tx12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则