(OK) install-fedora23—gnome classic—dnf—gdm—multi-user—graphical

Fedora-Server-DVD-x86_64-23.iso


after installed, login, then in CLI

dnf grouplist -v
dnf groupinstall "Fedora Workstation"


OR
dnf groupinstall workstation-product-environment
dnf groupinstall 'MATE Desktop'


[root@localhost 桌面]# less /etc/inittab
# inittab is no longer used.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /usr/lib/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To view current default target, run:
# systemctl get-default
#
# To set a default target, run:
# systemctl set-default TARGET.target




systemctl get-default
systemctl set-default multi-user.target
systemctl set-default graphical.target


[root@localhost 桌面]# systemctl set-default graphical.target
Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/graphical.target.
[root@localhost 桌面]#


gnome classic


dnf install dconf-editor
dconf-editor set “org > gnome > desktop > session“ session-name 'gnome-fallback'

gsettings set org.gnome.desktop.session session-name 'gnome-fallback'



[root@localhost 桌面]# ll /usr/share/xsessions/
总用量 24
-rw-r--r--. 1 root root 7494 1月   9 17:46 gnome-classic.desktop
-rw-r--r--. 1 root root 7551 11月  6 23:34 gnome.desktop
-rw-r--r--. 1 root root 6915 12月  5 05:45 mate.desktop
[root@localhost 桌面]#


[root@localhost 桌面]# systemctl status lightdm.service
[root@localhost 桌面]# systemctl status gdm.service

----------------------------------------------
to replace gdm with lightdm on Fedora
yum install lightdm lightdm-gtk
systemctl disable gdm.service
systemctl enable lightdm.service
----------------------------------------------


auto log-in gnome classic desktop :
    sudo apt-get install gnome-session-fallback
    sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-classic

Run the following in a gome-terminal:
    If you want GNOME Classic with effects:
    sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-classic
    If you want GNOME Classic without effects:
    sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-fallback


posted @   张同光  阅读(101)  评论(0编辑  收藏  举报
编辑推荐:
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
点击右上角即可分享
微信分享提示