zoukankan      html  css  js  c++  java
  • (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


  • 相关阅读:
    SpringMVC之数据处理及跳转
    SpringMVC之控制器Controller和RestFul风格
    第一个SpringMVC程序
    什么是SpringMVC
    Spring声明式事务
    【嘎】字符串-反转字符串
    【嘎】字符串-字符串中的单词数
    【嘎】二叉树-226. 翻转二叉树
    【嘎】数组-面试题 01.07. 旋转矩阵-看题解
    【嘎】字符串-统计位数为偶数的数字
  • 原文地址:https://www.cnblogs.com/ztguang/p/12646958.html
Copyright © 2011-2022 走看看