Fedora 20_x86_64将默认图形模式切换到默认文本模式
2014-03-31 16:16
471 查看
[root@localhost ~]# cat /etc/inittab
# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/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 set a default target, run:
#
# ln -sf /lib/systemd/system/<target name>.target /etc/systemd/system/default.target
#
[root@localhost ~]# cd /etc/systemd/system
[root@localhost system]# ln -s /etc/systemd/system/default.target
0 lrwxrwxrwx. 1 root root 37 Mar 31 16:02 default.target -> /lib/systemd/system/graphical.target
[root@localhost system]#
[root@localhost system]# ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
ln: failed to create symbolic link ?.etc/systemd/system/default.target?. File exists
[root@localhost system]# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
[root@localhost system]# ls -l /lib/systemd/system/default.target
lrwxrwxrwx. 1 root root 16 Mar 31 09:45 /lib/systemd/system/default.target -> graphical.target
[root@localhost system]# ln -sf /lib/systemd/system/multi-user.target /lib/systemd/system/default.target
[root@localhost system]# reboot
# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/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 set a default target, run:
#
# ln -sf /lib/systemd/system/<target name>.target /etc/systemd/system/default.target
#
[root@localhost ~]# cd /etc/systemd/system
[root@localhost system]# ln -s /etc/systemd/system/default.target
0 lrwxrwxrwx. 1 root root 37 Mar 31 16:02 default.target -> /lib/systemd/system/graphical.target
[root@localhost system]#
[root@localhost system]# ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
ln: failed to create symbolic link ?.etc/systemd/system/default.target?. File exists
[root@localhost system]# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
[root@localhost system]# ls -l /lib/systemd/system/default.target
lrwxrwxrwx. 1 root root 16 Mar 31 09:45 /lib/systemd/system/default.target -> graphical.target
[root@localhost system]# ln -sf /lib/systemd/system/multi-user.target /lib/systemd/system/default.target
[root@localhost system]# reboot
相关文章推荐
- fedora图形界面与命令行模式切换方法
- 在CentOS图形界面模式与文本运行模式间切换
- 在CentOS图形界面模式与文本运行模式间切换
- Red Hat Linux 9中文本模式与图形模式的切换
- 快速在CentOS图形界面模式与文本运行模式间切换
- Fedora如何设置启动默认进入文本模式
- Linux的图形模式和文本模式以及单用户模式切换
- Fedora如何设置启动默认进入文本模式
- Fedora如何设置启动默认进入文本模式
- Red Hat Linux 9中文本模式与图形模式的切换
- VirtualBox的Linux虚拟机文本模式和图形模式的切换
- fedora20安装后解更新或者安装软件的时候出现的 获取 GPG 密钥失败 Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
- Linux 图形 文本模式的切换
- fedora18 startx如何显示中文界面及文本模式和窗口模式切换
- linux启动文本模式与图形模式的切换
- Fedora-20-x86_64-DVD.torrent
- VirtualBox的Linux虚拟机文本模式和图形模式的切换问题
- fedora20(x86_64)下安装apache httpd
- linux切换文本-图形模式
- Fedora15 默认OpenJDK与SunJDK互相切换