H-M-H / Weylus

Use your tablet as graphic tablet/touch screen on your computer.
Other
6.63k stars 260 forks source link

Does not work on kali linux #240

Open tct123 opened 10 months ago

tct123 commented 10 months ago

Hello, if I am trying to connect My Tablet to Weylus, it shows the "Weylus - UInput unaccsessable" Window.

Windowcontent:

Weylus uses the uinput interface to simulate input events on Linux. To enable stylus and multi-touch support /dev/uinput needs to be writable by Weylus. To make /dev/uinput permanently writable by your user, run the following inside a terminal:

sudo groupadd -r uinput
sudo usermod -aG uinput $USER
echo 'KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"' | sudo tee /etc/udev/rules.d/60-weylus.rules

Then, either reboot, or run

sudo udevadm control --reload
sudo udevadm trigger

then log out and log in again. To undo this, run:

sudo rm /etc/udev/rules.d/60-weylus.rules

This allows your user to synthesize input events system-wide, even when another user is logged in. Therefore, untrusted users should not be added to the uinput group.

If you do not want to make use of this feature uncheck "Enable uinput" in your browser. Like this Weylus will only simulate a mouse.

I already did this steps. How can I fix this? OS : Kali Linux Kernel: 6.4.0-kali3-amd64

Diordany commented 10 months ago

Just to make sure, you didn't run the sudo rm /etc/udev/rules.d/60-weylus.rules step right? Because it undoes the setup.