遇到用vnc-viewer连接,键盘Caps Lock和小键盘错位的问题,或者无法切换大小写
加入 -capslock -nomodtweak 参数
vim /etc/systemd/system/x11vnc.service
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -once -loop -noxdamage -repeat -rfbauth /home/rd/.vnc/passwd -rfbport 5900 -shared -capslock -nomodtweak
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable x11vnc.service
No Comments