Administrator
发布于 2026-03-02 / 3 阅读
0
0

Kali 升级版本后看不见鼠标的问题

cd /etc/X11
该目录是Linux 系统中 X Window System(X11) 的核心配置目录,X11 是 Linux 图形界面的底层基础

sudo nano xorg.conf  配置X11 服务器(Xorg)的主配置文件,用于定义显卡驱动、显示器分辨率、输入设备(鼠标 / 键盘)等核心参数

配置内容
Section "ServerLayout"
   Identifier "X.org Configured"
   InputDevice "Mouse0" "CorePointer"
   InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
   Identifier "Keyboard0"
   Driver "kbd"
EndSection
Section "InputDevice"
   Identifier "Mouse0"
   Driver "mouse"
   Option "Protocol" "auto"
   Option "Device" "/dev/input/mice"
   Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Device"
   Identifier "Card0"
   Driver "vmware"
   BusID "PCI:0:15:0"
   Option "HWcursor" "off"
EndSection

sudo reboot  重启kali


评论