Linux command
kmscon 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Start
sudo kmscon
Example
sudo kmscon --vt [/dev/ttyX]
Example
sudo kmscon --mouse
Example
sudo kmscon -l [command]
说明
kmscon is a terminal emulator that runs on the Linux console using the kernel mode setting (KMS) and framebuffer. It provides a modern terminal experience on TTYs without requiring X11. Unlike the traditional text-mode VT, kmscon uses the GPU framebuffer, enabling features like Unicode support, TrueType fonts, and hardware-accelerated rendering on virtual terminals.
参数
- --vt _TTY_
- Specify the virtual terminal to use
- --mouse
- Enable mouse support
- -l, --login _COMMAND_
- Specify the login command to execute
- --font-name _NAME_
- Set the font to use
- --font-size _SIZE_
- Set font size in points
FAQ
What is the kmscon command used for?
kmscon is a terminal emulator that runs on the Linux console using the kernel mode setting (KMS) and framebuffer. It provides a modern terminal experience on TTYs without requiring X11. Unlike the traditional text-mode VT, kmscon uses the GPU framebuffer, enabling features like Unicode support, TrueType fonts, and hardware-accelerated rendering on virtual terminals.
How do I run a basic kmscon example?
Run `sudo kmscon` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --vt _TTY_ do in kmscon?
Specify the virtual terminal to use