You are not logged in.

#1 2025-06-28 17:26:37

FliegenderFisch
Member
Registered: 2025-06-28
Posts: 2

xinput: BadAccess (attempt to access private resource denied)

So, I (using i3wm with picom) wanted to change the Tapping Enabled Default property on my touchpad to 1. Changing the tapping enabled to 1 was possible, but when trying to change Tapping enabled default to 1, I got the following error:

X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  21
  Current serial number in output stream:  22

(command I used: xinput set-prop 11 307 1)

trying it with sudo didn't help

here is my xinput list-props 11:

Device 'SYNA3602:00 0911:5288 Touchpad':
	Device Enabled (171):	1
	Coordinate Transformation Matrix (173):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Tapping Enabled (335):	1
	libinput Tapping Enabled Default (336):	0
	libinput Tapping Drag Enabled (337):	1
	libinput Tapping Drag Enabled Default (338):	1
	libinput Tapping Drag Lock Enabled (339):	0
	libinput Tapping Drag Lock Enabled Default (340):	0
	libinput Tapping Button Mapping Enabled (341):	1, 0
	libinput Tapping Button Mapping Default (342):	1, 0
	libinput Natural Scrolling Enabled (306):	1
	libinput Natural Scrolling Enabled Default (307):	0
	libinput Disable While Typing Enabled (343):	1
	libinput Disable While Typing Enabled Default (344):	1
	libinput Scroll Methods Available (308):	1, 1, 0
	libinput Scroll Method Enabled (309):	1, 0, 0
	libinput Scroll Method Enabled Default (310):	1, 0, 0
	libinput Click Methods Available (345):	1, 1
	libinput Click Method Enabled (346):	1, 0
	libinput Click Method Enabled Default (347):	1, 0
	libinput Clickfinger Button Mapping Enabled (348):	1, 0
	libinput Clickfinger Button Mapping Default (349):	1, 0
	libinput Middle Emulation Enabled (315):	0
	libinput Middle Emulation Enabled Default (316):	0
	libinput Accel Speed (317):	0.000000
	libinput Accel Speed Default (318):	0.000000
	libinput Accel Profiles Available (319):	1, 1, 1
	libinput Accel Profile Enabled (320):	1, 0, 0
	libinput Accel Profile Enabled Default (321):	1, 0, 0
	libinput Accel Custom Fallback Points (322):	<no items>
	libinput Accel Custom Fallback Step (323):	0.000000
	libinput Accel Custom Motion Points (324):	<no items>
	libinput Accel Custom Motion Step (325):	0.000000
	libinput Accel Custom Scroll Points (326):	<no items>
	libinput Accel Custom Scroll Step (327):	0.000000
	libinput Left Handed Enabled (328):	0
	libinput Left Handed Enabled Default (329):	0
	libinput Send Events Modes Available (291):	1, 1
	libinput Send Events Mode Enabled (292):	0, 0
	libinput Send Events Mode Enabled Default (293):	0, 0
	Device Node (294):	"/dev/input/event8"
	Device Product ID (295):	2321, 21128
	libinput Drag Lock Buttons (330):	<no items>
	libinput Horizontal Scroll Enabled (331):	1
	libinput Scrolling Pixel Distance (332):	15
	libinput Scrolling Pixel Distance Default (333):	15
	libinput High Resolution Wheel Scroll Enabled (334):	1

And here is my xinput list:

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Glorious Model I                        	id=9	[slave  pointer  (2)]
⎜   ↳ Glorious Model I Keyboard               	id=10	[slave  pointer  (2)]
⎜   ↳ SYNA3602:00 0911:5288 Touchpad          	id=11	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=12	[slave  keyboard (3)]
    ↳ Glorious Model I Keyboard               	id=13	[slave  keyboard (3)]

I tried to do:

xhost +SI:localuser:root
sudo DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xinput set-prop 11 307 1

(ChatGPT told me to do so, but as always it didn't work)

Last edited by FliegenderFisch (2025-06-28 17:27:34)

Offline

#2 2025-06-28 19:14:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,714

Re: xinput: BadAccess (attempt to access private resource denied)

command I used: xinput set-prop 11 307 1

	libinput Natural Scrolling Enabled Default (307):	0

I doubt that you can alter the default.

Changing the tapping enabled to 1 was possible, but when trying to change Tapping enabled default to 1

libinput Tapping Enabled Default (336):    0

And that will likewise not work.
https://man.archlinux.org/man/extra/xf8 … #Option~29
https://wiki.archlinux.org/title/Libinp … re-mapping

ChatGPT told me to do so

To nobodies surprise the LLM is full of shit again.
Don't do this.
https://man.archlinux.org/man/xhost.1

trying it with sudo

wasn't a good idea either - rule of thumb: altering "your" X11 server will not require UID0 permissions. Mindlessly throwing sudo at stuff however bears the risk to fill your $HOME w/ root owned config files that will lead to further errors.

Sidebar

using i3wm with picom

Assuming that also includes startx/xinit make sure to see the last link below and that your xinitrc sources the session integration scripts.

Offline

#3 2025-06-29 08:52:43

FliegenderFisch
Member
Registered: 2025-06-28
Posts: 2

Re: xinput: BadAccess (attempt to access private resource denied)

And that will likewise not work

it did work tho

Offline

#4 2025-06-29 09:02:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,714

Re: xinput: BadAccess (attempt to access private resource denied)

You can "xinput set-prop 11 336 1" ?
"xinput set-prop 11 335 1" will however work.

Offline

Board footer

Powered by FluxBB