leftwm / leftwm-theme

A tool to help manage themes for LeftWM
BSD 3-Clause "New" or "Revised" License
117 stars 12 forks source link

Can't install theme - authentication required #46

Open j0ni opened 2 years ago

j0ni commented 2 years ago
[joni@tynan leftwm-theme]$ target/release/leftwm-theme install "Orange Forest"
Looking for theme . . .

Orange Forest could not be installed because "authentication required but no callback set"

 Theme not installed

Can install using sudo but of course it installs in /root/.config.

1) How to make it work unprivileged? 2) Maybe stop it installing anything in /root unless you confirm explicitly that you're planning to run a desktop as root?

mautamu commented 2 years ago

This appears to be an issue of leftwm-theme failing to prompt for authentication to SSH, rather than the computer-authentication itself. sudo is probably working because that option is not set: https://github.com/rust-lang/git2-rs/issues/463 https://github.com/rust-lang/git2-rs/issues/329

It is an interesting idea to add an additional check for root, however.