linux ubuntu 11.10 开机进入命令行 设置过程
2013-10-10 23:36
218 查看
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 by
running
Step 2 There is some bug in old version of lightdm, so we need to upgrade the same. To do so run,
Step 3 Now we have to modify grub config.
Step 3a Open /etc/default/grub with your faviourite editor and change
to
Step 3b Also comment GRUB_HIDDEN_TIMEOUT=0 This line is for unhiding the GRUB menu
Step 4 Now we will upgrade GRUB configuration
Step 5 Ubuntu 11.10 Desktop edition use lightdm for GUI. We need to disable the same
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
If you want to restore Ubuntu’s GUI mode then
Open /etc/default/grub with your faviourite editor and change
to
Update GRUB by running
To restore lightdm run
That’s it
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 by
running
sudo apt-get update |
sudo apt-get install lightdm |
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 |
sudo update-rc.d -f lightdm remove |
At any time you need after booting your system you want to change to gui mode the run
startx |
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 |
sudo update-rc.d lightdm defaults |
相关文章推荐
- 【Ubuntu14.04.1】设置开机进入命令行模式
- Ubuntu 16.04开机进入命令行(tty1)+分辨率调节+字体颜色设置+中文乱码解决(解决虚拟终端Ctrl+Alt+F1分辨率太大)
- ubuntu12.04设置开机进入命令行
- 设置开机进入命令行
- CentOS6.8设置开机直接进入命令行模式
- 如何设置Ubuntu开机进入命令行?
- opensuse42.2和centos7设置开机进入命令行界面和切换命令行界面和图形界面
- CentOS 7 设置开机直接进入命令行界面
- 嵌入式Linux基础知识5(ubuntu16”命令行模式和图形界面切换“ “开机自动进入命令行模式设置”)
- ubuntu如何设置开机启动进入命令行界面
- Fedora-设置开机启动进入命令行
- ubuntu设置开机进入命令行界面
- linux centos7 redhat7 怎么设置开机自动进入命令行模式
- Linux 开机启动方式设置 inittab 详解,开机直接进入“命令行”模式
- win8开机进桌面 win8能设置开机直接进入桌面实现方法
- 通过 Visual Studio 对 SQL Server 中的存储过程设置断点并进入存储过程对其进行调试
- 关于linux 的远程连接操作,开机启动到命令行,及securecrt中文显示的一些设置。
- Ubuntu 开机进入命令行
- ubuntu系统设置开机启动进入文本模式
- Ubuntu设置开机默认进入字符界面