-
Notifications
You must be signed in to change notification settings - Fork 1
Known Issues
If you get the message "No protocol specified" when starting the daemon as a service then you need to add root to the list of trusted users of the x server. This needs to be done so that the daemon can access the master keyboard.
You can test if this is the case by issuing the following command and then restarting the daemon.
xhost local:root
If the error disappears then you need to make the .AUTHORITY (which is usually in your home directory) file containing the MIT-MAGIC-COOKIE readable to the root user.
You then need to export the XAUTHORITY environment variable like this before the daemon starts.
export XAUTHORITY=/home/<username>/.Xauthority
If you use systemd you can add the following line to the duckydd service file in the "[Service]" section.
[Service]
Environment="XAUTHORITY=/home/<username>/.Xauthority"