- 论坛徽章:
- 0
|
NetBSD2.0不安装X情况下,启动好了以后不知道怎么切换用户,我安装官方的方法配置/etc/wscons.conf和/etc/ttys.內容如下
- # $NetBSD: wscons.conf,v 1.10.4.1 2004/07/10 12:51:23 tron Exp $
- #
- # workstation console configuration
- # fonts to load
- # name width height enc file
- font ibm - 8 ibm /usr/share/wscons/fonts/vt220l.808
- # Note: "pcvt" encoded fonts are only useful with the "*bf" screen types
- # of the "vga" driver. The kernel must be compiled with the option
- # "WSCONS_SUPPORT_PCVTFONTS" turned on. See vga(4).
- #font pcvt - - pcvt /usr/share/wscons/fonts/vt220h.816
- #font pcvt - 8 pcvt /usr/share/wscons/fonts/vt220h.808
- # screens to create
- # idx screen emul
- # Screen 0 is already configured as console in most cases.
- # Uncomment if a serial console is used.
- #screen 0 - vt100
- screen 1 - vt100
- screen 2 - vt100
- screen 3 - vt100
- screen 4 - vt100
- #screen 4 80x25bf vt100
- # Note: You must uncomment the 'font ibm' line above to get a useful
- # font for any 50 line screens.
- screen 5 80x50 vt100
- keyboard auto
- # Select a kernel builtin keyboard map by uncommenting the following line and
- # altering the country code to your requirements
- # (choose from user, us, uk, de, dk, it, fr, jp, sv, no, es, pt).
- # See wsconsctl(8), pckbd(4), ukbd(4) etc. for more details.
- encoding us
- # Redefine individual keys from a file containing "keysym" and/or "keycode"
- # entries.
- # See wsconsctl(8) for more details.
- #mapfile /usr/share/wscons/keymaps/pckbd.sv.svascii
复制代码
- #
- # from: @(#)ttys 5.1 (Berkeley) 4/17/89
- # $NetBSD: ttys,v 1.17 2003/10/04 07:41:12 dsl Exp $
- #
- # name getty type status comments
- #
- console "/usr/libexec/getty Pc" vt100 on secure
- ttyE0 "/usr/libexec/getty Pc" vt220 off secure
- ttyE1 "/usr/libexec/getty Pc" vt220 on secure
- ttyE2 "/usr/libexec/getty Pc" vt220 on secure
- ttyE3 "/usr/libexec/getty Pc" vt220 on secure
- ttyE4 "/usr/libexec/getty Pc" vt220 on secure
- ttyE5 "/usr/libexec/getty Pc" vt220 off secure
- tty00 "/usr/libexec/getty std.9600" unknown off secure
- tty01 "/usr/libexec/getty std.9600" unknown off secure
- tty02 "/usr/libexec/getty std.9600" unknown off secure
- tty03 "/usr/libexec/getty std.9600" unknown off secure
- tty04 "/usr/libexec/getty std.9600" unknown off secure
- tty05 "/usr/libexec/getty std.9600" unknown off secure
- tty06 "/usr/libexec/getty std.9600" unknown off secure
- tty07 "/usr/libexec/getty std.9600" unknown off secure
复制代码
如果把ttyE0设成off的话启动的时候怎么也登陆不进去,还会提示超时
而且,我后来装了XFCE4,不知道是不是被X占了ttyE0呢?
请高人指点  |
|