当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 16.04怎么设置才能默认进入字符界面?
帖子发表于 : 2016-05-16 9:23 
头像

注册: 2007-09-02 18:54
帖子: 180
地址: ghtxx.cn
送出感谢: 1
接收感谢: 0 次
电脑平时用字符界面,偶尔到机房才用一下图形界面,现在搜到的方法都不能修改成功,总是还会进入GUI,麻烦高手给个步骤,谢谢。

root@A8u16:~# vi /etc/default/grub
root@A8u16:~# update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-22-generic
Found initrd image: /boot/initrd.img-4.4.0-22-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Adding boot menu entry for EFI firmware configuration
done
root@A8u16:~# reboot


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 16.04怎么设置才能默认进入字符界面?
帖子发表于 : 2016-05-16 9:29 
头像

注册: 2011-03-20 13:12
帖子: 4522
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
检查目前状态
代码:
$ ls -l /lib/systemd/system/default.target
lrwxrwxrwx 1 root root 16 May 12 16:05 /lib/systemd/system/default.target -> graphical.target


设置为默认启动字符界面
代码:
systemctl set-default multi-user.target


返回默认启动图形界面
代码:
systemctl set-default graphical.target


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户



_________________
评价: 3.7% JarodLee
 
页首
 用户资料  
 
3 楼 
 文章标题 : Re: 16.04怎么设置才能默认进入字符界面?
帖子发表于 : 2016-05-16 9:33 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
http://askubuntu.com/questions/215089/s ... sing-grub2
Starting Linux in text mode using Grub2

http://askubuntu.com/questions/158551/a ... -grub-menu
Add console/text booting mode to grub menu

http://askubuntu.com/questions/114123/h ... nsole-mode
how can i create a menu entry for GRUB which boots ubuntu in console mode?

http://askubuntu.com/questions/307719/c ... en-to-text
change gui boot screen to text


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 16.04怎么设置才能默认进入字符界面?
帖子发表于 : 2016-05-16 15:22 
头像

注册: 2007-09-02 18:54
帖子: 180
地址: ghtxx.cn
送出感谢: 1
接收感谢: 0 次
谢谢两位兄弟的帮助,解决了,
问一下,改成字符模式启动后是不是不能使用xrdp服务了?一登录就显示为crash

附上.xsession-errors
Xsession: X session started for at 2016年 05月 16日 星期一 09:43:14 CST
2 X Error of failed request: BadValue (integer parameter out of range for operation)
3 Major opcode of failed request: 109 (X_ChangeHosts)
4 Value in failed request: 0x5
5 Serial number of failed request: 6
6 Current serial number in output stream: 8
7 localuser:root being added to access control list
8 X Error of failed request: BadValue (integer parameter out of range for operation)
9 Major opcode of failed request: 109 (X_ChangeHosts)
10 Value in failed request: 0x5
11 Serial number of failed request: 6
12 Current serial number in output stream: 8
13 openConnection: connect: 没有那个文件或目录
14 cannot connect to brltty at :0
15 (INFO-4177 /build/fcitx-J2yftF/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-xkbdb 15 us.conf


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 16.04怎么设置才能默认进入字符界面?
帖子发表于 : 2016-05-16 17:01 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
引用:
xrdp 服务

http://manpages.ubuntu.com/manpages/xen ... rdp.8.html
xrdp - a Remote Desktop Protocol (RDP) server
xrdp will not display a Windows desktop but an X window desktop to the user.
xrdp 需要 X window desktop 支援


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译