Как совместить курсор мыши gpm с графическим курсором мыши в средстве просмотра spice (QEMU VM)?

У вас есть доступ к iptables, я смутно помню, что есть у Synology NAS? Если это так, вы можете добавить перенаправление с помощью этого:-

iptables -I INPUT 1 -p tcp --dport 53 -j ACCEPT
iptables -I INPUT 1 -p tcp --dport 7000 -j ACCEPT
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 53 -j REDIRECT --to-port 7000

Строка 1 добавляет открытие к порту 53. Строка 2 добавляет открытие к порту 7000, который вы должны настроить для использования в своем приложении Java. Строка 3 добавляет перенаправление, при котором любой трафик, входящий через порт 53, направляется на порт 7000.

1
06.09.2019, 20:59
1 ответ

Я нашел это на вики-странице ArchLinux(Последнее редактирование: 27 апреля 2020 г.)

QEMU or VirtualBox

The default mouse emulated by QEMU and VirtualBox has severe problems in both gpm and x with positioning and clicking. The position becomes unsynchronized with the host, so there are areas that can't be hovered over without repeatedly exiting and re-entering the window. Clicks register in a different location than the cursor was showing at.

Both QEMU and VirtualBox solve this problem by providing emulation for a USB tablet, which gives absolute positioning. (libvirt uses this automatically.) However, the gpm only knows how to use the emulated mouse in relative positioning mode, so these problems remain.

Далее в статье предлагаются некоторые решения. Его можно найти здесь .

0
21.11.2020, 17:40

Теги

Похожие вопросы