pcbsd吧 关注:160贴子:361
  • 4回复贴,共1

如何由文本模式返回图形界面模式?

只看楼主收藏回复

我按PCBSD官网提示修改 /etc/ttys文件中的
ttyv8 /usr/local/bin/kdm xterm on secure

ttyv8 /usr/local/bin/kdm xterm off secure
从图形界面进入了文本模式。
但是文本模式我一点都不会用(囧),请问我需要用什么命令重新开启图形界面?
谢谢先!


1楼2010-08-06 17:14回复
    我qq 693125042,初接触unix系统,望高手指点,不胜感激!!


    2楼2010-08-06 17:16
    回复
      返回成功,步骤如下:
      1) Type 'su' and press enter in text mode interface.
      3) Enter the root password - get into super user mode.
      4) Type 'cp /etc/ttys /etc/ttys-original' - This make a back up copy of the file 'ttys' in the folder '/etc' incase you stuff something up.
      5) Type 'edit /etc/ttys' - The file /etc/ttys is now open in the text editor.
      6) Use the down arrow key till you get to the line that says:
      tyv8 "/usr/local/bin/kdm" xterm off secure
      7) Change this line to say:
      tyv8 "/usr/local/bin/kdm" xterm on secure
      8) To exit this editor, hold down the CTRL key and press the '[' key (the left-square-bracket key)
      9) A dialogue box will open: Select 'a) leave editor' and select 'a) save changes' if you want to make your changes permanent (select 'b) no save' if you think you stuffed something up)
      10) Type 'reboot'.
      When reboot, X windows and KDM will start up automatically.


      3楼2010-08-06 19:19
      回复
        恭喜你自己解决了问题


        4楼2011-01-21 22:35
        回复
          呵呵,恭喜,search……


          IP属地:湖北5楼2012-04-11 18:52
          回复