[deepin exploration] 如何启动进入控制台,而不是运行DisplayManager
Tofloor
poster avatar
guyuming
deepin
2024-08-05 14:23
Author

在V20和V23里,如何设置开机后不启动DisplayManager(据说是LightDM),而是之间进控制台命令行。

进入命令行后,又用啥命令可以启动桌面环境?

Reply Favorite View the author
All Replies
Free_Aaron.Li
deepin
2024-08-05 14:36
#1

https://www.cnblogs.com/bibibobobaoxiang/p/18144631

Reply View the author
guyuming
deepin
2024-08-05 15:19
#2

谢谢, sudo systemctl set-default multi-user.target 命令执行后重启系统进入了 tty

但startx命令说是找不到,我少装了啥包?

sudo init 5 可以进入图形桌面,但是它似乎重启了系统,并仍然调用全屏的DisplayManager.

我是希望在进入tty后,先启动一个平铺的wayland compositor DWL, 然后用Xwayland rootful 模式启动X和DeepIn,作为一个窗口运行在DWL里, 类似我在DWL 里面运行DWM: https://gitee.com/guyuming76/dwl/raw/fcitx-handwrite/20240801_22h24m41s_grim.png

Reply View the author
guyuming
deepin
2024-08-05 15:58
#3

我 sudo apt install xinit 后, startx 命令能找到了,但startx启动后屏幕一片黑

Reply View the author
观摩
deepin
2024-08-05 16:10
#4

以前用UOS 学到的、试试看

# 默认命令行
sudo systemctl set-default multi-user.target

# 默认图形界面
sudo systemctl set-default graphical.target
Reply View the author
guyuming
deepin
2024-08-05 17:31
#5

xorg log: https://pastebin.com/DGq4AYGy

我开了个新帖子: https://bbs.deepin.org/post/276109?id=276109

Reply View the author
okk~
deepin
2024-08-07 22:53
#6
Reply View the author