-
Notifications
You must be signed in to change notification settings - Fork 85
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
Some CLI features require x11 #17
Comments
Looks like it is related to libsecret, which we use for storing directory secrets: https://stackoverflow.com/questions/52181225/git-with-libsecret-throws-cannot-autolaunch-d-bus-without-x11-display |
I installed libsecret but the Error remained. I could work around it with using xvfb but then gnome-keyring-daemon has some problems together with dbus. That was the point where I stopped and decided to take a look to other password management tools. I think you should write a secure cli tool which does not need a running X-Server Session or interactive input. I want to run the sync job within a docker container - without any human interaction needed. |
Have the same issue on CentOS 7 |
I have stumbled upon the same issue trying to dockerize the application using ubuntu/debian images. For me the solution was to install, export and launch dbus, as well as manually starting and unlocking the gnome-keyring-daemon afterwards:
Also, if you are trying to use a docker container, you ned to add
Hope this helps! |
You may be able to work around this using the suggestions from the Python keyring library. https://keyring.readthedocs.io/en/latest/#using-keyring-on-headless-linux-systems |
Any updates on this? |
I personally kind of work around this issue with this:
Yes it's a bit of overhead but what can we do. |
Hi @phrack, |
This is still an issue. |
Agreed that this is still an issue. I'd love to clear the label as the bot suggests, but I don't have the necessary privileges. |
This is still a major issue. |
This seems like a bug. On a headless Ubuntu 18.04 server if I try to run certain commands I get the following output:
"Cannot autolaunch D-Bus without X11 $DISPLAY"
Specifically I got this when trying to run
sync
andtest
. This is just a test install so I went ahead and installed a GUI to be able to complete what I was testing. It turns out that I didn't have a username/password configured. It seems however this message is displayed (perhaps the way it's set to be bold and red?) requires x11.This makes it hard to impossible to use the CLI feature on headless systems.
The text was updated successfully, but these errors were encountered: