Was not able to run as root with kdesu nor after "sudo x -", the latter complaining about "yubikey-personalization-gui: cannot connect to X server"
In deps/libyubikey I ran ./configure ----with-udevrulesdir=... Should it produce the udev config files or should I rebuild too? I did not see them appear in the folder I indicated.
I did find the following files in deps/libyubikey and placed them in /etc/udev/rules.d:
69-yubikey.rulesQuote:
ACTION!="add|change", GOTO="yubico_end"
# Udev rules for letting the console user access the Yubikey USB
# device node, needed for challenge/response to work correctly.
# Yubico Yubikey II
ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010", \
ENV{ID_SECURITY_TOKEN}="1"
LABEL="yubico_end"
70-yubikey.rulesQuote:
# Udev rules for letting the console user access the Yubikey USB
# device node, needed for challenge/response to work correctly.
ACTION=="add|change", SUBSYSTEM=="usb", \
ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010", \
TEST=="/var/run/ConsoleKit/database", \
RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"
After a reboot I did not see any improvement.