我想让我的计算机启动到 vt1 终端,但我自己并没有真正记录过这样做的过程。
所以它发生在启动过程中,它会加载技巧(我有日志但还没有检查过)。
它启动到 vt1 终端登录:
Password:
Last login: Tue Feb 11 12:56:27 EET 2014 on tty2
Linux debian 3.12-1-amd64 #1 SMP Debian 3.12.9-1 (2014-02-01) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
No mail.
Cannot open display "default display"
06.2.052
12:57:47
carl@debian:~$
然后我startx
立即输入 & cat /dev/vcs1
:
best_post_div: 12
Set CRTC 0 PLL success
Set CRTC Timing success
Set CRTC 0 Overscan success
Not using RMX
scaler 0 setup success
Set CRTC 0 Source success
crtc 0 YUV disable setup success
Output UNIPHY2 transmitter setup success
Output DIG0 encoder setup success
Output DIG0 encoder setup success
Output UNIPHY2 transmitter setup success
Output UNIPHY2 transmitter setup success
Output UNIPHY2 transmitter setup success
Output UNIPHY2 transmitter setup success
Enable CRTC 0 success
Enable CRTC memreq 0 success
Unblank CRTC 0 success
Output CRT1 disable success
Output UNIPHY0 transmitter setup success
Blank CRTC 1 success
Disable CRTC memreq 1 success
Disable CRTC 1 success
Dac detection success
我的意思是 - hp dv7 笔记本电脑(5 年旧款)本身就开始出现这种情况。我真的不介意这些情况,但我想停止在登录终端的第十行中收到消息:
无法打开显示“默认显示”
答案1
看来我安装 sid 的方式,之后它会启动到 vt1(可能是新的 debian 政策,不知道)。最后重新安装才发现这一点。
这两行导致.bashrc
了“无法打开显示”消息,所以我只是将其包装在if [ "$TERM" = "xterm" ]
语句中:
setxkbmap -layout "us,lt" -option "grp:alt_shift_toggle"
xset b off