免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1539 | 回复: 0
打印 上一主题 下一主题

[NetBSD] NetBSD不能使用Ctrl+Alt+Fn切换屏幕 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-12 18:34 |只看该作者 |倒序浏览
NetBSD2.0不安装X情况下,启动好了以后不知道怎么切换用户,我安装官方的方法配置/etc/wscons.conf和/etc/ttys.內容如下

  1. #       $NetBSD: wscons.conf,v 1.10.4.1 2004/07/10 12:51:23 tron Exp $
  2. #
  3. # workstation console configuration

  4. # fonts to load
  5. #       name    width   height  enc     file
  6. font    ibm     -       8       ibm     /usr/share/wscons/fonts/vt220l.808

  7. # Note: "pcvt" encoded fonts are only useful with the "*bf" screen types
  8. #  of the "vga" driver. The kernel must be compiled with the option
  9. #  "WSCONS_SUPPORT_PCVTFONTS" turned on. See vga(4).
  10. #font   pcvt    -       -       pcvt    /usr/share/wscons/fonts/vt220h.816
  11. #font   pcvt    -       8       pcvt    /usr/share/wscons/fonts/vt220h.808

  12. # screens to create
  13. #       idx     screen  emul
  14. # Screen 0 is already configured as console in most cases.
  15. #  Uncomment if a serial console is used.
  16. #screen 0       -       vt100
  17. screen  1       -       vt100
  18. screen  2       -       vt100
  19. screen  3       -       vt100
  20. screen  4       -       vt100
  21. #screen 4       80x25bf vt100
  22. # Note: You must uncomment the 'font    ibm' line above to get a useful
  23. #       font for any 50 line screens.
  24. screen  5       80x50   vt100

  25. keyboard        auto

  26. # Select a kernel builtin keyboard map by uncommenting the following line and
  27. # altering the country code to your requirements
  28. # (choose from user, us, uk, de, dk, it, fr, jp, sv, no, es, pt).
  29. # See wsconsctl(8), pckbd(4), ukbd(4) etc. for more details.
  30. encoding us

  31. # Redefine individual keys from a file containing "keysym" and/or "keycode"
  32. # entries.
  33. # See wsconsctl(8) for more details.
  34. #mapfile /usr/share/wscons/keymaps/pckbd.sv.svascii

复制代码


  1. #
  2. #       from: @(#)ttys  5.1 (Berkeley) 4/17/89
  3. #       $NetBSD: ttys,v 1.17 2003/10/04 07:41:12 dsl Exp $
  4. #
  5. # name  getty                           type    status          comments
  6. #
  7. console "/usr/libexec/getty Pc"         vt100   on secure
  8. ttyE0   "/usr/libexec/getty Pc"         vt220   off secure
  9. ttyE1   "/usr/libexec/getty Pc"         vt220   on secure
  10. ttyE2   "/usr/libexec/getty Pc"         vt220   on secure
  11. ttyE3   "/usr/libexec/getty Pc"         vt220   on secure
  12. ttyE4   "/usr/libexec/getty Pc"         vt220   on secure
  13. ttyE5   "/usr/libexec/getty Pc"         vt220   off secure
  14. tty00   "/usr/libexec/getty std.9600"   unknown off secure
  15. tty01   "/usr/libexec/getty std.9600"   unknown off secure
  16. tty02   "/usr/libexec/getty std.9600"   unknown off secure
  17. tty03   "/usr/libexec/getty std.9600"   unknown off secure
  18. tty04   "/usr/libexec/getty std.9600"   unknown off secure
  19. tty05   "/usr/libexec/getty std.9600"   unknown off secure
  20. tty06   "/usr/libexec/getty std.9600"   unknown off secure
  21. tty07   "/usr/libexec/getty std.9600"   unknown off secure
复制代码

如果把ttyE0设成off的话启动的时候怎么也登陆不进去,还会提示超时
而且,我后来装了XFCE4,不知道是不是被X占了ttyE0呢?
请高人指点       
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP