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

KeepassXC 2.5.4 on Ubuntu 18.04 from Snap can't execute xclip #4663

Closed
argvi opened this issue Apr 26, 2020 · 4 comments · Fixed by #4697
Closed

KeepassXC 2.5.4 on Ubuntu 18.04 from Snap can't execute xclip #4663

argvi opened this issue Apr 26, 2020 · 4 comments · Fixed by #4697

Comments

@argvi
Copy link
Contributor

argvi commented Apr 26, 2020

Overview

keepassxc.cli is unable to start xclip when attempting "keeppassxc.cli clip ...". was installed using apt, keepassxc is installed using snap. I believe it might have something to do with snap confinement.

Steps to Reproduce

  1. snap install keepassxc
  2. sudo apt install xclip
  3. keepassxc.cli clip <kdbx_path> <entry_path> <timeout>

Actual Behavior

"Unable to start program xclip"

Context

returned exit code is 1.

KeePassXC - Version 2.5.4
Revision: dcca5aa
Distribution: Snap

Qt 5.9.5
Debugging mode is disabled.

Operating system: Ubuntu Core 18
CPU architecture: x86_64
Kernel: linux 5.3.0-46-generic

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (signed and unsigned sharing)
  • YubiKey
  • Secret Service Integration

Cryptographic libraries:
libgcrypt 1.8.1

Operating System: Linux
Desktop Env: Gnome
Windowing System: X11

@argvi argvi added the bug label Apr 26, 2020
@droidmonkey
Copy link
Member

We would have to install xclip into our snap.

@txk2048
Copy link

txk2048 commented May 3, 2020

You could make the snap a "classic" snap which removes most of the confinement allowing it to execute xclip

@droidmonkey
Copy link
Member

That totally defeats the purpose of being a snap

@argvi
Copy link
Contributor Author

argvi commented May 3, 2020

We would have to install xclip into our snap.

I got it to work by adding xclip to parts.keepassxc.stage-packages and adding the x11 plug to apps.cli.plugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants