linux ubuntu 11.10 开机进入命令行 设置过程
来源:互联网 发布:淘宝客赚钱么 编辑:程序博客网 时间:2024/05/16 01:01
Is it possible to disable GUI / X at boot time? So many Ubuntu 11.10 Desktop edition users are asking the same question. On my ubuntu machine I have done following steps to disable GUI boot in ubuntu 11.10
Step 1 First update your repository byrunning
sudo apt-get update
Step 2 There is some bug in old version of lightdm, so we need to upgrade the same. To do so run,
sudo apt-get install lightdm
Step 3 Now we have to modify grub config.
Step 3a Open /etc/default/grub with your faviourite editor and change
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to
GRUB_CMDLINE_LINUX_DEFAULT="text"
Step 3b Also comment GRUB_HIDDEN_TIMEOUT=0 This line is for unhiding the GRUB menu
Step 4 Now we will upgrade GRUB configuration
sudo update-grub
Step 5 Ubuntu 11.10 Desktop edition use lightdm for GUI. We need to disable the same
sudo update-rc.d -f lightdm remove
Step 6 Now restart your machine. Voilla you will be in console mode
At any time you need after booting your system you want to change to gui mode the run
startx
If you want to restore Ubuntu’s GUI mode then
Open /etc/default/grub with your faviourite editor and change
GRUB_CMDLINE_LINUX_DEFAULT="text"
to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Update GRUB by running
sudo update-grub
To restore lightdm run
sudo update-rc.d lightdm defaults
That’s it
- linux ubuntu 11.10 开机进入命令行 设置过程
- 如何设置Ubuntu开机进入命令行?
- ubuntu设置开机进入命令行界面
- Linux centOS7 开机设置进入命令行
- Ubuntu开机进入命令行
- Ubuntu 开机进入命令行
- 设置开机进入命令行
- Ubuntu实现开机进入命令行
- ubuntu开机直接进入命令行
- ubuntu开机进入命令行界面
- ubuntu开机直接进入命令行
- ubuntu开机直接进入命令行
- Ubuntu开机进入命令行模式
- Ubuntu 开机进入命令行模式
- linux centos7 redhat7 怎么设置开机自动进入命令行模式
- Ubuntu 开机自动进入命令行模式
- Ubuntu 10.04 开机默认进入命令行模式
- Ubuntu 10.04 开机默认进入命令行模式
- IOS 制作证书,推送 , 打包发布
- IOS仿网易新闻客户端左右侧栏
- 【leetcode】Single Number
- tasklet-内核机制
- 【Android】为Android虚拟机创建SDCard
- linux ubuntu 11.10 开机进入命令行 设置过程
- (贪心5.2.4)ZOJ 1360 Radar Installation(对有序化数据进行贪心选择)
- VC与Matlab混合编程(在VC中调用DLL) .
- 深度包检测
- C语言小程序(131114)
- java jdbc连接数据库的 3 种方式
- 设置默认信息的方法
- 描述在浏览器中敲入一个网址并按下回车后所发生的事情(尽量详细)
- 输出以个小于1万亿的正整数的拼音读法