Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install theme - authentication required #46

Open
j0ni opened this issue Jan 9, 2022 · 1 comment
Open

Can't install theme - authentication required #46

j0ni opened this issue Jan 9, 2022 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed pri-med

Comments

@j0ni
Copy link

j0ni commented Jan 9, 2022

[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
Copy link
Member

mautamu commented Jan 10, 2022

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:
rust-lang/git2-rs#463
rust-lang/git2-rs#329

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

@mautamu mautamu added bug Something isn't working help wanted Extra attention is needed pri-med labels Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed pri-med
Projects
None yet
Development

No branches or pull requests

2 participants