• (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


  • 相关阅读:
    PHP数组、函数
    PHP 基本内容
    Swift基础--tableview练习
    iOS 协议delegate分六步
    UI09_UITableView 使用 单例
    css清除浮动float的三种方法总结,为什么清浮动?浮动会有那些影响?一起来$('.float')
    CSS 如何使DIV层水平居中
    HTML转义字符大全
    jQuery选择器总结
    jQuery 学习笔记_01
  • 原文地址:https://www.cnblogs.com/ztguang/p/12646958.html
Copyright © 2020-2023  润新知