(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 @ 2016-04-07 10:55  张同光  阅读(101)  评论(0编辑  收藏  举报