Run startx, "The program 'startx 'is currently not installed. you can install it typing: sodu apt-get install xinit "Continue entering sodu apt-get install xinit, www.2cto.com" reading package lists... donebuilding dependency treereading state information... doneE: couldn't find package xinit "has such an error: first, because your computer is not connected to the Internet, and second, because your computer has no such short package as xinit. For the first point, refer to my previous article to connect to the wireless network through the command line. Second, you can use the apt-get update command to update the package first, after the update, you can install xinit. When executing apt-get install xinit, Chinese garbled characters are displayed. solution 1: learn English well .. set the environment variable to English .... (Don't smoke me ..) modify/etc/default/locale sudo vim/etc/default/locale1 modify the default LANG = zh_CN.UTF-8 LANGUAGE = zh_CN: zh
For: www.2cto.com LANG = "en_US.UTF-8" LANGUAGE = "en_US: en" disk to exit and then: sudo reboot and then env or locale to view the modified results can be... solution 2: This is what I want to talk about... install zhcon... enter sudo apt-get install zhcon in the terminal www.2cto.com or the command line ~ When running, remember to load the vgz driver and utf8 support; otherwise the screen will be black... in addition, running on the terminal only in the command line will cause errors. Therefore, your command should be zhcon -- utf8 -- drv = vga. If you want to input so much at a time, it will be too troublesome ~ /. Add an alias sudo vim ~ to bashrc ~ /. After bashrc is enabled, add a line of www.2cto.com alias zhcon = 'zhcon -- utf8 -- drv = vga 'to it to save and exit. Then, run zhcon directly after entering the command line to avoid black screen problems. zhcon supports Chinese characters. the display also supports Chinese input methods. Due to hot key conflicts, I only know that Ctrl + space can be used to switch to the full spelling input method. This solves the problem of Chinese directory/file name.