input-remapper icon indicating copy to clipboard operation
input-remapper copied to clipboard

Gentoo: ERROR input-remapper-gtk:50: Failed to pkexec the reader-service

Open xoores opened this issue 6 months ago • 0 comments

I'm trying to get input-remapper working under Gentoo and it seems that it requires Polkit for some reason?

Is there a way to run this without having to deal witk polkit? I don't have it configured on my system as I don't use it (I don't have systemd). I tried to start the GUI as both root and user to no avail.

I use sudo in place of pkexec if I need to have that functionality :slightly_smiling_face:

input-remapper-gtk -d                                   
21:48:58.401271 31759 GUI DEBUG logger.py:297: Using rich.traceback
21:48:58.401322 31759 GUI INFO logger.py:265: input-remapper-gtk 2.0.1  https://github.com/sezanzeb/input-remapper
21:48:58.401379 31759 GUI INFO logger.py:273: python-evdev 1.7.1
21:48:58.401400 31759 GUI WARNING logger.py:276: Debug level will log all your keystrokes! Do not post this output in the internet if you typed in sensitive or private information with your device!
21:48:58.401423 31759 GUI DEBUG input-remapper-gtk:67: Using locale directory: /usr/share/input-remapper/lang
21:48:58.412449 31759 GUI DEBUG global_uinputs.py:135: Creating FrontendUInputs
21:48:58.412505 31759 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard"
21:48:58.412552 31759 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper gamepad"
21:48:58.412580 31759 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper mouse"
21:48:58.412606 31759 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard + mouse"
21:48:58.412741 31759 GUI DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-xoores/reader-results"
21:48:58.412845 31759 GUI DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-xoores/reader-commands"
21:48:58.412927 31759 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.terminate: <function ReaderClient.attach_to_events.<locals>.<lambda> at 0x7f37c305ce00>
21:48:58.413120 31759 GUI DEBUG reader_service.py:144: Running `pkexec input-remapper-control --command start-reader-service -d`
Error checking for authorization inputremapper: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code4: Failed to open file ?/proc/31759/status?: No such file or directory
21:48:58.433707 31759 GUI ERROR input-remapper-gtk:50: Failed to pkexec the reader-service, code 32512

xoores avatar Aug 16 '24 19:08 xoores