<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; centos禁用图形界面</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/centos%E7%A6%81%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%95%8C%E9%9D%A2/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CentOS 6.0禁止图形界面登录</title>
		<link>https://www.osyunwei.com/archives/188.html</link>
		<comments>https://www.osyunwei.com/archives/188.html#comments</comments>
		<pubDate>Fri, 21 Oct 2011 17:10:22 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[centos禁用图形界面]]></category>
		<category><![CDATA[图形界面]]></category>

		<guid isPermaLink="false">http://w66416.s75.chinaccnet.cn/?p=188</guid>
		<description><![CDATA[引言：     现在的linux安装完成后，默认就运行在第5个系统运行级别，即系统启动后直接进入图形界面，     而不用在字符模式下登录后用startx或者xinit 来起动图形界面，这样看起来很方便。     但是有什么坏处呢？　一旦你改变了某些设置，显示出问题的时候，系统不断在图形和字符间派徊，     新手又不知道如何应对，十分麻烦，而且对于学习研究Linux的人来说，这样不利于了解和学习Linux底层的一些东西。     很早就用Linux的老用户都知道，过去的Linux如 redhat6.0，都是默认运行接别为3，     即使后来的RedHat9.0也可以在安装时候选默认字符登录还是图形登录。     但现在的FC系列和其他大多数版本都不管三七二十一直接帮用户选择了直接图形界面登录。     虽然对于大多数菜鸟来说，Linux确实越来越简单了，但是很多乐趣，那些新手也体验不到了。     也许你不相信，直接图形登录到系统确实会有很多问题，建议在系统安装完成后把系统的默认运行等级设置在第3级，     在字符终端登录后，再手工输入startx 命令起动图形界面。     系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 常用的为0-6七个级别: 0　关机 1　单用户 2　不带网络的多用户 3　带网络的多用户 4　保留，用户可以自给定义 5　图形界面的多用户 6　重起系统 ================================================================================= 可以用如下的方法修改： 编辑器修改　/etc/inittab文件 修改之前先做备份： 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 不同运行级别之间的差别的在于系统默认起动的服务的不同，如运行级别3默认不启动X图形界面服务，而运行级别5 却默认起动。 本质上是没有区别的，更无所谓不同级别间功能强弱的问题。 用户完全可自给定义不同级别的默认服务。 在任何运行级别，用户都可用init 命令来切换到其他运行级别 &#160;&#160;&#160;&#160;&#160;» 本文链接：https://www.osyunwei.com/archives/188.html» 订阅本站：https://www.osyunwei.com/feed» 转载请注明来源：系统运维 » CentOS [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/188.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/188.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
